maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Heuer (JIRA)" <j...@codehaus.org>
Subject [jira] (MDEPLOY-177) Maven release:perform hangs when downloading maven-metadata.xml
Date Wed, 02 Apr 2014 01:07:00 GMT

    [ https://jira.codehaus.org/browse/MDEPLOY-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343966#comment-343966
] 

Michael Heuer commented on MDEPLOY-177:
---------------------------------------

The 1.8.5 release has a dependency on wagon-ssh version 2.6

{code:xml}
    <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-ssh</artifactId>
         <version>2.6</version>
       </extension>
     </extensions>
{code}

I tried deploying 1.8.6-SNAPSHOT with versions 2.5 and 2.4 with the same result
{code:none}
$ mvn -e -X deploy --debug
...
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/
with username=mheuer
Downloading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.6-SNAPSHOT/maven-metadata.xml
603/602 B
{code}

Another developer was able to cut a release (version 3.0.8) from a different codebase to the
same maven repository recently, see e.g.

https://github.com/biojava/biojava/releases
http://biojava.org/download/maven/org/biojava/biojava/maven-metadata.xml
http://biojava.org/download/maven/org/biojava/biojava/3.0.8/biojava-3.0.8.pom

The pom files are kept in sync as much as possible (whitespace formatting aside)

https://github.com/biojava/biojava/blob/master/pom.xml
https://github.com/biojava/biojava-legacy/blob/master/pom.xml

> Maven release:perform hangs when downloading maven-metadata.xml
> ---------------------------------------------------------------
>
>                 Key: MDEPLOY-177
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-177
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy
>    Affects Versions: 2.8.1
>         Environment: $ mvn -v
> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T11:37:52-06:00)
> Maven home: /usr/local/Cellar/maven/3.2.1/libexec
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"
>            Reporter: Michael Heuer
>            Priority: Critical
>         Attachments: deploy-debug.txt, release-perform-debug.txt
>
>
> When attempting to mvn release:perform
> {code:none}
> $ mvn release:perform
> ...
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] Building biojava-legacy 1.8.5
> [INFO] [INFO] ------------------------------------------------------------------------
> [INFO] [INFO] 
> [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ biojava-legacy
>>>
> [INFO] [INFO] 
> [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ biojava-legacy
<<<
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ biojava-legacy ---
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ biojava-legacy ---
> [INFO] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ biojava-legacy
---
> [INFO] [INFO] Installing /Users/xxx/working/biojava-legacy/target/checkout/pom.xml to
/Users/xxx/.m2/repository/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
> [INFO] [INFO] 
> [INFO] [INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ biojava-legacy
---
> [INFO] Uploading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
> [INFO] 4/9 KB   
> [INFO] 8/9 KB   
> [INFO] 9/9 KB   
> [INFO]          
> [INFO] Uploaded: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/1.8.5/biojava-legacy-1.8.5.pom
(9 KB at 3.0 KB/sec)
> [INFO] Downloading: scp://cloudportal.open-bio.org/home/websites/biojava.org/html/static/download/maven/org/biojava/biojava-legacy/maven-metadata.xml
> [INFO] 750/750 B   
> [INFO] 751/750 B
> {code}
> the build hangs at this point.  It appears there might be a difference between the expected
file size and the downloaded file size, but no warning/error messages appear, the build just
hangs.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message