[ 
http://jira.codehaus.org/browse/MSTAGE-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_120012
 ] 

Daniel Kulp commented on MSTAGE-4:
----------------------------------


I ran into this before as well.   It's waiting for someone to hit "Y" to a 
"overwrite y/n?" question on a "mv" or "cp" command.  (cannot remember which)   
 Most likely, someone cancelled a previous run of stage or something so there 
are files of the same name already sitting there.

The stage plugin PROBABLY should add a --force flag to the command to make it 
work.   Or at the very least, change the plugin to allow interactive stuff to 
work properly so that you can see the question (cannot use buffered IO) and 
respond to it.




> stage-plugin hangs
> ------------------
>
>                 Key: MSTAGE-4
>                 URL: http://jira.codehaus.org/browse/MSTAGE-4
>             Project: Maven 2.x Stage Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows XP SP2, Java 1.5.0_12
>            Reporter: Dan Fabulich
>            Priority: Critical
>
> Today I tried to release Surefire by running mvn stage:copy 
> -Dsource="http://people.apache.org/~dfabulich/staging-repo"; 
> -Dtarget="scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository"
>  -Dversion=2.4 -DtargetRepositoryId=apache.releases
> After downloading a bunch of files, the stage plugin hung; I ultimately had 
> to kill it with Ctrl-C.
> [INFO] Downloading file from the source repository: 
> /org//apache//maven//surefire//surefire//maven-metadata.xml.md5
> [INFO] Downloading file from the source repository: 
> /org//apache//maven//surefire//surefire//maven-metadata.xml.sha1
> [INFO] Downloading metadata from the target repository.
> [INFO] Creating zip file.
> [INFO] Creating rename script.
> [INFO] Uploading zip file to the target repository.
> [INFO] Unpacking zip file on the target machine.
> [INFO] Deleting zip file from the target repository.
> [INFO] Running rename script on the target machine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to