Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-241

Goal analyze-classes: Dependencies with type "bundle" not correctly considered

    XMLWordPrintableJSON

Details

    Description

      The goal analyze-classes only evaluates dependencies of type "jar" (https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/trunk/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/ImportPackageBuilder.java#L150). This is not correct as even type "bundle" (being supported through the maven-bundle-plugin) contains OSGi bundles.

      That leads to the fact that the version cannot be determined for dependencies towards packages from bundle type dependencies.

      Also I am wondering why only dependencies with scope "provided" or "runtime" should be considered. Very often dependencies are having the default scope only (i.e. compile) which should not cause any issues.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: