Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
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>