[jboss-cvs] JBossAS SVN: r68308 - projects/ejb3/trunk/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Dec 14 17:54:32 EST 2007


Author: pgier
Date: 2007-12-14 17:54:31 -0500 (Fri, 14 Dec 2007)
New Revision: 68308

Modified:
   projects/ejb3/trunk/build/pom.xml
Log:
Removing repositories from pom.  Moved jboss-deploy plugin to a profile so that it can be deactivated in hudson.

Modified: projects/ejb3/trunk/build/pom.xml
===================================================================
--- projects/ejb3/trunk/build/pom.xml	2007-12-14 19:47:31 UTC (rev 68307)
+++ projects/ejb3/trunk/build/pom.xml	2007-12-14 22:54:31 UTC (rev 68308)
@@ -100,49 +100,9 @@
           <argLine>${maven.test.jvmargs}</argLine>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.jboss.maven.plugins</groupId>
-        <artifactId>maven-jboss-deploy-plugin</artifactId>
-        <version>1.4</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>jboss-deploy</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
-          <groupId>jboss</groupId>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
-  <repositories>
-    <repository>
-      <id>jboss</id>
-      <name>JBoss Repository</name>
-      <layout>default</layout>
-      <url>http://repository.jboss.com/maven2/</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-    </repository>
-    <repository>
-      <id>snapshots.jboss.org</id>
-      <name>JBoss Snapshots Repository</name>
-      <layout>default</layout>
-      <url>http://snapshots.jboss.org/maven2/</url>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-    </repository>
-  </repositories>
-
   <!-- moved to ejb3 parent
   <modules>
     <module>../ejb3-core</module>
@@ -253,5 +213,34 @@
         <ejb3.testOutputDirectory>eclipse-target/tests-classes</ejb3.testOutputDirectory>
       </properties>
     </profile>
+    <profile>
+      <!-- This profile is on by default.  To de-activate it, pass the property "skip.jboss.deploy" -->
+      <id>jboss-deploy</id>
+      <activation>
+        <property>
+          <name>!skip.jboss.deploy</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.jboss.maven.plugins</groupId>
+            <artifactId>maven-jboss-deploy-plugin</artifactId>
+            <version>1.4</version>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>jboss-deploy</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
+              <groupId>jboss</groupId>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>




More information about the jboss-cvs-commits mailing list