Author: dandiep
Date: Sat May  6 11:18:52 2006
New Revision: 400347

URL: http://svn.apache.org/viewcvs?rev=400347&view=rev
Log:
Don't build distros unless the release profile is activated (specify -Drelease 
on the command line to activate)

Modified:
    webservices/commons/trunk/modules/XmlSchema/pom.xml

Modified: webservices/commons/trunk/modules/XmlSchema/pom.xml
URL: 
http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/XmlSchema/pom.xml?rev=400347&r1=400346&r2=400347&view=diff
==============================================================================
--- webservices/commons/trunk/modules/XmlSchema/pom.xml (original)
+++ webservices/commons/trunk/modules/XmlSchema/pom.xml Sat May  6 11:18:52 2006
@@ -184,37 +184,6 @@
     </testResources>
     <plugins>
       <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>src-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>assembly</goal>
-            </goals>
-            <configuration>
-              <descriptor>assembly-src.xml</descriptor>
-              <finalName>XmlSchema-${project.version}</finalName>
-              <outputDirectory>target/src-package</outputDirectory>
-              <workDirectory>target/assembly/work</workDirectory>
-            </configuration>
-          </execution>
-          <execution>
-            <id>bin-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>assembly</goal>
-            </goals>
-            <configuration>
-              <descriptor>assembly-bin.xml</descriptor>
-              <finalName>XmlSchema-${project.version}</finalName>
-              <outputDirectory>target/src-package</outputDirectory>
-              <workDirectory>target/assembly/work</workDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
@@ -252,7 +221,7 @@
         </executions>
         <configuration>
           <remoteRepositoryId>apache</remoteRepositoryId>
-          
<remoteRepositoryUrl>scp://people.apache.org/www/www.apache.org/dist/java-repository</remoteRepositoryUrl>
+          
<remoteRepositoryUrl>scp://people.apache.org/www/cvs.apache.org/repository</remoteRepositoryUrl>
         </configuration>
       </plugin>
       <plugin>
@@ -262,7 +231,53 @@
         </configuration>
       </plugin>
     </plugins>
-  </build>
+  </build>
+  <profiles>
+    <profile>
+      <id>release</id>
+      <activation>
+        <property>
+          <name>release</name>
+          <value></value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>src-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>assembly</goal>
+                </goals>
+                <configuration>
+                  <descriptor>assembly-src.xml</descriptor>
+                  <finalName>XmlSchema-${project.version}</finalName>
+                  <outputDirectory>target/src-package</outputDirectory>
+                  <workDirectory>target/assembly/work</workDirectory>
+                </configuration>
+              </execution>
+              <execution>
+                <id>bin-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>assembly</goal>
+                </goals>
+                <configuration>
+                  <descriptor>assembly-bin.xml</descriptor>
+                  <finalName>XmlSchema-${project.version}</finalName>
+                  <outputDirectory>target/src-package</outputDirectory>
+                  <workDirectory>target/assembly/work</workDirectory>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <pluginRepositories>
     <pluginRepository>
       <id>snapshot</id>


Reply via email to