Title: [waffle-scm] [747] trunk: Removed remote repositories from root POM.
Revision
747
Author
mauro
Date
2008-06-19 12:19:51 -0500 (Thu, 19 Jun 2008)

Log Message

Removed remote repositories from root POM.  
Added note to BUILD.txt on alternative configuration/use of profiles via local ~/.m2/settings.xml.

Modified Paths

Diff

Modified: trunk/BUILD.txt (746 => 747)

--- trunk/BUILD.txt	2008-06-19 16:55:21 UTC (rev 746)
+++ trunk/BUILD.txt	2008-06-19 17:19:51 UTC (rev 747)
@@ -21,3 +21,69 @@
 Build and deploy examples to Jetty (skipping tests on releasable modules):
 
 mvn -Pnt,examples,jetty install
+
+IMPORTANT NOTE ON REPOSITORIES: 
+Some dependencies (eg OpenQa or JBoss ones) are not synched with central maven repo.  
+Rather than configuring lots of remote repositories to the root POM, which implies lots of redundant lookups to several remote servers, 
+it is the responsibility of the user building the code to ensure that these are configured in the user ~/.m2/settings.xml, as profiles, 
+and then build (just once with the corresponding profiles):
+
+mvn clean install -Popenqa,jboss
+
+where the definition of openqa and jboss profiles would look something like:
+ <profiles>
+     <profile>
+      <id>openqa</id>
+      <repositories>
+        <repository>
+          <id>openqa-releases</id>
+          <url>http://archiva.openqa.org/repository/releases/</url>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>openqa-releases</id>
+          <url>http://archiva.openqa.org/repository/releases/</url>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>   
+    <profile>
+      <id>jboss</id>
+      <repositories>
+        <repository>
+          <id>jboss-releases</id>
+          <url>http://repository.jboss.com/maven2</url>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+        </repository>
+      </repositories>
+      <pluginRepositories>
+        <pluginRepository>
+          <id>jboss-releases</id>
+          <url>http://repository.jboss.com/maven2</url>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+        </pluginRepository>
+      </pluginRepositories>
+    </profile>
+  </profiles>
\ No newline at end of file

Modified: trunk/pom.xml (746 => 747)

--- trunk/pom.xml	2008-06-19 16:55:21 UTC (rev 746)
+++ trunk/pom.xml	2008-06-19 17:19:51 UTC (rev 747)
@@ -57,7 +57,7 @@
       <dependency>
         <groupId>com.thoughtworks.paranamer</groupId>
         <artifactId>paranamer</artifactId>
-        <version>1.1.3</version>
+        <version>1.1.4</version>
         <scope>provided</scope>
       </dependency>
       <dependency>
@@ -119,7 +119,7 @@
         <plugin>
           <groupId>com.thoughtworks.paranamer</groupId>
           <artifactId>paranamer-maven-plugin</artifactId>
-          <version>1.1.3</version>
+          <version>1.1.4</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -418,8 +418,9 @@
   </contributors>
 
   <scm>
+    <connection>http://svn.codehaus.org/waffle/trunk</connection>
     <developerConnection>scm:svn:https://svn.codehaus.org/waffle/trunk</developerConnection>
-    <url>http://svn.codehaus.org/waffle/trunk</url>
+    <url>http://waffle.codehaus.org</url>
   </scm>
 
   <distributionManagement>
@@ -442,18 +443,5 @@
       <url>dav:https://dav.codehaus.org/waffle/</url>
     </site>
   </distributionManagement>
-
-  <repositories>
-    <repository>
-      <id>codehaus-repository</id>
-      <name>Codehaus Repository</name>
-      <url>http://repository.codehaus.org</url>
-    </repository>
-    <repository>
-      <id>openqa-repository</id>
-      <name>OpenQA Repository</name>
-      <url>http://maven.openqa.org/</url>
-    </repository>
-  </repositories>
-
+  
 </project>
\ No newline at end of file


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to