exec-maven-plugin icon indicating copy to clipboard operation
exec-maven-plugin copied to clipboard

need classpathDependencyExcludes support

Open pramodanarase opened this issue 9 years ago • 1 comments

Why required When we enable "includeProjectDependencies" , the classpath build with all dependency. In our case we need to exclude sub-module dependency but require transitive dependency of that module.

Reference maven-surefire-plugin(http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#classpathDependencyExcludes).

How to implement List of dependencies to exclude from the classpath. Each dependency string must follow the format groupId:artifactId. For example: org.acme:project-a

<classpathDependencyExcludes>
   <classpathDependencyExclude>org.acme:project-a</classpathDependencyExclude>
</classpathDependencyExcludes>

pramodanarase avatar Nov 14 '16 07:11 pramodanarase

would be very nice to have this feature!

maffeis avatar Aug 30 '18 10:08 maffeis