project_maven: allow to set private repository

The values map to these GUI choices

 * default            -> Default
 * local-to-executor  -> Local to the executor
 * local-to-workspace -> Local to the workspace

This is on the project level what the similar option is on the builder
level.

Change-Id: I90ee3385ee12a46b5ab1eb26e3af1bdbfc36946a
This commit is contained in:
Guido Günther
2014-01-27 23:17:04 +01:00
parent b0bd8e029e
commit 04052d8769
3 changed files with 26 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<maven2-moduleset>
<goals>deploy</goals>
<localRepository class="hudson.maven.local_repo.PerJobLocalRepositoryLocator"/>
<ignoreUpstremChanges>true</ignoreUpstremChanges>
<rootPOM>pom.xml</rootPOM>
<aggregatorStyleBuild>true</aggregatorStyleBuild>

View File

@@ -2,3 +2,4 @@ project-type: maven
maven:
root-pom: pom.xml
goals: deploy
private-repository: local-to-workspace