Skip to content

Commit

Permalink
fix: use mavenArgs from inputs when constructing MavenRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle Dekker authored and Jelle Dekker committed Mar 8, 2023
1 parent 72bdd87 commit 7ca2245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snapshot-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function getDetector() {

export async function generateDependencyGraph(directory: string, config?: MavenConfiguration): Promise<Depgraph> {
try {
const mvn = new MavenRunner(directory, config?.settingsFile, config?.ignoreMavenWrapper);
const mvn = new MavenRunner(directory, config?.settingsFile, config?.ignoreMavenWrapper, config?.mavenArgs);

core.startGroup('depgraph-maven-plugin:reactor');
const mavenReactorArguments = [
Expand Down

0 comments on commit 7ca2245

Please sign in to comment.