PDA

View Full Version : Bundlor 'manifest' goal is gone?



jsbournival
Jan 14th, 2010, 06:53 PM
Hi, I tried RC1 today with a maven project, it works just fine.

The thing is that it only generates the manifest file in the output directory (which seem to be the default according to the documentation). Now my problem is that my project is in eclipse, it has the OSGi bundle nature, and requires a Manifest.mf under META-INF/.

Now, in the previous versions/milestones, I would have called the 'manifest' goal after bundlor finished doing its thing. Like that:


<plugin>
<groupId>com.springsource.bundlor</groupId>
<artifactId>com.springsource.bundlor.maven</artifactId>
<version>1.0.0.M5</version>
<configuration>
<failOnWarnings>false</failOnWarnings>
<removeNullHeaders>true</removeNullHeaders>
<outputManifest>${basedir}/META-INF/MANIFEST.MF</outputManifest>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>package</phase>
<goals>
<goal>manifest</goal>
<goal>transform</goal>
</goals>
</execution>
</executions>
</plugin>

Now bundlor seem to have only one goal, which outputs one Manifest, in ${project.build.outputDirectory}. Is that so? Do I have to copy it with some ant execution commands? How do people deal with this reality?

Thanks for your answers.

JS.

blahb
Apr 30th, 2010, 08:45 PM
New documentation for the 1.0.0.RELEASE version of the plugin is available here:
http://static.springsource.org/s2-bundlor/1.0.x/user-guide/htmlsingle/user-guide.html#usage.maven