You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ch...@apache.org on 2007/08/10 18:15:33 UTC

svn commit: r564645 - /activemq/camel/trunk/examples/pom.xml

Author: chirino
Date: Fri Aug 10 09:15:32 2007
New Revision: 564645

URL: http://svn.apache.org/viewvc?view=rev&rev=564645
Log:
Added support for a -DremoteRepo property

Modified:
    activemq/camel/trunk/examples/pom.xml

Modified: activemq/camel/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/pom.xml?view=diff&rev=564645&r1=564644&r2=564645
==============================================================================
--- activemq/camel/trunk/examples/pom.xml (original)
+++ activemq/camel/trunk/examples/pom.xml Fri Aug 10 09:15:32 2007
@@ -37,8 +37,8 @@
       <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
     </repository>
     <repository>
-      <id>logicblaze.repo</id>
-      <name>LogicBlaze Repository</name>
+      <id>open.iona.m2-all</id>
+      <name>IONA Open Source Community Dependency Repository</name>
       <url>http://repo.logicblaze.com/maven2-all</url>
     </repository>
   </repositories>
@@ -51,8 +51,8 @@
       <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
     </pluginRepository>
     <pluginRepository>
-      <id>logicblaze.repo</id>
-      <name>LogicBlaze Repository</name>
+      <id>open.iona.m2-all</id>
+      <name>IONA Open Source Community Dependency Repository</name>
       <url>http://repo.logicblaze.com/maven2-all</url>
     </pluginRepository>
   </pluginRepositories>
@@ -63,5 +63,36 @@
     <module>camel-example-etl</module>
     <module>camel-example-bam</module>
   </modules>
+
+  <profiles>
+    <!-- 
+      This profile allows you to add a repository to the repo list so that 
+      you can test the examples out against a staged version of the camel distribution 
+    -->
+    <profile>
+      <id>add-remote-repo</id>
+      <activation>
+        <property>
+          <name>remoteRepo</name>
+        </property>
+      </activation>
+
+      <repositories>
+        <repository>
+          <id>dynamic.repo</id>
+          <name>Repository Dynamicly Added Via the Command Line</name>
+          <url>$remoteRepo</url>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>dynamic.repo</id>
+          <name>Repository Dynamicly Added Via the Command Line</name>
+          <url>$remoteRepo</url>
+        </pluginRepository>
+      </pluginRepositories>
+
+    </profile>
+  </profiles>
 
 </project>