mojohaus / mojohaus/exec-maven-plugin

need classpathDependencyExcludes support

Open
#68 1 comment 2 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.