incubator-bval-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=929727&view=rev
Log:
BVAL-5 Update builds for incubator.  Also reformatted pom.xml files to use 4 space indention,
as most other Apache projects use.

Modified:
    incubator/bval/trunk/pom.xml

Modified: incubator/bval/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/pom.xml?rev=929727&r1=929726&r2=929727&view=diff
==============================================================================
--- incubator/bval/trunk/pom.xml (original)
+++ incubator/bval/trunk/pom.xml Wed Mar 31 21:41:16 2010
@@ -18,542 +18,569 @@
  under the License.
 -->
 <!--
-    Maven release plugin requires the project tag to be on a single line.
+	Maven release plugin requires the project tag to be on a single line.
 -->
 <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>
+	<modelVersion>4.0.0</modelVersion>
 
-    <parent>
-        <groupId>org.apache</groupId>
-        <artifactId>apache</artifactId>
-        <version>6</version>
-    </parent>
-
-  <groupId>org.apache.bval</groupId>
-  <artifactId>bval-parent</artifactId>
-  <name>Apache BeanValidation :: Parent POM</name>
-  <packaging>pom</packaging>
-  <version>0.1-SNAPSHOT</version>
-
-  <description>Apache BeanValidation parent pom</description>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <siteId>bval</siteId>
-    <site.deploy.url>scp://people.apache.org/www/incubator.apache.org</site.deploy.url>
-  </properties>
-
-  <organization>
-    <name>Apache Software Foundation</name>
-    <url>http://www.apache.org/</url>
-  </organization>
-
-  <inceptionYear>2010</inceptionYear>
-
-  <url>http://incubator.apache.org/beanvalidation/</url>
-
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/bval/trunk</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/bval/trunk</developerConnection>
-    <url>http://svn.apache.org/repos/asf/incubator/bval/trunk</url>
-  </scm>
-
-  <licenses>
-    <license>
-      <name>The Apache Software License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-      <distribution>repo</distribution>
-    </license>
-  </licenses>
-
-    <mailingLists>
-        <mailingList>
-            <name>BeanValidation User List</name>
-            <subscribe>bval-user-subscribe@incubator.apache.org</subscribe>
-            <unsubscribe>bval-user-unsubscribe@incubator.apache.org</unsubscribe>
-            <post>mailto:bval-user@incubator.apache.org</post>
-            <archive>http://mail-archives.apache.org/mod_mbox/incubator-bval-user/</archive>
-        </mailingList>
-
-        <mailingList>
-            <name>BeanValidation Developer List</name>
-            <subscribe>bval-dev-subscribe@incubator.apache.org</subscribe>
-            <unsubscribe>bval-dev-unsubscribe@incubator.apache.org</unsubscribe>
-            <post>mailto:bval-dev@incubator.apache.org</post>
-            <archive>http://mail-archives.apache.org/mod_mbox/incubator-bval-dev/</archive>
-        </mailingList>
-
-        <mailingList>
-            <name>BeanValidation Commits List</name>
-            <subscribe>bval-commits-subscribe@incubator.apache.org</subscribe>
-            <unsubscribe>bval-commits-unsubscribe@incubator.apache.org</unsubscribe>
-            <post>mailto:bval-commits@incubator.apache.org</post>
-            <archive>http://mail-archives.apache.org/mod_mbox/incubator-bval-commits/</archive>
-        </mailingList>
-    </mailingLists>
-
-  <developers>
-    <developer>
-      <id>romanstumm</id>
-      <name>Roman Stumm</name>
-      <email>romanstumm@apache.org</email>
-    </developer>
-    <developer>
-      <id>dwoods</id>
-      <name>Donald Woods</name>
-      <email>dwoods@apache.org</email>
-    </developer>
-    <developer>
-      <id>simonetripodi</id>
-      <name>Simone Tripodi</name>
-      <email>simonetripodi@apache.org</email>
-      <organization>Sourcesense Srl</organization>
-    </developer>
-  </developers>
-
-    <distributionManagement>
-        <site>
-            <id>apache-website</id>
-            <url>${site.deploy.url}/maven/${siteId}/${version}</url>
-        </site>
-    </distributionManagement>
-
-  <reporting>
-    <plugins>
-      <plugin>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.1.1</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <configuration>
-          <show>package</show>
-          <quiet>true</quiet>
-          <source>1.5</source>
-          <links>
-            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
-            <link>http://java.sun.com/javaee/6/docs/api</link>
-          </links>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>javadoc</report>
-              <report>test-javadoc</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>jdepend-maven-plugin</artifactId>
-      </plugin>
-    </plugins>
-  </reporting>
-
-  <!-- default versions for dependencies that child modules may include -->
-  <dependencyManagement>
-    <dependencies>
-      <!-- Spec RI API -->
-      <dependency>
-        <groupId>javax.validation</groupId>
-        <artifactId>validation-api</artifactId>
-        <version>1.0.0.GA</version>
-      </dependency>
-      <!-- Apache Geronimo version of the Spec API -->
-      <dependency>
-        <groupId>org.apache.geronimo.specs</groupId>
-        <artifactId>geronimo-validation_1.0_spec</artifactId>
-        <version>1.0</version>
-      </dependency>
-      <!-- JPA2 spec required for JPA aware TraversableResolver support -->
-      <dependency>
-        <groupId>org.apache.geronimo.specs</groupId>
-        <artifactId>geronimo-jpa_2.0_spec</artifactId>
-        <version>1.0</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>3.8.2</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-lang</groupId>
-        <artifactId>commons-lang</artifactId>
-        <version>2.4</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging</artifactId>
-        <version>1.1.1</version>
-        <!--<version>1.0.4</version> is also compatible-->
-      </dependency>
-      <dependency>
-        <groupId>log4j</groupId>
-        <artifactId>log4j</artifactId>
-        <version>1.2.14</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-beanutils</groupId>
-        <artifactId>commons-beanutils</artifactId>
-        <version>1.8.2</version>
-        <!-- 1.8.0 is also compatible -->
-      </dependency>
-      <dependency>
-        <groupId>com.thoughtworks.xstream</groupId>
-        <artifactId>xstream</artifactId>
-        <version>1.3.1</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-collections</groupId>
-        <artifactId>commons-collections</artifactId>
-        <version>3.2.1</version>
-      </dependency>
-      <dependency>
-        <groupId>org.freemarker</groupId>
-        <artifactId>freemarker</artifactId>
-        <version>2.3.15</version>
-        <!-- some older version is also compatible -->
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <build>
-    <defaultGoal>install</defaultGoal>
-
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-      </resource>
-      <!-- also include license and notice files -->
-      <resource>
-        <directory>${basedir}</directory>
-        <includes>
-          <include>NOTICE.txt</include>
-          <include>LICENSE.txt</include>
-          <include>DISCLAIMER.txt</include>
-        </includes>
-        <targetPath>META-INF</targetPath>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>src/test/resources</directory>
-      </testResource>
-      <testResource>
-        <directory>${basedir}</directory>
-        <includes>
-          <include>NOTICE.txt</include>
-          <include>LICENSE.txt</include>
-          <include>DISCLAIMER.txt</include>
-        </includes>
-        <targetPath>META-INF</targetPath>
-      </testResource>
-    </testResources>
-
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-webdav</artifactId>
-        <version>1.0-beta-2</version>
-      </extension>
-    </extensions>
-
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-clean-plugin</artifactId>
-          <version>2.3</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>2.0.2</version>
-          <configuration>
-            <source>1.5</source>
-            <target>1.5</target>
-            <encoding>${project.build.sourceEncoding}</encoding>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-deploy-plugin</artifactId>
-          <version>2.4</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-enforcer-plugin</artifactId>
-          <version>1.0-beta-1</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-gpg-plugin</artifactId>
-          <version>1.0-alpha-4</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-install-plugin</artifactId>
-          <version>2.2</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.2</version>
-          <configuration>
-            <archive>
-              <manifest>
-                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-              </manifest>
-            </archive>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <version>2.2</version>
-        </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>jdepend-maven-plugin</artifactId>
-          <version>2.0-beta-2</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>2.0-beta-9</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-resources-plugin</artifactId>
-          <version>2.3</version>
-          <configuration>
-            <encoding>${project.build.sourceEncoding}</encoding>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>2.0</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-assembly-plugin</artifactId>
-          <version>2.2-beta-3</version>
-        </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>ianal-maven-plugin</artifactId>
-          <version>1.0-alpha-1</version>
-          <executions>
-            <execution>
-              <goals>
-                <goal>verify-legal-files</goal>
-              </goals>
-              <configuration>
-                <!-- Fail the build if any artifacts are missing legal files -->
-                <strict>true</strict>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>rat-maven-plugin</artifactId>
-          <version>1.0-alpha-3</version>
-          <configuration>
-            <excludeSubProjects>false</excludeSubProjects>
-            <numUnapprovedLicenses>0</numUnapprovedLicenses>
-            <excludes>
-              <!--
-                  comments are unsupported by Java service descriptors
-              -->
-              <exclude>**/javax.validation.spi.ValidationProvider</exclude>
-
-              <!-- General informational files -->
-              <exclude>README.txt</exclude>
-
-              <!-- generated content -->
-              <exclude>**/.*/**</exclude>
-              <exclude>**/*.ftl</exclude>
-              <exclude>**/*.iml</exclude>
-              <exclude>**/*.log</exclude>
-              <exclude>**/maven-eclipse.xml</exclude>
-              <exclude>**/rat.txt</exclude>
-              <exclude>**/target/**/*</exclude>
-            </excludes>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.4.3</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-source-plugin</artifactId>
-          <version>2.1.1</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-source-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>attach-sources</id>
-            <goals>
-              <goal>jar</goal>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>ianal-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>verify-legal-files</goal>
-            </goals>
-            <configuration>
-              <!-- Fail the build if any artifacts are missing legal files -->
-              <strict>true</strict>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <modules>
-    <module>bval-core</module>
-    <module>bval-jsr303</module>
-  </modules>
-
-  <profiles>
-    <!-- START SNIPPET: release-profile -->
-    <profile>
-      <id>release</id>
-      <activation>
-        <property>
-          <name>release</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <!-- sign all artifacts -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <configuration>
-              <passphrase>${gpg.passphrase}</passphrase>
-            </configuration>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <!-- deploy the artifacts to a staging location for perusal -->
-          <plugin>
-            <inherited>true</inherited>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-deploy-plugin</artifactId>
-            <configuration>
-              <updateReleaseInfo>true</updateReleaseInfo>
-            </configuration>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-release-plugin</artifactId>
-            <configuration>
-              <useReleaseProfile>false</useReleaseProfile>
-              <goals>deploy</goals>
-              <arguments>-Prelease</arguments>
-              <autoVersionSubmodules>true</autoVersionSubmodules>
-            </configuration>
-          </plugin>
-          <plugin>
-            <!-- Javadoc plugin doesn't copy resources like the jar plugin.
-                 We need to Unzip license,etc from normal jar to add.
-            -->
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>javadoc.resources</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <!-- create output dir for nested parent poms -->
-                    <mkdir dir="${project.build.directory}" />
-                    <unzip dest="${project.build.directory}/apidocs">
-                      <patternset>
-                        <include name="META-INF/*.txt" />
-                      </patternset>
-                      <fileset dir="${project.build.directory}">
-                        <include name="${artifactId}-${pom.version}.jar" />
-                      </fileset>
-                    </unzip>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <encoding>${project.build.sourceEncoding}</encoding>
-            </configuration>
-            <executions>
-              <execution>
-                <id>attach-javadoc</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-              <execution>
-                <phase>process-classes</phase>
-                <goals><goal>javadoc</goal></goals>
-                <configuration>
-                  <additionalparam>
-                    ${javadoc.additionalparam}
+	<parent>
+		<groupId>org.apache</groupId>
+		<artifactId>apache</artifactId>
+		<version>6</version>
+	</parent>
+
+	<groupId>org.apache.bval</groupId>
+	<artifactId>bval-parent</artifactId>
+	<name>Apache BeanValidation :: Parent POM</name>
+	<packaging>pom</packaging>
+	<version>0.1-SNAPSHOT</version>
+
+	<description>Apache BeanValidation parent pom</description>
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<siteId>bval</siteId>
+		<site.deploy.url>scp://people.apache.org/www/incubator.apache.org</site.deploy.url>
+	</properties>
+
+	<organization>
+		<name>Apache Software Foundation</name>
+		<url>http://www.apache.org/</url>
+	</organization>
+
+	<inceptionYear>2010</inceptionYear>
+
+	<url>http://incubator.apache.org/beanvalidation/</url>
+
+	<scm>
+		<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/bval/trunk</connection>
+		<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/bval/trunk</developerConnection>
+		<url>http://svn.apache.org/repos/asf/incubator/bval/trunk</url>
+	</scm>
+
+	<licenses>
+		<license>
+			<name>The Apache Software License, Version 2.0</name>
+			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+			<distribution>repo</distribution>
+		</license>
+	</licenses>
+
+	<mailingLists>
+		<mailingList>
+			<name>BeanValidation User List</name>
+			<subscribe>bval-user-subscribe@incubator.apache.org</subscribe>
+			<unsubscribe>bval-user-unsubscribe@incubator.apache.org</unsubscribe>
+			<post>mailto:bval-user@incubator.apache.org</post>
+			<archive>http://mail-archives.apache.org/mod_mbox/incubator-bval-user/</archive>
+		</mailingList>
+
+		<mailingList>
+			<name>BeanValidation Developer List</name>
+			<subscribe>bval-dev-subscribe@incubator.apache.org</subscribe>
+			<unsubscribe>bval-dev-unsubscribe@incubator.apache.org</unsubscribe>
+			<post>mailto:bval-dev@incubator.apache.org</post>
+			<archive>http://mail-archives.apache.org/mod_mbox/incubator-bval-dev/</archive>
+		</mailingList>
+
+		<mailingList>
+			<name>BeanValidation Commits List</name>
+			<subscribe>bval-commits-subscribe@incubator.apache.org</subscribe>
+			<unsubscribe>bval-commits-unsubscribe@incubator.apache.org</unsubscribe>
+			<post>mailto:bval-commits@incubator.apache.org</post>
+			<archive>http://mail-archives.apache.org/mod_mbox/incubator-bval-commits/</archive>
+		</mailingList>
+	</mailingLists>
+
+	<developers>
+		<developer>
+			<id>romanstumm</id>
+			<name>Roman Stumm</name>
+			<email>romanstumm@apache.org</email>
+		</developer>
+		<developer>
+			<id>dwoods</id>
+			<name>Donald Woods</name>
+			<email>dwoods@apache.org</email>
+		</developer>
+		<developer>
+			<id>simonetripodi</id>
+			<name>Simone Tripodi</name>
+			<email>simonetripodi@apache.org</email>
+			<organization>Sourcesense Srl</organization>
+		</developer>
+	</developers>
+
+	<distributionManagement>
+		<site>
+			<id>apache-website</id>
+			<url>${site.deploy.url}/maven/${siteId}/${version}</url>
+		</site>
+	</distributionManagement>
+
+	<reporting>
+		<plugins>
+			<plugin>
+				<artifactId>maven-project-info-reports-plugin</artifactId>
+				<version>2.1.1</version>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<configuration>
+					<show>package</show>
+					<quiet>true</quiet>
+					<source>1.5</source>
+					<links>
+						<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+						<link>http://java.sun.com/javaee/6/docs/api</link>
+					</links>
+				</configuration>
+				<reportSets>
+					<reportSet>
+						<reports>
+							<report>javadoc</report>
+							<report>test-javadoc</report>
+						</reports>
+					</reportSet>
+				</reportSets>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>jdepend-maven-plugin</artifactId>
+			</plugin>
+		</plugins>
+	</reporting>
+
+	<!--
+		default versions for dependencies that child modules may include
+	-->
+	<dependencyManagement>
+		<dependencies>
+			<!-- Optional profile to use Spec RI API -->
+			<dependency>
+				<groupId>javax.validation</groupId>
+				<artifactId>validation-api</artifactId>
+				<version>1.0.0.GA</version>
+			</dependency>
+			<!-- Default of Apache Geronimo version of the Spec API -->
+			<dependency>
+				<groupId>org.apache.geronimo.specs</groupId>
+				<artifactId>geronimo-validation_1.0_spec</artifactId>
+				<version>1.0</version>
+			</dependency>
+			<!-- JPA2 spec required for JPA aware TraversableResolver support -->
+			<dependency>
+				<groupId>org.apache.geronimo.specs</groupId>
+				<artifactId>geronimo-jpa_2.0_spec</artifactId>
+				<version>1.0</version>
+			</dependency>
+			<dependency>
+				<groupId>junit</groupId>
+				<artifactId>junit</artifactId>
+				<version>3.8.2</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-lang</groupId>
+				<artifactId>commons-lang</artifactId>
+				<version>2.4</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-logging</groupId>
+				<artifactId>commons-logging</artifactId>
+				<version>1.1.1</version>
+				<!--<version>1.0.4</version> is also compatible-->
+			</dependency>
+			<dependency>
+				<groupId>log4j</groupId>
+				<artifactId>log4j</artifactId>
+				<version>1.2.14</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-beanutils</groupId>
+				<artifactId>commons-beanutils</artifactId>
+				<version>1.8.2</version>
+				<!-- 1.8.0 is also compatible -->
+			</dependency>
+			<dependency>
+				<groupId>com.thoughtworks.xstream</groupId>
+				<artifactId>xstream</artifactId>
+				<version>1.3.1</version>
+			</dependency>
+			<dependency>
+				<groupId>commons-collections</groupId>
+				<artifactId>commons-collections</artifactId>
+				<version>3.2.1</version>
+			</dependency>
+			<dependency>
+				<groupId>org.freemarker</groupId>
+				<artifactId>freemarker</artifactId>
+				<version>2.3.15</version>
+				<!-- some older version is also compatible -->
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
+
+	<build>
+		<defaultGoal>install</defaultGoal>
+
+		<resources>
+			<resource>
+				<directory>src/main/resources</directory>
+			</resource>
+			<!-- also include license and notice files -->
+			<resource>
+				<directory>${basedir}</directory>
+				<includes>
+					<include>NOTICE.txt</include>
+					<include>LICENSE.txt</include>
+					<include>DISCLAIMER.txt</include>
+				</includes>
+				<targetPath>META-INF</targetPath>
+			</resource>
+		</resources>
+		<testResources>
+			<testResource>
+				<directory>src/test/resources</directory>
+			</testResource>
+			<testResource>
+				<directory>${basedir}</directory>
+				<includes>
+					<include>NOTICE.txt</include>
+					<include>LICENSE.txt</include>
+					<include>DISCLAIMER.txt</include>
+				</includes>
+				<targetPath>META-INF</targetPath>
+			</testResource>
+		</testResources>
+
+		<extensions>
+			<extension>
+				<groupId>org.apache.maven.wagon</groupId>
+				<artifactId>wagon-webdav</artifactId>
+				<version>1.0-beta-2</version>
+			</extension>
+		</extensions>
+
+		<pluginManagement>
+			<plugins>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-clean-plugin</artifactId>
+					<version>2.3</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-compiler-plugin</artifactId>
+					<version>2.0.2</version>
+					<configuration>
+						<source>1.5</source>
+						<target>1.5</target>
+						<encoding>${project.build.sourceEncoding}</encoding>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-deploy-plugin</artifactId>
+					<version>2.4</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-enforcer-plugin</artifactId>
+					<version>1.0-beta-1</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-gpg-plugin</artifactId>
+					<version>1.0-alpha-4</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-install-plugin</artifactId>
+					<version>2.2</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-jar-plugin</artifactId>
+					<version>2.2</version>
+					<configuration>
+						<archive>
+							<manifest>
+								<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+								<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+							</manifest>
+						</archive>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-javadoc-plugin</artifactId>
+					<version>2.2</version>
+				</plugin>
+				<plugin>
+					<groupId>org.codehaus.mojo</groupId>
+					<artifactId>jdepend-maven-plugin</artifactId>
+					<version>2.0-beta-2</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-release-plugin</artifactId>
+					<version>2.0-beta-9</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-resources-plugin</artifactId>
+					<version>2.3</version>
+					<configuration>
+						<encoding>${project.build.sourceEncoding}</encoding>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-site-plugin</artifactId>
+					<version>2.0</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-assembly-plugin</artifactId>
+					<version>2.2-beta-3</version>
+				</plugin>
+				<plugin>
+					<groupId>org.codehaus.mojo</groupId>
+					<artifactId>ianal-maven-plugin</artifactId>
+					<version>1.0-alpha-1</version>
+					<executions>
+						<execution>
+							<goals>
+								<goal>verify-legal-files</goal>
+							</goals>
+							<configuration>
+								<!-- Fail the build if any artifacts are missing legal files -->
+								<strict>true</strict>
+							</configuration>
+						</execution>
+					</executions>
+				</plugin>
+				<plugin>
+					<groupId>org.codehaus.mojo</groupId>
+					<artifactId>rat-maven-plugin</artifactId>
+					<version>1.0-alpha-3</version>
+					<configuration>
+						<excludeSubProjects>false</excludeSubProjects>
+						<numUnapprovedLicenses>0</numUnapprovedLicenses>
+						<excludes>
+							<!--
+								comments are unsupported by Java service descriptors
+							-->
+							<exclude>**/javax.validation.spi.ValidationProvider</exclude>
+
+							<!-- General informational files -->
+							<exclude>README.txt</exclude>
+
+							<!-- generated content -->
+							<exclude>**/.*/**</exclude>
+							<exclude>**/*.ftl</exclude>
+							<exclude>**/*.iml</exclude>
+							<exclude>**/*.log</exclude>
+							<exclude>**/maven-eclipse.xml</exclude>
+							<exclude>**/rat.txt</exclude>
+							<exclude>**/target/**/*</exclude>
+						</excludes>
+					</configuration>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-surefire-plugin</artifactId>
+					<version>2.4.3</version>
+				</plugin>
+				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-source-plugin</artifactId>
+					<version>2.1.1</version>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>attach-sources</id>
+						<goals>
+							<goal>jar</goal>
+							<goal>test-jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-enforcer-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>validate</phase>
+						<goals>
+							<goal>enforce</goal>
+						</goals>
+						<configuration>
+							<rules>
+								<requireMavenVersion>
+									<version>[2.0.9,)</version>
+								</requireMavenVersion>
+								<requireJavaVersion>
+									<version>[1.5,)</version>
+								</requireJavaVersion>
+							</rules>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>ianal-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<goals>
+							<goal>verify-legal-files</goal>
+						</goals>
+						<configuration>
+							<!-- Fail the build if any artifacts are missing legal files -->
+							<strict>true</strict>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+
+	<modules>
+		<module>bval-core</module>
+		<module>bval-jsr303</module>
+	</modules>
+
+	<profiles>
+		<!-- START SNIPPET: release-profile -->
+		<profile>
+			<id>release</id>
+			<activation>
+				<property>
+					<name>release</name>
+				</property>
+			</activation>
+			<build>
+				<plugins>
+					<!-- sign all artifacts -->
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-gpg-plugin</artifactId>
+						<configuration>
+							<passphrase>${gpg.passphrase}</passphrase>
+						</configuration>
+						<executions>
+							<execution>
+								<goals>
+									<goal>sign</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+					<!-- deploy the artifacts to a staging location for perusal -->
+					<plugin>
+						<inherited>true</inherited>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-deploy-plugin</artifactId>
+						<configuration>
+							<updateReleaseInfo>true</updateReleaseInfo>
+						</configuration>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-release-plugin</artifactId>
+						<configuration>
+							<useReleaseProfile>false</useReleaseProfile>
+							<goals>deploy</goals>
+							<arguments>-Prelease</arguments>
+							<autoVersionSubmodules>true</autoVersionSubmodules>
+						</configuration>
+					</plugin>
+					<plugin>
+						<!--
+							Javadoc plugin doesn't copy resources like the jar plugin. We
+							need to Unzip license,etc from normal jar to add.
+						-->
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-antrun-plugin</artifactId>
+						<executions>
+							<execution>
+								<id>javadoc.resources</id>
+								<phase>package</phase>
+								<goals>
+									<goal>run</goal>
+								</goals>
+								<configuration>
+									<tasks>
+										<!-- create output dir for nested parent poms -->
+										<mkdir dir="${project.build.directory}" />
+										<unzip dest="${project.build.directory}/apidocs">
+											<patternset>
+												<include name="META-INF/*.txt" />
+											</patternset>
+											<fileset dir="${project.build.directory}">
+												<include name="${artifactId}-${pom.version}.jar" />
+											</fileset>
+										</unzip>
+									</tasks>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-javadoc-plugin</artifactId>
+						<configuration>
+							<encoding>${project.build.sourceEncoding}</encoding>
+						</configuration>
+						<executions>
+							<execution>
+								<id>attach-javadoc</id>
+								<phase>package</phase>
+								<goals>
+									<goal>jar</goal>
+								</goals>
+							</execution>
+							<execution>
+								<phase>process-classes</phase>
+								<goals>
+									<goal>javadoc</goal>
+								</goals>
+								<configuration>
+									<additionalparam>
+										${javadoc.additionalparam}
                   </additionalparam>
-                  <aggregate>true</aggregate>
-                  <subpackages>com.agimatec</subpackages>
-                  <verbose>false</verbose>
-                  <maxmemory>512m</maxmemory>
-                  <links>
-                    <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
-                    <link>http://java.sun.com/javaee/6/docs/api</link>
-                  </links>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <!-- END SNIPPET: release-profile -->
-  </profiles>
+									<aggregate>true</aggregate>
+									<subpackages>com.agimatec</subpackages>
+									<verbose>false</verbose>
+									<maxmemory>512m</maxmemory>
+									<links>
+										<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+										<link>http://java.sun.com/javaee/6/docs/api</link>
+									</links>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+		<!-- END SNIPPET: release-profile -->
+	</profiles>
 
 </project>
 



Mime
View raw message