Author: simonetripodi
Date: Thu Jan 12 17:39:06 2012
New Revision: 1230659
URL: http://svn.apache.org/viewvc?rev=1230659&view=rev
Log:
added the release plugin
Modified:
incubator/any23/trunk/pom.xml
Modified: incubator/any23/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/any23/trunk/pom.xml?rev=1230659&r1=1230658&r2=1230659&view=diff
==============================================================================
--- incubator/any23/trunk/pom.xml (original)
+++ incubator/any23/trunk/pom.xml Thu Jan 12 17:39:06 2012
@@ -654,6 +654,99 @@
</reporting>
<profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.7</version>
+ <executions>
+ <execution>
+ <id>rat-verify</id>
+ <phase>test</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifest>
+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+
<Implementation-Build>${implementation.build}</Implementation-Build>
+
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
+
<X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
+
<X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <quiet>true</quiet>
+ <archive>
+ <manifest>
+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ </manifest>
+ <manifestEntries>
+
<Implementation-Build>${implementation.build}</Implementation-Build>
+
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
+
<X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
+
<X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
<!-- Generates Javadoc with browsable UML. -->
<profile>
<id>umlgraphdoc</id>