You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2013/05/16 15:06:18 UTC
svn commit: r1483336 - /commons/proper/math/trunk/pom.xml
Author: erans
Date: Thu May 16 13:06:18 2013
New Revision: 1483336
URL: http://svn.apache.org/r1483336
Log:
MATH-976
Create a new release artefact.
Modified:
commons/proper/math/trunk/pom.xml
Modified: commons/proper/math/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=1483336&r1=1483335&r2=1483336&view=diff
==============================================================================
--- commons/proper/math/trunk/pom.xml (original)
+++ commons/proper/math/trunk/pom.xml Thu May 16 13:06:18 2013
@@ -391,7 +391,65 @@
<ignorePathToDelete>javadocs</ignorePathToDelete>
</ignorePathsToDelete>
</configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <configuration>
+ <target>
+ <jar destfile="target/commons-math3-tools-${project.version}.jar">
+ <metainf dir="${basedir}" includes="NOTICE.txt,LICENSE.txt" />
+ <manifest>
+ <attribute name="Extension-Name" value="org.apache.commons.net" />
+ <attribute name="Specification-Title" value="${project.name}" />
+ <attribute name="Implementation-Title" value="${project.name}" />
+ <attribute name="Implementation-Vendor" value="${project.organization.name}" />
+ <attribute name="Implementation-Version" value="${project.version}" />
+ <attribute name="Implementation-Vendor-Id" value="org.apache" />
+ <attribute name="Implementation-Build" value="${implementation.build}"/>
+ <attribute name="X-Compile-Source-JDK" value="${maven.compile.source}" />
+ <attribute name="X-Compile-Target-JDK" value="${maven.compile.target}" />
+ </manifest>
+ <fileset dir="target/test-classes"
+ includes="org/apache/commons/math3/PerfTestUtils*" />
+ </jar>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- Attaches the commons-math3-tools JAR to the Maven lifecycle
+ to ensure they will be signed and deployed as normal -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>target/commons-math3-tools-${project.version}.jar</file>
+ <type>jar</type>
+ <classifier>tools</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
+
</plugins>
</build>