Repository: flex-flexunit Updated Branches: refs/heads/develop 5f1b257e6 -> 735852c99
Fixed a problem signing the pom file with the wrong filename so the signature was invalid as soon as it is deployed. Project: http://git-wip-us.apache.org/repos/asf/flex-flexunit/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-flexunit/commit/735852c9 Tree: http://git-wip-us.apache.org/repos/asf/flex-flexunit/tree/735852c9 Diff: http://git-wip-us.apache.org/repos/asf/flex-flexunit/diff/735852c9 Branch: refs/heads/develop Commit: 735852c9957dae332e87938ceaeffcf5972306a3 Parents: 5f1b257 Author: Christofer Dutz <[email protected]> Authored: Sun Mar 29 12:37:15 2015 +0200 Committer: Christofer Dutz <[email protected]> Committed: Sun Mar 29 12:37:15 2015 +0200 ---------------------------------------------------------------------- utils.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/735852c9/utils.xml ---------------------------------------------------------------------- diff --git a/utils.xml b/utils.xml index c8bbd69..1efb345 100644 --- a/utils.xml +++ b/utils.xml @@ -46,8 +46,8 @@ <sequential> <!-- Create POM from template --> - <copy file="@{pomTemplate}" tofile="@{todir}/pom.xml"/> - <replace file="@{todir}/pom.xml"> + <copy file="@{pomTemplate}" tofile="@{todir}/@{artifact}-@{version}.pom"/> + <replace file="@{todir}/@{artifact}-@{version}.pom"> <replacefilter token="@ARTIFACT@" value="@{artifact}"/> <replacefilter token="@TYPE@" value="@{type}"/> <replacefilter token="@NAME@" value="@{name}"/> @@ -69,7 +69,7 @@ <artifact:arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file"/> <artifact:arg value="-Durl=${maven-staging-repository-url}"/> <artifact:arg value="-DrepositoryId=${maven-staging-repository-id}"/> - <artifact:arg value="-DpomFile=@{todir}/pom.xml"/> + <artifact:arg value="-DpomFile=@{todir}/@{artifact}-@{version}.pom"/> <artifact:arg value="-Dfile=@{todir}/@{artifact}-@{version}.@{type}"/> <artifact:arg value="-Dgpg.passphrase=${maven-pgp-passphrase}"/> <artifact:arg value="-Dgpg.keyname=${maven-pgp-keyname}"/> @@ -84,7 +84,7 @@ <artifact:arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file"/> <artifact:arg value="-Durl=${maven-staging-repository-url}"/> <artifact:arg value="-DrepositoryId=${maven-staging-repository-id}"/> - <artifact:arg value="-DpomFile=@{todir}/pom.xml"/> + <artifact:arg value="-DpomFile=@{todir}/@{artifact}-@{version}.pom"/> <artifact:arg value="-Dfile=@{todir}/@{artifact}-@{version}-sources.@{type}"/> <artifact:arg value="-Dclassifier=sources"/> <artifact:arg value="-Dgpg.passphrase=${maven-pgp-passphrase}"/> @@ -97,7 +97,7 @@ <artifact:arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file"/> <artifact:arg value="-Durl=${maven-staging-repository-url}"/> <artifact:arg value="-DrepositoryId=${maven-staging-repository-id}"/> - <artifact:arg value="-DpomFile=@{todir}/pom.xml"/> + <artifact:arg value="-DpomFile=@{todir}/@{artifact}-@{version}.pom"/> <artifact:arg value="-Dfile=@{todir}/@{artifact}-@{version}-javadoc.@{type}"/> <artifact:arg value="-Dclassifier=javadoc"/> <artifact:arg value="-Dgpg.passphrase=${maven-pgp-passphrase}"/>
