You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by dw...@apache.org on 2010/05/24 17:43:24 UTC
svn commit: r947674 - in /incubator/bval/trunk: README.txt
apache-bval/pom.xml bval-core/pom.xml bval-guice/pom.xml bval-json/pom.xml
bval-jsr303/pom.xml bval-tck/pom.xml pom.xml
Author: dwoods
Date: Mon May 24 15:43:24 2010
New Revision: 947674
URL: http://svn.apache.org/viewvc?rev=947674&view=rev
Log:
BVAL-58 Clean up build before release. Contributed by David Jencks.
Modified:
incubator/bval/trunk/README.txt
incubator/bval/trunk/apache-bval/pom.xml
incubator/bval/trunk/bval-core/pom.xml
incubator/bval/trunk/bval-guice/pom.xml
incubator/bval/trunk/bval-json/pom.xml
incubator/bval/trunk/bval-jsr303/pom.xml
incubator/bval/trunk/bval-tck/pom.xml
incubator/bval/trunk/pom.xml
Modified: incubator/bval/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/README.txt?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/README.txt (original)
+++ incubator/bval/trunk/README.txt Mon May 24 15:43:24 2010
@@ -1,3 +1,21 @@
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+
Apache Bean Validation (incubating)
(C) Copyright 2010 The Apache Software Foundation.
--------------------------------------------------------------------------------
Modified: incubator/bval/trunk/apache-bval/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/apache-bval/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/apache-bval/pom.xml (original)
+++ incubator/bval/trunk/apache-bval/pom.xml Mon May 24 15:43:24 2010
@@ -41,107 +41,15 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-core</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-jsr303</artifactId>
- <version>${project.version}</version>
</dependency>
</dependencies>
<build>
- <defaultGoal>install</defaultGoal>
-
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
-
<plugins>
- <!--
- Need to disable source plugin here, as it overwrites the shade
- plugin created sources jar.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>none</phase>
- </execution>
- </executions>
- </plugin>
-
- <!-- Create our aggregate JAR -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <createSourcesJar>true</createSourcesJar>
- <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope>
- <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
- <!--
- Specify a subset of depends to include,
- which must match the <dependencies> section.
- -->
- <artifactSet>
- <includes>
- <include>org.apache.bval:bval-core</include>
- <include>org.apache.bval:bval-jsr303</include>
- </includes>
- </artifactSet>
- <!-- BVAL unique META-INF setup -->
- <transformers>
- <!--
- Need to concatinate the services resources
- -->
- <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
- <!-- Need to add some MANIFEST.MF metadata -->
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <manifestEntries>
- <Main-Class>org.apache.bval.util.BeanValidationVersion</Main-Class>
- <Implementation-Title>Apache Bean Validation Aggregate JAR</Implementation-Title>
- <Specification-Title>JSR-303 Bean Validation</Specification-Title>
- <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>
- <Specification-Version>1.0</Specification-Version>
- </manifestEntries>
- </transformer>
- </transformers>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- extract the shaded jar so a bundle can be created -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <unzip src="${project.build.directory}/${pom.artifactId}-${pom.version}.jar" dest="${project.build.directory}/classes" />
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- create an OSGi bundle -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
@@ -149,17 +57,16 @@
<configuration>
<instructions>
<!-- OSGi Bundle Metadata -->
+ <Main-Class>org.apache.bval.util.BeanValidationVersion</Main-Class>
+ <Implementation-Title>Apache Bean Validation Aggregate JAR</Implementation-Title>
+ <Specification-Title>JSR-303 Bean Validation</Specification-Title>
+ <Specification-Vendor>Sun Microsystems, Inc.</Specification-Vendor>
+ <Specification-Version>1.0</Specification-Version>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
- <!-- <Bundle-Activator>org.apache.bval.osgi.BundleActivator</Bundle-Activator> -->
+ <Embed-Dependency>*;inline=true</Embed-Dependency>
<Private-Package />
- <!-- No versions on exports for now
- <Export-Package>org.apache.bval.*;version=${project.version}</Export-Package>
- -->
<Export-Package>org.apache.bval.*</Export-Package>
<Import-Package>javax.persistence.*;resolution:=optional,*</Import-Package>
- <!-- Eclipse metadata -->
- <Eclipse-Autostart>false</Eclipse-Autostart>
- <Bundle-ClassPath>.</Bundle-ClassPath>
<!-- geronimo spec osgi services support -->
<SPI-Provider>true</SPI-Provider>
</instructions>
@@ -167,5 +74,30 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <configuration>
+ <attach>false</attach>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
Modified: incubator/bval/trunk/bval-core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-core/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/bval-core/pom.xml (original)
+++ incubator/bval/trunk/bval-core/pom.xml Mon May 24 15:43:24 2010
@@ -70,14 +70,6 @@
</dependencies>
<build>
- <defaultGoal>install</defaultGoal>
-
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
-
<plugins>
<!--
get the svn revision number and project version
@@ -123,33 +115,28 @@ project.version=${project.version}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>org.apache.bval.util.BeanValidationVersion</mainClass>
- </manifest>
- </archive>
- </configuration>
- </plugin>
-
- <!--
- Create a tests.jar so we can reuse some of the base
- test classes in other modules.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
+ <id>default-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.apache.bval.util.BeanValidationVersion</mainClass>
+ </manifest>
+ </archive>
+ </configuration>
+ </execution>
+ <execution>
<id>attach-tests</id>
- <phase>verify</phase>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
-
</plugins>
</build>
</project>
Modified: incubator/bval/trunk/bval-guice/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-guice/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/bval-guice/pom.xml (original)
+++ incubator/bval/trunk/bval-guice/pom.xml Mon May 24 15:43:24 2010
@@ -40,18 +40,15 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>apache-bval</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
- <version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>aopalliance</groupId>
<artifactId>aopalliance</artifactId>
- <version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: incubator/bval/trunk/bval-json/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-json/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/bval-json/pom.xml (original)
+++ incubator/bval/trunk/bval-json/pom.xml Mon May 24 15:43:24 2010
@@ -40,7 +40,6 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-core</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
@@ -54,8 +53,6 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-core</artifactId>
- <version>${project.version}</version>
- <!-- <classifier>test-base</classifier> -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
Modified: incubator/bval/trunk/bval-jsr303/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-jsr303/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/bval-jsr303/pom.xml (original)
+++ incubator/bval/trunk/bval-jsr303/pom.xml Mon May 24 15:43:24 2010
@@ -36,32 +36,6 @@
<description>Implementation specific classes for JSR 303 Bean Validation 1.0</description>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <show>package</show>
- </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>
- <version>2.0-beta-2</version>
- </plugin>
- </plugins>
- </reporting>
-
<profiles>
<profile>
<id>jaxb</id>
@@ -127,7 +101,6 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>bval-core</artifactId>
- <version>${pom.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
@@ -168,28 +141,6 @@
</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>
- </extension>
- </extensions>
-
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Modified: incubator/bval/trunk/bval-tck/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-tck/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/bval-tck/pom.xml (original)
+++ incubator/bval/trunk/bval-tck/pom.xml Mon May 24 15:43:24 2010
@@ -35,7 +35,6 @@
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>apache-bval</artifactId>
- <version>${project.version}</version>
</dependency>
</dependencies>
Modified: incubator/bval/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/pom.xml?rev=947674&r1=947673&r2=947674&view=diff
==============================================================================
--- incubator/bval/trunk/pom.xml (original)
+++ incubator/bval/trunk/pom.xml Mon May 24 15:43:24 2010
@@ -82,7 +82,7 @@
<issueManagement>
<url>https://issues.apache.org/jira/browse/BVAL</url>
</issueManagement>
-
+
<developers>
<developer>
<id>romanstumm</id>
@@ -105,7 +105,7 @@
<distributionManagement>
<site>
<id>apache-website</id>
- <url>${site.deploy.url}/maven/${siteId}/${version}</url>
+ <url>${site.deploy.url}/maven/${siteId}/${project.version}</url>
</site>
</distributionManagement>
@@ -118,6 +118,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.6</version>
<configuration>
<show>package</show>
<quiet>true</quiet>
@@ -139,6 +140,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
+ <version>2.0-beta-2</version>
</plugin>
</plugins>
</reporting>
@@ -148,6 +150,44 @@
-->
<dependencyManagement>
<dependencies>
+ <!-- internal -->
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>apache-bval</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-core</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-jsr303</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-guice</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-json</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>bval-tck-runner</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
<!-- Default of Apache Geronimo version of the Spec API -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
@@ -180,7 +220,6 @@
<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>
@@ -191,7 +230,6 @@
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.8.3</version>
- <!-- 1.8.0 is also compatible -->
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
@@ -209,6 +247,17 @@
<artifactId>freemarker</artifactId>
<version>2.3.15</version>
</dependency>
+ <!-- Optional - only used by bval-guice -->
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>2.0</version>
+ </dependency>
+ <dependency>
+ <groupId>aopalliance</groupId>
+ <artifactId>aopalliance</artifactId>
+ <version>1.0</version>
+ </dependency>
</dependencies>
</dependencyManagement>
@@ -219,46 +268,19 @@
<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-compiler-plugin</artifactId>
- <version>2.1</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
@@ -266,6 +288,59 @@
</configuration>
</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>org.apache</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>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ <!-- Include the Incubating disclaimer -->
+ <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
+ </resourceBundles>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
@@ -300,9 +375,9 @@
</executions>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>rat-maven-plugin</artifactId>
- <version>1.0-alpha-3</version>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.6</version>
<configuration>
<excludeSubProjects>false</excludeSubProjects>
<numUnapprovedLicenses>0</numUnapprovedLicenses>
@@ -313,9 +388,6 @@
-->
<exclude>**/javax.validation.spi.ValidationProvider</exclude>
- <!-- General informational files -->
- <exclude>README.txt</exclude>
-
<!-- generated content -->
<exclude>**/.*/**</exclude>
<exclude>**/*.ftl</exclude>
@@ -345,23 +417,6 @@
<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>
@@ -372,7 +427,7 @@
<configuration>
<rules>
<requireMavenVersion>
- <version>[2.0.9,)</version>
+ <version>[2.2.1,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.5,)</version>
@@ -383,69 +438,16 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <resourceBundles>
- <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
- <!-- Include the Incubating disclaimer -->
- <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
- </resourceBundles>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
</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>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
- <tarLongFileMode>gnu</tarLongFileMode>
- <descriptorRefs>
- <descriptorRef>
- source-release
- </descriptorRef>
- </descriptorRefs>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.apache.resources</groupId>
- <artifactId>apache-source-release-assembly-descriptor</artifactId>
- <version>1.0.2</version>
- </dependency>
- </dependencies>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>ianal-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
@@ -459,128 +461,5 @@
<module>bval-tck</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>org.apache</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>