Hi all
its kind of obvious we haven't cut any releases of Antlibs for a long
time. About three years ago the build process has been changed to use
Ivy to retrieve dependencies and ever since then the release process has
been broken.
I've fixed it well enough to be able to cut a release candidate for the
Compress Antlib but uploading artifacts has failed for me - I switched
to a manual bundle upload to get things done.
Below is what happens (before running this "ant prepare-upload" has been
executed successfully), any help by anybody more familiar with Ivy is
appreciated a lot.
Cheers
Stefan
$ ls build/java-repository/org/apache/ant/ant-compress/1.5/
ant-compress-1.5-ivy.xml ant-compress-1.5-javadoc.jar.asc
ant-compress-1.5-ivy.xml.asc ant-compress-1.5.pom
ant-compress-1.5.jar ant-compress-1.5.pom.asc
ant-compress-1.5.jar.asc ant-compress-1.5-sources.jar
ant-compress-1.5-javadoc.jar ant-compress-1.5-sources.jar.asc
$ ant upload -Dupload.user=bodewig -Dupload.password=...
Buildfile: /devel/ASF/ant-antlibs-compress/build.xml
setup-properties:
setup:
download-ivy:
[echo] installing ivy...
[get] Getting:
http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0-rc1/ivy-2.4.0-rc1.jar
[get] To: /devel/ASF/ant-antlibs-compress/ivy/ivy.jar
[get] Not modified - so not downloaded
install-ivy:
-no-resolve:
resolve:
[ivy:resolve] :: Apache Ivy 2.4.0-rc1 - 20140315220245 ::
http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: url =
jar:file:/devel/ASF/ant-antlibs-compress/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:resolve] :: resolving dependencies :: Apache Ant#ant-compress;1.5
[ivy:resolve] confs: [default, test]
[ivy:resolve] found org.apache.commons#commons-compress;1.14 in public
[ivy:resolve] found org.tukaani#xz;1.6 in public
[ivy:resolve] found org.brotli#dec;0.1.2 in public
[ivy:resolve] found junit#junit;4.11 in public
[ivy:resolve] found org.hamcrest#hamcrest-core;1.3 in public
[ivy:resolve] :: resolution report :: resolve 155ms :: artifacts dl 8ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 3 | 0 | 0 | 0 || 3 | 0 |
| test | 2 | 0 | 0 | 0 || 2 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: Apache Ant#ant-compress [sync]
[ivy:retrieve] confs: [default]
[ivy:retrieve] 0 artifacts copied, 3 already retrieved (0kB/4ms)
[ivy:retrieve] :: retrieving :: Apache Ant#ant-compress [sync]
[ivy:retrieve] confs: [test]
[ivy:retrieve] 0 artifacts copied, 2 already retrieved (0kB/3ms)
compile:
check-for-NOTICE:
antlib:
checksum-target-jar:
m2-init:
m2-copy-pom:
m2-make-pom:
m2-pom:
ivy-init:
copy-ivy.xml:
make-ivy.xml:
ivy.xml:
javadoc_check:
javadoc:
bin-dist:
check-contributors:
style-contributors:
check-changes:
style-changes:
create-readable-documents:
prepare-upload:
check-sigs:
perform-nexus-upload:
[ivy:configure] :: loading settings :: file =
/devel/ASF/ant-antlibs-compress/common/ivysettings-nexus.xml
[ivy:resolve] :: resolving dependencies :: Apache Ant#ant-compress;1.5
[ivy:resolve] confs: [default, test]
[ivy:resolve] found org.apache.commons#commons-compress;1.14 in public
[ivy:resolve] found org.tukaani#xz;1.6 in public
[ivy:resolve] found org.brotli#dec;0.1.2 in public
[ivy:resolve] found junit#junit;4.11 in public
[ivy:resolve] found org.hamcrest#hamcrest-core;1.3 in public
[ivy:resolve] :: resolution report :: resolve 72ms :: artifacts dl 5ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 3 | 0 | 0 | 0 || 3 | 0 |
| test | 2 | 0 | 0 | 0 || 2 | 0 |
---------------------------------------------------------------------
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: ERRORS
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: Apache Ant#ant-compress
[ivy:retrieve] confs: [default, test]
[ivy:retrieve] 0 artifacts copied, 5 already retrieved (0kB/5ms)
[ivy:deliver] :: delivering :: Apache Ant#ant-compress;1.5 :: 1.5 ::
integration :: Tue May 30 20:32:01 CEST 2017
[ivy:deliver] delivering ivy file to
/devel/ASF/ant-antlibs-compress/distrib/ivys/ivy-1.5.xml
[ivy:publish] :: publishing :: Apache Ant#ant-compress
BUILD FAILED
/devel/ASF/ant-antlibs-compress/common/upload.xml:40: impossible to publish
artifacts for Apache Ant#ant-compress;1.5: java.io.IOException: missing
artifact Apache Ant#ant-compress;1.5!ant-compress.pom
at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:225)
at
org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:172)
at org.apache.ivy.Ivy.publish(Ivy.java:621)
at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:311)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:271)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:857)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
Total time: 1 second
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]