mojohaus / mojohaus/exec-maven-plugin
need classpathDependencyExcludes support
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 191
- Forks
- 111
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
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>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing includeProjectDependencies handling and the plugin's parameter definitions. Add the classpathDependencyExcludes configuration described in the issue, then verify that a listed groupId:artifactId is excluded while its transitive dependencies remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100