On 6 Jun 2012, at 22:08, Kasper Nielsen wrote: > Hi, > > I'm trying to use the felix plugin to generate a manifest for a maven > shaded jar. > However I'm a bit lost since I never compile anything to > target/classes. The maven shade plugin just creates a new jar > combining all my dependencies. > >> mvn org.apache.felix:maven-bundle-plugin:manifest
^ note: here you're running a single goal outside of the project lifecycle so the project has no attached file, and as there is no target/classes either it doesn't have anything to analyze If you add the manifest goal as an execution in the pom.xml so it runs after the shade plugin then it should find the attached shaded jar and produce a manifest for that: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Plugins > just fails with > > Failed to execute goal > org.apache.felix:maven-bundle-plugin:2.3.7:manifest (default-cli) on > project test-felix: Cannot find C:\test\test-felix\target\classes > (manifest goal must be run after compile phase) -> [Help 1] > > Cheers > Kasper > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

