You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/09/11 21:25:23 UTC
[GitHub] [maven-verifier] slawekjaranowski commented on a diff in pull request #43: [MSHARED-1128] Introduce execute method and deprecate executeGoal(s)
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org