These are the changes (which incorporates Gintas suggestion) that might help get us past the upload issue.
Change to ivy.xml of compress project: diff --git a/ivy.xml b/ivy.xml index eb034ac..6c5e823 100644 --- a/ivy.xml +++ b/ivy.xml @@ -18,7 +18,7 @@ --> <ivy-module version="2.0"> - <info organisation="Apache Ant" + <info organisation="org.apache.ant" module="${artifact.name}" revision="${artifact.version}" publication="${artifact.publication.datetime}”> Change to common project (against the latest commit in upstream): diff --git a/build.xml b/build.xml index 745fd89..f9785a1 100644 --- a/build.xml +++ b/build.xml @@ -453,7 +453,7 @@ <target name="prepare-upload" depends="bin-dist"> <property name="upload.dir" - value="${build.javarepository}/org.apache.ant/${artifact.name}/${artifact.version}"/> + value="${build.javarepository}/org/apache/ant/${artifact.name}/${artifact.version}"/> <mkdir dir="${upload.dir}"/> <copy file="${jarname}" todir="${upload.dir}"/> <copy file="${target.pom}" todir="${upload.dir}"/> diff --git a/upload.xml b/upload.xml index d4910e6..a0165dc 100644 --- a/upload.xml +++ b/upload.xml @@ -35,7 +35,7 @@ <ivy:retrieve settingsRef="upload"/> <ivy:deliver settingsRef="upload"/> <ivy:publish publishivy="false" - artifactspattern="${build.javarepository}/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" + artifactspattern="${build.javarepository}/[orgPath]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" resolver="nexus" settingsRef="upload"/> </target> Let us know if this doesn’t help. -Jaikiran On 31-May-2017, at 4:41 PM, Gintautas Grigelionis <g.grigelio...@gmail.com> wrote: Use different pattern [orgPath] rather than [organisation] Gintas http://ant.apache.org/ivy/history/latest-milestone/concept.html 2017-05-31 11:36 GMT+02:00 Stefan Bodewig <bode...@apache.org>: > On 2017-05-31, Stefan Bodewig wrote: > >> I'll fix common first (and update Ivy as I go, then fix Compress and >> do a test deploy that I can easily drop again. > > /devel/ASF/ant-antlibs-compress/common/upload.xml:40: impossible to > publish artifacts for org.apache.ant#ant-compress;1.5.1: > java.io.IOException: PUT operation to URL https://repository.apache.org/ > service/local/staging/deploy/maven2/org.apache.ant/ant- > compress/ant-compress/1.5.1/ant-compress-1.5.1.pom failed with status > code 400: Bad Request > > I'm afraid Nexus doesn't like the organization. I just had a look at > Ant's own ivy.xml[1]. It uses organisation="org/apache" (slashes rather > than dots). I'll play with some variations later. > > Stefan > > [1] https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f= > release/ivy.xml > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org