Add apache snapshot repository (commented out) to archetype

Backport of fix on master by Hadrian Zbarcea <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/0fae663e
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/0fae663e
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/0fae663e

Branch: refs/heads/0.7.0-incubating
Commit: 0fae663e93080f88af09723e0b8ec80f31101165
Parents: 9617037
Author: Hadrian Zbarcea <[email protected]>
Authored: Mon Jun 29 21:40:49 2015 -0400
Committer: Richard Downer <[email protected]>
Committed: Wed Jul 15 08:22:09 2015 +0000

----------------------------------------------------------------------
 .../quickstart/src/brooklyn-sample/pom.xml         | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/0fae663e/usage/archetypes/quickstart/src/brooklyn-sample/pom.xml
----------------------------------------------------------------------
diff --git a/usage/archetypes/quickstart/src/brooklyn-sample/pom.xml 
b/usage/archetypes/quickstart/src/brooklyn-sample/pom.xml
index 9253eb0..af5e789 100644
--- a/usage/archetypes/quickstart/src/brooklyn-sample/pom.xml
+++ b/usage/archetypes/quickstart/src/brooklyn-sample/pom.xml
@@ -50,6 +50,23 @@
     <project.entry>com.acme.sample.brooklyn.SampleMain</project.entry>
   </properties>
 
+  <!-- enable apache snapshots repo if necessary -->
+  <!-- 
+  <repositories>
+    <repository>
+      <id>apache-snapshots</id>
+      <name>Apache Snapshots Repository</name>
+      <url>https://repository.apache.org/content/repositories/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+  -->
+
   <dependencies>
     <dependency>
       <!-- this pulls in all brooklyn entities and clouds; 

Reply via email to