mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
formatting fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27881 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
605741f9db
commit
a9a0b7660e
1 file changed
+4
-5
@@ -796,7 +796,7 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
private final Properties properties;
|
||||
private final String privateRepository;
|
||||
private final String alternateSettings;
|
||||
private final boolean nonRecursive;
|
||||
private final boolean nonRecursive;
|
||||
|
||||
public PomParser(BuildListener listener, MavenInstallation mavenHome, MavenModuleSet project) {
|
||||
// project cannot be shipped to the remote JVM, so all the relevant properties need to be captured now.
|
||||
@@ -805,11 +805,10 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
this.rootPOM = project.getRootPOM();
|
||||
this.profiles = project.getProfiles();
|
||||
this.properties = project.getMavenProperties();
|
||||
this.nonRecursive = project.isNonRecursive();
|
||||
if (project.usesPrivateRepository()) {
|
||||
this.nonRecursive = project.isNonRecursive();
|
||||
if (project.usesPrivateRepository()) {
|
||||
this.privateRepository = project.getLastBuild().getWorkspace().child(".repository").getRemote();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this.privateRepository = null;
|
||||
}
|
||||
this.alternateSettings = project.getAlternateSettings();
|
||||
|
||||
Reference in new issue
Block a user