]> source.dussan.org Git - archiva.git/commitdiff
ensure works from clean repository
authorBrett Porter <brett@apache.org>
Wed, 30 Jul 2014 07:27:20 +0000 (17:27 +1000)
committerBrett Porter <brett@apache.org>
Wed, 30 Jul 2014 07:27:20 +0000 (17:27 +1000)
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties

index fdcb1f87403e2ed160a2d2733ed928339ca897ad..2c5f953011927e490d4e9da926a8d2cc21bf5ff0 100644 (file)
     <requiredProperty key="mockitoVersion">
       <defaultValue>${mockito.version}</defaultValue>
     </requiredProperty>
+    <requiredProperty key="httpclientVersion">
+      <defaultValue>${httpclient.version}</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="httpcoreVersion">
+      <defaultValue>${httpclient.core.version}</defaultValue>
+    </requiredProperty>
   </requiredProperties>
 </archetype-descriptor>
index a12b75d2d83cb00705a4524f119a10829440f2da..c257ba2084b2e41012ddc3c7422d7717dec76d07 100644 (file)
@@ -38,6 +38,8 @@
     <guava.version>${guavaVersion}</guava.version>
     <springockito.version>${springockitoVersion}</springockito.version>
     <mockito.version>${mockitoVersion}</mockito.version>
+    <httpclient.version>${httpclientVersion}</httpclient.version>
+    <httpclient.core.version>${httpcoreVersion}</httpclient.core.version>
   </properties>
   <dependencies>
     <dependency>
         <artifactId>mockito-all</artifactId>
         <version>${mockito.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpclient</artifactId>
+        <version>${httpclient.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpcore</artifactId>
+        <version>${httpclient.core.version}</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
 
index 68595074aaf49d1d231c7cad0b87f88c4e43d3e9..2cbbbbed501ba63bb4a11fbd83a598bcb836eea2 100644 (file)
@@ -28,4 +28,6 @@ springVersion=${spring.version}
 guavaVersion=${guava.version}
 redbackRegistryVersion=${redback.registry.version}
 springockitoVersion=${springockito.version}
-mockitoVersion=${mockito.version}
\ No newline at end of file
+mockitoVersion=${mockito.version}
+httpclientVersion=${httpclient.version}
+httpcoreVersion=${httpclient.core.version}
\ No newline at end of file