Title: [1582] trunk/web/pom.xml: Added codehaus profile for CI.
Revision
1582
Author
mauro
Date
2010-02-23 03:23:32 -0600 (Tue, 23 Feb 2010)

Log Message

Added codehaus profile for CI.

Modified Paths


Diff

Modified: trunk/web/pom.xml (1581 => 1582)

--- trunk/web/pom.xml	2010-02-22 20:41:53 UTC (rev 1581)
+++ trunk/web/pom.xml	2010-02-23 09:23:32 UTC (rev 1582)
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.jbehave.web</groupId>
   <artifactId>jbehave-web</artifactId>
@@ -25,7 +26,7 @@
       <artifactId>jbehave-core</artifactId>
       <version>${jbehave.version}</version>
     </dependency>
-     <dependency>
+    <dependency>
       <groupId>org.jmock</groupId>
       <artifactId>jmock-junit4</artifactId>
       <version>2.4.0</version>
@@ -329,7 +330,38 @@
         </plugins>
       </reporting>
     </profile>
+    <profile>
+      <!--
+        This profile belongs in ~/.m2/settings.xml but Bamboo does not
+        have an obvious place to configure a settings.xml So adding it
+        to POM temporarily to get build to pass with snapshot.
+      -->
+      <id>codehaus</id>
+      <repositories>
+        <repository>
+          <id>codehaus-releases</id>
+          <url>http://repository.codehaus.org</url>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+        </repository>
+        <repository>
+          <id>codehaus-snapshots</id>
+          <url>http://snapshots.repository.codehaus.org</url>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+        </repository>
+      </repositories>
+    </profile>
   </profiles>
+
   <licenses>
     <license>
       <name>BSD license</name>
@@ -363,3 +395,4 @@
     </snapshotRepository>
   </distributionManagement>
 </project>
+


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to