You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by sp...@apache.org on 2010/08/27 11:17:18 UTC
svn commit: r990076 - in /xmlgraphics/commons/trunk: build.xml
xmlgraphics-commons-pom-template.pom
Author: spepping
Date: Fri Aug 27 09:17:17 2010
New Revision: 990076
URL: http://svn.apache.org/viewvc?rev=990076&view=rev
Log:
Added md5 and sha1 checksums and PGP signatures to the maven
artifacts. Added parent block to the pom file.
Modified:
xmlgraphics/commons/trunk/build.xml
xmlgraphics/commons/trunk/xmlgraphics-commons-pom-template.pom
Modified: xmlgraphics/commons/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/build.xml?rev=990076&r1=990075&r2=990076&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/build.xml (original)
+++ xmlgraphics/commons/trunk/build.xml Fri Aug 27 09:17:17 2010
@@ -268,7 +268,6 @@
<target name="uptodate-jar-sources" depends="init">
<uptodate property="jar.sources.uptodate" targetfile="${build.dir}/${name}-${version}-sources.jar">
<srcfiles dir="${src.java.dir}"/>
- <srcfiles dir="${src.java.version.dir}"/>
</uptodate>
</target>
@@ -657,16 +656,55 @@ NOTE:
<filter token="version" value="${version}"/>
<mkdir dir="${build.dir}/maven"/>
<copy file="${basedir}/xmlgraphics-commons-pom-template.pom" tofile="${build.dir}/maven/pom.xml" filtering="true"/>
+ <fileset id="bundle-files" dir="${build.dir}">
+ <patternset>
+ <include name="${name}-${version}.jar"/>
+ <include name="${name}-${version}-sources.jar"/>
+ <include name="${name}-${version}-javadoc.jar"/>
+ </patternset>
+ <patternset>
+ <include name="maven/pom.xml"/>
+ </patternset>
+ </fileset>
+ <checksum algorithm="md5">
+ <fileset refid="bundle-files"/>
+ </checksum>
+ <checksum algorithm="sha1">
+ <fileset refid="bundle-files"/>
+ </checksum>
+ <input message="Passphrase for your default private key (attention: passphrase will be echoed in clear text on the display!)" addproperty="pwd"/>
+ <antcall target="sign-file">
+ <param name="sign.archive" value="${build.dir}/${name}-${version}.jar"/>
+ <param name="pwd" value="${pwd}"/>
+ </antcall>
+ <antcall target="sign-file">
+ <param name="sign.archive" value="${build.dir}/${name}-${version}-sources.jar"/>
+ <param name="pwd" value="${pwd}"/>
+ </antcall>
+ <antcall target="sign-file">
+ <param name="sign.archive" value="${build.dir}/${name}-${version}-javadoc.jar"/>
+ <param name="pwd" value="${pwd}"/>
+ </antcall>
+ <antcall target="sign-file">
+ <param name="sign.archive" value="${build.dir}/maven/pom.xml"/>
+ <param name="pwd" value="${pwd}"/>
+ </antcall>
<jar jarfile="${build.dir}/${name}-${version}-bundle.jar">
<manifest>
<attribute name="Build-Id" value="${ts} (${user.name} [${os.name} ${os.version} ${os.arch}, Java ${java.runtime.version}])"/>
</manifest>
<fileset dir="${build.dir}">
- <include name="${name}-${version}.jar"/>
- <include name="${name}-${version}-sources.jar"/>
- <include name="${name}-${version}-javadoc.jar"/>
+ <patternset>
+ <include name="${name}-${version}.jar*"/>
+ <include name="${name}-${version}-sources.jar*"/>
+ <include name="${name}-${version}-javadoc.jar*"/>
+ </patternset>
+ </fileset>
+ <fileset dir="${build.dir}/maven">
+ <patternset>
+ <include name="pom.xml*"/>
+ </patternset>
</fileset>
- <fileset dir="${build.dir}/maven"/>
<metainf dir="${basedir}" includes="LICENSE,NOTICE"/>
</jar>
<move file="${build.dir}/${name}-${version}-bundle.jar" todir="${basedir}"/>
Modified: xmlgraphics/commons/trunk/xmlgraphics-commons-pom-template.pom
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/xmlgraphics-commons-pom-template.pom?rev=990076&r1=990075&r2=990076&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/xmlgraphics-commons-pom-template.pom (original)
+++ xmlgraphics/commons/trunk/xmlgraphics-commons-pom-template.pom Fri Aug 27 09:17:17 2010
@@ -55,12 +55,17 @@ http://maven.apache.org/maven-v4_0_0.xsd
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/commons/trunk</developerConnection>
- <url>http://svn.apache.org/viewcvs.cgi/xmlgraphics/commons/trunk/?root=Apache-SVN</url>
+ <url>http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/?root=Apache-SVN</url>
</scm>
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>7</version>
+ </parent>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org