incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r929721 - /incubator/bval/trunk/bval-jsr303/pom.xml
Date Wed, 31 Mar 2010 21:29:41 GMT
Author: dwoods
Date: Wed Mar 31 21:29:41 2010
New Revision: 929721

URL: http://svn.apache.org/viewvc?rev=929721&view=rev
Log:
BVAL-5 Update builds for incubator

Modified:
    incubator/bval/trunk/bval-jsr303/pom.xml

Modified: incubator/bval/trunk/bval-jsr303/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/pom.xml?rev=929721&r1=929720&r2=929721&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/pom.xml (original)
+++ incubator/bval/trunk/bval-jsr303/pom.xml Wed Mar 31 21:29:41 2010
@@ -89,15 +89,14 @@
       </dependencies>
     </profile>
     <!--
-    geronimo profile using geronimo-validation_1.0_spec.jar
-    active when property "agimatec-on-geronimo" is present. 
-    (invoke maven with -Dagimatec-on-geronimo)
+    default profile using geronimo-validation_1.0_spec.jar
+    active when property "ri" is not present. 
      -->
     <profile>
       <id>geronimo</id>
       <activation>
         <property>
-          <name>agimatec-on-geronimo</name>
+          <name>!ri</name>
         </property>
       </activation>
       <dependencies>
@@ -110,14 +109,15 @@
       </dependencies>
     </profile>
     <!--
-    default profile using javax.validation/validation-api.jar
-    automatically active when property "agimatec-on-geronimo" not present.
+    optional profile using javax.validation/validation-api.jar from RI
+    manually active when property "ri" is present.
+    (invoke maven with -Pri)
      -->
     <profile>
       <id>ri</id>
       <activation>
         <property>
-          <name>!agimatec-on-geronimo</name>
+          <name>ri</name>
         </property>
       </activation>
       <dependencies>
@@ -226,93 +226,6 @@
           <extension>true</extension>
         </configuration>
       </plugin>
-
-      <!--
-      create a directory unter test/agimatec-validation-dist/**
-      with all artifacts, sources and dependencies
-      for download from the project website
-      -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-dependencies</id>
-            <phase>package</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              <outputDirectory>${dist-dir}/lib</outputDirectory>
-              <overWriteReleases>false</overWriteReleases>
-              <overWriteSnapshots>true</overWriteSnapshots>
-              <overWriteIfNewer>true</overWriteIfNewer>
-              <includeScope>compile</includeScope>
-            </configuration>
-          </execution>
-          <execution>
-            <id>src-dependencies</id>
-            <phase>package</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              <classifier>sources</classifier>
-              <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
-              <outputDirectory>${dist-dir}/src</outputDirectory>
-              <excludeTransitive>true</excludeTransitive>
-              <includeScope>compile</includeScope>
-            </configuration>
-          </execution>
-          <execution>
-            <id>copy-installed</id>
-            <phase>install</phase>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>${project.groupId}</groupId>
-                  <artifactId>${project.artifactId}</artifactId>
-                  <version>${project.version}</version>
-                  <type>${project.packaging}</type>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>${dist-dir}/lib</outputDirectory>
-            </configuration>
-          </execution>
-          <execution>
-            <id>copy-sources</id>
-            <phase>install</phase>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>${project.groupId}</groupId>
-                  <artifactId>${project.artifactId}</artifactId>
-                  <version>${project.version}</version>
-                  <type>${project.packaging}</type>
-                  <classifier>sources</classifier>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>${project.groupId}</groupId>
-                  <artifactId>${project.artifactId}</artifactId>
-                  <version>${project.version}</version>
-                  <type>${project.packaging}</type>
-                  <classifier>test-sources</classifier>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>${dist-dir}/src</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
-  <properties>
-    <dist-dir>${project.build.directory}/agimatec-validation-dist-${project.version}</dist-dir>
-  </properties>
 </project>



Mime
View raw message