I found some odd behavior between the maven-bundle-plugin's versions, and I
couldn't find anything in the FAQ mentioning it.
If I use version 2.2.0 of the maven-bundle-plugin (group org.apache.felix)
and run 'mvn package', and there is an "<Import-Package>" declared in my
pom.xml, I get an error if there are unresolved references:
"Error building bundle org.mycompany:org.mycompany.stuff:1.1.0-SNAPSHOT :
Unresolved references to [javax.swing.event, ..."
This is desirable behavior, because I know before the bundle is made and
deployed that there are unresolved references.
Somewhere between version 2.2.0 and version 2.4.0 of the
maven-bundle-plugin, the behavior is changed, and no error is displayed
when there are unresolved references in my source (.java) files.
If I'm using the latest version of the maven-bundle-plugin, how can I
configure the plugin so that an error message is displayed if there are
unresolved references when I run 'mvn package'?

Reply via email to