Skip to content

Commit

Permalink
konveyor#392 Suppress color output of Maven
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Aschemann <gerd@aschemann.net>
  • Loading branch information
ascheman committed Nov 1, 2023
1 parent 1276ff1 commit b7ba26d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions provider/internal/java/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ func (p *javaServiceClient) GetDependenciesDAG(ctx context.Context) (map[uri.URI
moddir := filepath.Dir(path)

args := []string{
"-B",
"dependency:tree",
"-Djava.net.useSystemProxies=true",
}
Expand Down
1 change: 1 addition & 0 deletions provider/internal/java/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func resolveSourcesJars(ctx context.Context, log logr.Logger, location, mavenSet
}

args := []string{
"-B",
"dependency:sources",
"-Djava.net.useSystemProxies=true",
}
Expand Down

0 comments on commit b7ba26d

Please sign in to comment.