Hi,

I'm using the felix-maven-plugin in a pom with attached artefacts.

Although it generates the expected artefacts (${pom.artefactId}-${pom.version}-boot.jar and artefactId-version-cli.jar), it unconditionally sets the Bundle-Version to ${pom.version}-boot and ${pom.version}.cli respectively, which cannot be over-ridden by adding an explicit instruction to set the Bundle-Version.

This is not the behaviour I want, as both attached artefacts must have the same version as the pom, not modified by the classifier.

Is this the behaviour intended, or is it a bug?

Thanks,

Derek


<build>
 <plugins>
   <plugin>
     <groupId>org.apache.felix</groupId>
     <artifactId>maven-bundle-plugin</artifactId>
     <extensions>true</extensions>
     <executions>

       <execution>
         <id>boot</id>
         <phase>package</phase>
         <goals>
           <goal>bundle</goal>
         </goals>
         <configuration>
           <classifier>boot</classifier>
           <instructions>
             <_include>bld-boot.bnd</_include>
           </instructions>
         </configuration>
         </execution>

         <execution>
           <id>cli</id>
           <phase>package</phase>
           <goals>
             <goal>bundle</goal>
           </goals>
           <configuration>
             <classifier>cli</classifier>
             <instructions>
               <_include>bld-cli.bnd</_include>
             </instructions>
           </configuration>
         </execution>

       </executions>
   </plugin>
 </plugins>
</build>



__________________________________________________

This email has been virus scanned by Message Labs.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to