Simple Here is the felix plugin in maven pom.xml:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.5.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>xyz</Bundle-SymbolicName> <Export-Package>tutorial.simplerouter</Export-Package> </instructions> </configuration> </plugin> </plugins> </build>`
and it does not generate the MANIFEST.MF file properly:
Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: rb Build-Jdk: 1.6.0_35
Above the generated manifest.mf, which is incorrect.
Please tell me why.
source share