slawekjaranowski commented on code in PR #43:
URL: https://github.com/apache/maven-verifier/pull/43#discussion_r967890214


##########
src/main/java/org/apache/maven/shared/verifier/Verifier.java:
##########
@@ -1263,12 +1301,25 @@ public void executeGoals( List<String> goals, 
Map<String, String> envVars )
             args.add( "-Dmaven.repo.local=" + localRepo );
         }
 
-        args.addAll( allGoals );
+        if ( autoclean )
+        {
+            /*
+             * NOTE: Neither test lifecycle binding nor prefix resolution here 
but call the goal directly.
+             */
+            args.add( "org.apache.maven.plugins:maven-clean-plugin:clean" );

Review Comment:
   ok, try with constant ....



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to