[ImageJ-devel] releaseVersion.sh script failed -- how to recover

Tobias Pietzsch pietzsch at mpi-cbg.de
Tue Dec 16 08:18:50 CST 2014


Ok, and the same thing happened with bigdataviewer-core. Failed on releasing the javadoc and is now stuck…

I don’t really understand what goes on in the release-version.sh script. From the git history of that script it does not look like there have been recent changes that could explain why it fails now and didn’t a few weeks back. Is there something changed in the maven.imagej.net that could cause it?

best regards,
Tobias

On 16 Dec 2014, at 14:54, Tobias Pietzsch <pietzsch at mpi-cbg.de> wrote:

> Hi,
> 
> I just tried to releaseVersion.sh for https://github.com/bigdataviewer/spimdata project.
> It failed in the middle of the release:
> In the imagej maven repository http://maven.imagej.net/index.html#nexus-search;quick~spim_data the 
> spim_data-1.0.0-beta-4.jar and
> spim_data-1.0.0-beta-4-sources.jar are there.
> The upload of the spim_data-1.0.0-beta-4-javadoc.jar is missing.
> That’s where the script failed:
>> Dec 16, 2014 2:36:40 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:40 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Uploaded: http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/maven-metadata.xml (772 B at 0.4 KB/sec)
> Uploading: dav:http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar
> Dec 16, 2014 2:36:41 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:41 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:42 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:42 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:42 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:43 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Uploaded: dav:http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar (114 KB at 44.1 KB/sec)
> Uploading: dav:http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar
> Dec 16, 2014 2:36:43 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> Dec 16, 2014 2:36:44 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
> INFO: basic authentication scheme selected
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.047 s
> [INFO] Finished at: 2014-12-16T14:36:44+01:00
> [INFO] Final Memory: 33M/447M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project spim_data: Failed to deploy artifacts: Could not transfer artifact sc.fiji:spim_data:jar:sources:1.0.0-beta-4 from/to imagej.releases (dav:http://maven.imagej.net/content/repositories/releases): Failed to transfer file: http://maven.imagej.net/content/repositories/releases/sc/fiji/spim_data/1.0.0-beta-4/spim_data-1.0.0-beta-4-sources.jar. Return code is: 400 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> pietzsch at tomancak-mac-17:~/workspace/BigDataViewer/SpimData ((spim_data-1.0.0-beta-4))$
> 
> 
> Now, I don’t know how to proceed...
> In git I’m in a detached HEAD state at spim_data-1.0.0-beta-4.
> Can I somehow manually try to upload the spim_data-1.0.0-beta-4-javadoc.jar?
> And then just checkout master branch again?
> Or, can I git reset HEAD^ and re-run the releaseVersion.sh (Is it even possible to re-deploy the already deployed jars…)?
> 
> thanks for any help,
> Tobias
> _______________________________________________
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
> http://imagej.net/mailman/listinfo/imagej-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20141216/51a76069/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20141216/51a76069/attachment.pgp>


More information about the ImageJ-devel mailing list