Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Binding artifacts built with maven-bundle-plugin
Binding artifacts built with maven-bundle-plugin [message #1691519] Tue, 07 April 2015 18:53
Oliver Normann is currently offline Oliver NormannFriend
Messages: 8
Registered: January 2010
Location: Berlin
Junior Member

I'm trying bind some maven artifacts to a plugin. I've created a Buckminster CSPEX and defined the dependencies. When i "Resolve to Wizard" the dependency tree is correct. As soon as i'm going to materialze, Buckminster tries to download the artifacts using a ".bundle" file extension.

The artifacts to download are OSGi bundles created with the maven-bundle-plugin and have the packaging type "bundle" specified. I assume Buckminster "looks" into the POM and uses the packaging type as file extension, but what i need is "jar".



<!-- Fetching 2.0.4-SNAPSHOT using [2.0.3,2.0.4] -->
<cs:dependency name="com.pany/component" componentType="maven" versionDesignator="[2.0.3,2.0.4]" versionType="Triplet"/>
<cs:public name="buckminster.prebind" actor="ant">
<cs:property key="buildFile" value="build/prebind.xml"/>
<cs:attribute name="java.binary.archives" component="com.pany/component" alias="component"/>


<target name="buckminster.prebind">
<mkdir dir="${sp:output}" />
<echo message="Copying ${sp:component} to folder ${sp:output}." />
<copy file="${sp:component}" tofile="${sp:output}/component.jar" />

Buckminster tries to download "component-2.0.4.bundle", but should instead download "component-2.0.4.jar".


[Updated on: Tue, 07 April 2015 19:10]

Report message to a moderator

Previous Topic:Tern IDE 0.8.0 - cannot perform operation
Next Topic:Excluding Jars from signing
Goto Forum:

Current Time: Thu Jun 20 09:04:48 GMT 2024

Powered by FUDForum. Page generated in 0.03590 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top