]> source.dussan.org Git - archiva.git/commitdiff
try to ensure consumer archetype will build with an empty repo so force local downloa...
authorOlivier Lamy <olamy@apache.org>
Wed, 2 Apr 2014 05:39:19 +0000 (05:39 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 2 Apr 2014 05:39:19 +0000 (05:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583884 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml

index 149249cbcdb6b007d07ad1bc3be37379e45c6fad..87029e1c5da60ff319e862f7cc9696a31ade9eea 100644 (file)
           <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>package</id>
+            <phase>package</phase>
+            <configuration>
+              <tasks>
+                <echo>
+                  Just ensure plugin is downloaded in local repo for it test
+                </echo>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>