Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update pom.xml to generate md5 and sha for all of the artifacts.

git-svn-id: https://svn.apache.org/repos/asf/incubator/odf/trunk@1214061 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 4d5e9f1f215e161aff4ef1aee682b13818c62a44 1 parent 5d09d58
Biao Han authored
Showing with 24 additions and 37 deletions.
  1. +0 −4 assemble/bin.xml
  2. +0 −4 assemble/doc.xml
  3. +0 −13 assemble/src.xml
  4. +24 −16 pom.xml
View
4 assemble/bin.xml
@@ -28,10 +28,6 @@
<fileSet>
<directory>${project.basedir}/target/${project.version}-bin/</directory>
<outputDirectory>/</outputDirectory>
- <excludes>
- <exclude>*.md5</exclude>
- <exclude>*.sha</exclude>
- </excludes>
</fileSet>
</fileSets>
</assembly>
View
4 assemble/doc.xml
@@ -29,10 +29,6 @@
<directory>${project.basedir}/target/${project.version}-docs</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
- <excludes>
- <exclude>*.md5</exclude>
- <exclude>*.sha</exclude>
- </excludes>
</fileSet>
</fileSets>
</assembly>
View
13 assemble/src.xml
@@ -27,19 +27,6 @@
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
- <includes>
- <include>README*</include>
- <include>LICENSE*</include>
- <include>NOTICE*</include>
- <include>CHANGES*</include>
- <include>KEYS*</include>
- <include>pom.xml</include>
- </includes>
- <useDefaultExcludes>true</useDefaultExcludes>
- </fileSet>
- <fileSet>
- <!-- TODO: use expresssions instead: ${project.build.sourceDirectory}, etc -->
- <directory>${project.basedir}</directory>
<outputDirectory>/</outputDirectory>
<excludes>
<exclude>**/target/**</exclude>
View
40 pom.xml
@@ -83,7 +83,7 @@
<module>validator</module>
<module>simple</module>
</modules>
-
+
<profiles>
<profile>
<id>pedantic</id>
@@ -107,7 +107,7 @@
<profile>
<id>apache-release</id>
<properties>
- <username>devinhan</username>
+ <username>${user.name}</username>
</properties>
<build>
<plugins>
@@ -131,7 +131,7 @@
<goals>
<goal>single</goal>
</goals>
- <phase>install</phase>
+ <phase>package</phase>
<configuration>
<descriptors>
<descriptor>assemble/doc.xml</descriptor>
@@ -143,7 +143,7 @@
<goals>
<goal>single</goal>
</goals>
- <phase>install</phase>
+ <phase>package</phase>
<configuration>
<descriptors>
<descriptor>assemble/bin.xml</descriptor>
@@ -156,10 +156,11 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
+ <id>package</id>
<goals>
<goal>run</goal>
</goals>
- <phase>package</phase>
+ <phase>prepare-package</phase>
<configuration>
<tasks>
<mkdir dir="${basedir}/target/${project.version}-bin" />
@@ -184,23 +185,30 @@
<include name="KEYS" />
<include name="**/target/*-javadoc.jar" />
</fileset>
- </copy>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+ <id>checksum</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>install</phase>
+ <configuration>
+ <tasks>
<checksum algorithm="MD5" fileext=".md5">
- <fileset dir="${basedir}/target/${project.version}-bin">
+ <fileset dir="${basedir}/target">
<include name="*.zip" />
- <include name="*.?ar" />
- </fileset>
- <fileset dir="${basedir}/target/${project.version}-docs">
- <include name="*.jar" />
+ <include name="*.tar.gz" />
+ <include name="*.tar.bz2" />
</fileset>
</checksum>
<checksum algorithm="SHA1" fileext=".sha">
- <fileset dir="${basedir}/target/${project.version}-bin">
+ <fileset dir="${basedir}/target">
<include name="*.zip" />
- <include name="*.?ar" />
- </fileset>
- <fileset dir="${basedir}/target/${project.version}-docs">
- <include name="*.jar" />
+ <include name="*.tar.gz" />
+ <include name="*.tar.bz2" />
</fileset>
</checksum>
<checksum file="target/odftoolkit-${project.version}-src.zip" algorithm="SHA1" property="checksum" />
Please sign in to comment.
Something went wrong with that request. Please try again.