]> source.dussan.org Git - archiva.git/commitdiff
Trying to fix build error on ci server
authorMartin Stockhammer <martin_s@apache.org>
Mon, 17 Apr 2017 19:30:03 +0000 (21:30 +0200)
committerMartin Stockhammer <martin_s@apache.org>
Mon, 17 Apr 2017 19:30:03 +0000 (21:30 +0200)
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml

index 83eae7563e0edb61ba07078acec6ddd668298adc..b49cd7344b03f036c67e59a3534269523dbb55bb 100644 (file)
@@ -31,7 +31,8 @@
   <description>Simple archetype to create archiva consumers</description>
   <properties>
     <archivaVersion>${project.version}</archivaVersion>
-    <archetypeVersion>2.2</archetypeVersion>
+    <archetypeVersion>2.4</archetypeVersion>
+    <mavenInvokerVersion>2.2</mavenInvokerVersion>
   </properties>
   <dependencies>
     <!-- Used by the archetype, so needed to be built before integration
             <settingsFile>${basedir}/src/test/test-settings.xml</settingsFile>
             <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
           </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.maven.shared</groupId>
+              <artifactId>maven-invoker</artifactId>
+              <version>${mavenInvokerVersion}</version>
+            </dependency>
+          </dependencies>
         </plugin>
       </plugins>
     </pluginManagement>
                 <settingsFile>${basedir}/src/test/ci-test-settings.xml</settingsFile>
                 <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
               </configuration>
+              <dependencies>
+                <dependency>
+                  <groupId>org.apache.maven.shared</groupId>
+                  <artifactId>maven-invoker</artifactId>
+                  <version>${mavenInvokerVersion}</version>
+                </dependency>
+              </dependencies>
             </plugin>
           </plugins>
         </pluginManagement>