Repository: archiva
Updated Branches:
  refs/heads/master 649b915e8 -> ee68fc78f


to help travis build


Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/e05ec3d0
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/e05ec3d0
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/e05ec3d0

Branch: refs/heads/master
Commit: e05ec3d0f365f2978292cafd5d20d177969d9bc6
Parents: 649b915
Author: Olivier Lamy <[email protected]>
Authored: Wed Oct 7 14:26:31 2015 +1100
Committer: Olivier Lamy <[email protected]>
Committed: Wed Oct 7 14:26:31 2015 +1100

----------------------------------------------------------------------
 .../archiva-consumer-archetype/pom.xml          | 38 +++++++-
 .../src/test/ci-test-settings.xml               | 98 ++++++++++++++++++++
 2 files changed, 131 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/archiva/blob/e05ec3d0/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml
----------------------------------------------------------------------
diff --git 
a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml
 
b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml
index a680b22..0d5a75c 100644
--- 
a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml
+++ 
b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml
@@ -122,12 +122,40 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-archetype-plugin</artifactId>
         <version>${archetypeVersion}</version>
-        <configuration>
-          <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
-          
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
-
-        </configuration>
       </plugin>
     </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-archetype-plugin</artifactId>
+          <version>${archetypeVersion}</version>
+          <configuration>
+            <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
+            
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
+  <profiles>
+    <profile>
+      <id>ci-build</id>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-archetype-plugin</artifactId>
+              <version>${archetypeVersion}</version>
+              <configuration>
+                
<settingsFile>${basedir}/src/test/ci-test-settings.xml</settingsFile>
+                
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+  </profiles>
 </project>

http://git-wip-us.apache.org/repos/asf/archiva/blob/e05ec3d0/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/ci-test-settings.xml
----------------------------------------------------------------------
diff --git 
a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/ci-test-settings.xml
 
b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/ci-test-settings.xml
new file mode 100644
index 0000000..fcbb364
--- /dev/null
+++ 
b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/ci-test-settings.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 
http://maven.apache.org/xsd/settings-1.0.0.xsd";
+  xmlns="http://maven.apache.org/SETTINGS/1.0.0";>
+  <mirrors>
+    <mirror>
+      <mirrorOf>external:*,!central</mirrorOf>
+      <id>local-mirror</id>
+      <name>local-mirror</name>
+      <url>@localRepositoryUrl@</url>
+    </mirror>
+  </mirrors>
+  <profiles>
+    <profile>
+      <id>it-repo</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <repositories>
+        <!--
+        Uncomment if you have some redback librairies staged and want to cut a 
release
+        <repository>
+          <id>archiva-repository.apache.org.stage</id>
+          
<url>https://archiva-repository.apache.org/archiva/repository/archiva-releases-stage/</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+        -->
+        <repository>
+          <id>local-central</id>
+          <url>@localRepositoryUrl@</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </repository>
+        <repository>
+          <id>central</id>
+          <url>https://repo.maven.apache.org/maven2</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>local-central</id>
+          <url>@localRepositoryUrl@</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </pluginRepository>
+        <pluginRepository>
+          <id>central</id>
+          <url>https://repo.maven.apache.org/maven2</url>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+  </profiles>
+</settings>

Reply via email to