Skip to content

Commit

Permalink
fix: skip test-compile when run with Dverbose
Browse files Browse the repository at this point in the history
  • Loading branch information
orsagie committed Jan 16, 2025
1 parent 6fe352d commit c32e091
Show file tree
Hide file tree
Showing 5 changed files with 277 additions and 256 deletions.
3 changes: 2 additions & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ export function buildArgs(
) {
let args: string[] = [];

if (mavenAggregateProject) {
if (mavenAggregateProject && !verboseEnabled) {
// to workaround an issue in maven-dependency-tree plugin
// when unpublished artifacts do not exist in either a local or remote repository
// see https://stackoverflow.com/questions/1677473/maven-doesnt-recognize-sibling-modules-when-running-mvn-dependencytree
// addendum: if verboseEnabled we are already forcing a newer maven-dependency-plugin, so this is not required
args = args.concat('test-compile');
}

Expand Down
Loading

0 comments on commit c32e091

Please sign in to comment.