mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
a small code simplification
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19451 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
1bdbdbb398
commit
f6e9363491
3 files changed
+9
-4
No files matched your search
@@ -360,8 +360,7 @@ public final class MavenModuleSetBuild extends AbstractBuild<MavenModuleSet,Mave
|
||||
ProcessCache.MavenProcess process = MavenBuild.mavenProcessCache.get(launcher.getChannel(), slistener,
|
||||
new MavenProcessFactory(project,launcher,envVars,pom.getParent()));
|
||||
|
||||
ArgumentListBuilder margs = new ArgumentListBuilder();
|
||||
margs.add("-B").add("-f", pom.getRemote());
|
||||
ArgumentListBuilder margs = new ArgumentListBuilder().add("-B").add("-f", pom.getRemote());
|
||||
if(project.usesPrivateRepository())
|
||||
margs.add("-Dmaven.repo.local="+project.getWorkspace().child(".repository"));
|
||||
margs.addTokenized(envVars.expand(project.getGoals()));
|
||||
|
||||
Reference in new issue
Block a user