Hi,

I am trying to use maven-bundle-plugin v1.4.0. I prepare a bundle (say bundle.jar) which inlines the contents of another jar type artifact called javax.faces:jsf-impl. There is a resource called META-INF/services/com.sun.faces.spi.injectionprovider which is present both in the jsf-impl.jar as well in current project's src/main/resources area. I want to package the one that's in our workspace. So, I configured the plugin like this:

<configuration>
   <Embed-Dependency>
   *;groupId=javax.faces;artifactId=jsf-impl;inline=true
   </Embed-Dependency>
<!-- Package everything from the embedded jar in the
      final bundle except the following file which
      we maintain in our src/main/resources dir:
      META-INF/services/com.sun.faces.spi.injectionprovider
   -->
   <_exportcontents>
    !META-INF/services/com.sun.faces.spi.injectionprovider,*
   </_exportcontents>
</configuration>

Yet, I see the resource that is being packaged in the bundle is the one from jsf-impl.jar and not from target/classes/... area. What am I doing wrong?

Thanks,
Sahoo

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

Reply via email to