diff --git a/src/MooseNexus-Tests/NexusMavenProjectParameterizedTest.class.st b/src/MooseNexus-Tests/NexusMavenProjectParameterizedTest.class.st index 58a0b35..466221a 100644 --- a/src/MooseNexus-Tests/NexusMavenProjectParameterizedTest.class.st +++ b/src/MooseNexus-Tests/NexusMavenProjectParameterizedTest.class.st @@ -32,7 +32,7 @@ NexusMavenProjectParameterizedTest class >> case1 [ [INFO] from pom.xml [INFO] -------------------------------[ compile ]------------------------------- [INFO] -[INFO] --- dependency:0.0.0:list (default-cli) @ test1 --- +[INFO] --- dependency:0.0.0:resolve (default-cli) @ test1 --- [INFO] [INFO] The following files have been resolved: [INFO] none @@ -65,14 +65,14 @@ NexusMavenProjectParameterizedTest class >> case2 [ version := '2.0.1'. language := 'java'. - "result of the `mvn dependency:list` command" + "result of the `mvn dependency:resolve` command" mavenOutput := ' [INFO] ---------------------< org.moose:test2 >---------------------- [INFO] Building ''Nother Moose Nexus Test2 2.0.1 [1/1] [INFO] from pom.xml [INFO] -------------------------------[ compile ]------------------------------- [INFO] -[INFO] --- dependency:0.0.0:list (default-cli) @ test2 --- +[INFO] --- dependency:0.0.0:resolve (default-cli) @ test2 --- [INFO] [INFO] The following files have been resolved: [INFO] org.moose:fame:jar:1.1:compile diff --git a/src/MooseNexus/NexusMavenProject.class.st b/src/MooseNexus/NexusMavenProject.class.st index 2495b12..1004dee 100644 --- a/src/MooseNexus/NexusMavenProject.class.st +++ b/src/MooseNexus/NexusMavenProject.class.st @@ -57,7 +57,7 @@ NexusMavenProject >> parse: raw [ [INFO] from `path/`pom.xml [INFO] -------------------------------[ `type` ]------------------------------- [INFO] -[INFO] --- dependency:`pluginVersion`:list (default-cli) @ `name` --- +[INFO] --- dependency:`pluginVersion`:resolve (default-cli) @ `name` --- [INFO] [INFO] The following files have been resolved: [INFO] `none | (group:name:type:version:scope)+`" @@ -112,10 +112,10 @@ NexusMavenProject >> parse: raw [ { #category : 'private' } NexusMavenProject >> read [ - "Runs the `mvn` command using the `dependency:list` plugin. + "Runs the `mvn` command using the `dependency:resolve` plugin. Requires Maven to be installed." - ^ LibC resultOfCommand: 'cd ' , directory , ' && mvn dependency:list' + ^ LibC resultOfCommand: 'cd ' , directory , ' && mvn dependency:resolve' ] { #category : 'private' }