[jira] Reopened: (MDEPLOY-21) Deploying an artifact from the local directory failed if the associated pom file is not renamed

2006-02-27 Thread John Casey (JIRA)
 [ http://jira.codehaus.org/browse/MDEPLOY-21?page=all ]
 
John Casey reopened MDEPLOY-21:
---


> Deploying an artifact from the local directory failed if the associated pom 
> file is not renamed
> ---
>
>  Key: MDEPLOY-21
>  URL: http://jira.codehaus.org/browse/MDEPLOY-21
>  Project: Maven 2.x Deploy Plugin
> Type: Bug

> Versions: 2.0
>  Environment: PowerBook G4, Mac OS X 10.4.4, J2SDK1.5, Maven 2.0.2
> Reporter: Romain Rouvoy
> Assignee: Allan Ramirez
>  Fix For: 2.2

>
> Original Estimate: 5 hours
> Remaining: 5 hours
>
> mvn deploy:deploy-file -Dfile=fractal-2.0.1.jar - DpomFile=fractal-2.0.1.pom 
> -Durl=... -DrepositoryId=objectweb-release
> These files have been previously successfully copied to my local repository 
> using a mvn install:install-file command. I execute the deploy command from 
> the local repository.
> But I obdtain the following error:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> --
> --
> [INFO] Building Maven Default Project
> [INFO]task-segment: [deploy:deploy-file] (aggregator-style)
> [INFO]
> --
> --
> [INFO] [deploy:deploy-file]
> Uploading: scp://forge.objectweb.org/var/lib/gforge/chroot/home/
> groups/maven/htdocs/maven2/org/objectweb/fractal/fractal/2.0.1/
> fractal-2.0.1.jar
> 11K uploaded
> [INFO] Retrieving previous metadata from objectweb-release [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> --
> [INFO] Error installing artifact's metadata: Error installing
> metadata: Error rewriting POM
> /Users/rouvoy/.m2/repository/org/objectweb/fractal/fractal/2.0.1/
> fractal-2.0.1.pom (No such file or directory) [INFO]
> --
> --
> [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Fri Jan 20 17:09:51 CET 2006 [INFO] Final Memory: 3M/5M 
> [INFO]
> --
> --
> And my local pom file has been deleted by the mvn command :'-(
> In fact I can not use the default pom file generated by install-file to 
> deploy. I need to rename it before deploying ... otherwise the rewriting of 
> the pom file will failed :-(

-- 
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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Reopened: (MDEPLOY-21) Deploying an artifact from the local directory failed if the associated pom file is not renamed

2006-01-27 Thread Romain Rouvoy (JIRA)
 [ http://jira.codehaus.org/browse/MDEPLOY-21?page=all ]
 
Romain Rouvoy reopened MDEPLOY-21:
--


The problem did not come from the url parameter because you can see in the 
trace "Uploading: 
scp://forge.objectweb.org/var/lib/gforge/chroot/home/groups/maven/htdocs/maven2/org/objectweb/fractal/fractal/2.0.1/"
 (the real value of url).

The problem is that the fractal-2.0.1.pom used to describe the artifact is 
first deleted from the local filesytem before being uploaded to the maven 
repository. Therefore the pom uploading fails given that the file is no more 
available.

> Deploying an artifact from the local directory failed if the associated pom 
> file is not renamed
> ---
>
>  Key: MDEPLOY-21
>  URL: http://jira.codehaus.org/browse/MDEPLOY-21
>  Project: Maven 2.x Deploy Plugin
> Type: Bug

> Versions: 2.0
>  Environment: PowerBook G4, Mac OS X 10.4.4, J2SDK1.5, Maven 2.0.2
> Reporter: Romain Rouvoy
> Assignee: Allan Ramirez

>
>
> mvn deploy:deploy-file -Dfile=fractal-2.0.1.jar - DpomFile=fractal-2.0.1.pom 
> -Durl=... -DrepositoryId=objectweb-release
> These files have been previously successfully copied to my local repository 
> using a mvn install:install-file command. I execute the deploy command from 
> the local repository.
> But I obdtain the following error:
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> --
> --
> [INFO] Building Maven Default Project
> [INFO]task-segment: [deploy:deploy-file] (aggregator-style)
> [INFO]
> --
> --
> [INFO] [deploy:deploy-file]
> Uploading: scp://forge.objectweb.org/var/lib/gforge/chroot/home/
> groups/maven/htdocs/maven2/org/objectweb/fractal/fractal/2.0.1/
> fractal-2.0.1.jar
> 11K uploaded
> [INFO] Retrieving previous metadata from objectweb-release [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> --
> [INFO] Error installing artifact's metadata: Error installing
> metadata: Error rewriting POM
> /Users/rouvoy/.m2/repository/org/objectweb/fractal/fractal/2.0.1/
> fractal-2.0.1.pom (No such file or directory) [INFO]
> --
> --
> [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Fri Jan 20 17:09:51 CET 2006 [INFO] Final Memory: 3M/5M 
> [INFO]
> --
> --
> And my local pom file has been deleted by the mvn command :'-(
> In fact I can not use the default pom file generated by install-file to 
> deploy. I need to rename it before deploying ... otherwise the rewriting of 
> the pom file will failed :-(

-- 
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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]