Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2856

Goal bundleall breaks for optional dependencies with a scope.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • maven-bundle-plugin-2.3.4
    • None
    • Maven Bundle Plugin

    Description

      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...

      Attachments

        Activity

          People

            Unassigned Unassigned
            odvinje Odd Vinje
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: