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

auto-import package analyzer needs option to exclude compiletime bundles

    XMLWordPrintableJSON

Details

    Description

      the classpath analyzer uses the compile scoped dependencies of the project, which might include the ones from the parent project and transitive dependencies. choosing the correct set of libraries is a bit tricky, and it should be possible to exclude the ones that are not required.

      suggest to add new property:

      • excludedLibraries comma separated string of partial maven coordinates of libraries to ignored in the import package analyzer.

      example:

      <plugin>
          <groupId>org.apache.jackrabbit</groupId>
          <artifactId>filevault-package-maven-plugin</artifactId>
          <extensions>true</extensions>
          <configuration>
              <excludedLibraries>
                  org.osgi:org.osgi.service.component.annotations,
                  org.osgi:org.osgi.service.metatype.annotations,
                  org.osgi:osgi.annotation
              </excludedLibraries>
          </configuration>
      </plugin>
      

      Attachments

        Activity

          People

            tripod Tobias Bocanegra
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: