Goal bundleall breaks for optional dependencies with a scope.
--------------------------------------------------------------
Key: FELIX-2856
URL: https://issues.apache.org/jira/browse/FELIX-2856
Project: Felix
Issue Type: Improvement
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-2.3.4
Reporter: Odd Vinje
A lot of code changes have been commited to
bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java, but
relevant changes have not been refelected in BundleAllPlugin.java. Maybe the
two classes need delegation/refactoring.
Example:
Goal bundleall now breaks for optional dependencies with a scope. This is
handled in bundle goal:
if( artifact.isOptional() ) {
String id = artifact.toString();
if( artifact.getScope()!=null ) {
// strip the scope...
id = id.replaceFirst(":[^:]*$", "");
}
optionalArtifactIds.add(id);
}
but not in bundleall...
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira