sha512 checksums aren't yet supported by Nexus

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806505 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2017-08-28 20:41:16 +00:00
parent df06e47470
commit 4327c38fc0
1 changed files with 6 additions and 4 deletions

View File

@ -2408,7 +2408,8 @@ under the License.
<copy todir="${repo}">
<mappedresources>
<fileset dir="build/dist/maven" includes="@{artifactId}/**"/>
<!-- add sha-512 when nexus rules are updated (1/2) -->
<fileset dir="build/dist/maven" includes="@{artifactId}/**" excludes="**/*.sha512"/>
<regexpmapper from="^([^/]+)/(.*)$$" to="org/apache/poi/\1/${version.id}/\2" handledirsep="true"/>
</mappedresources>
</copy>
@ -2434,10 +2435,11 @@ under the License.
<lastUpdated>${lastUpdated}</lastUpdated>
</versioning>
</metadata>]]></echo>
<fixcrlf srcdir="${metadir}" includes="maven-metadata.xml" eol="unix" eof="remove" />
<checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM">
<fixcrlf srcdir="${metadir}" includes="maven-metadata.xml" eol="unix" eof="remove" /> <!-- add sha-512 when nexus rules are updated -->
<!-- add sha-512 when nexus rules are updated (2/2) -->
<!--checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM">
<fileset dir="${metadir}" includes="maven-metadata.xml"/>
</checksum>
</checksum-->
<checksum algorithm="sha1" format="MD5SUM">
<fileset dir="${metadir}" includes="maven-metadata.xml"/>
</checksum>