Not sure who maintains the documentation for the bundle plugin, but I'd like to 
suggest the following addition to
http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

In the 'Adding OSGi metadata to existing projects without changing the 
packaging type' section, the 2nd example pom extract applies to war files.  As 
it is the bundle plugin creates a MANIFEST.MF file, but it is placed within the 
classes directory of your war file, i.e.  /WEB-INF/classes/META-INF/MANIFEST.MF

To get it in /META-INF/MANIFEST.MF you also need the following in your pom.

<plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.3</version>
                <configuration>
                    <archive>
                        
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                    </archive>
                </configuration>
</plugin>

Thanks,
Darren


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to