You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Allan Ramirez (JIRA)" <ji...@codehaus.org> on 2006/02/21 08:06:30 UTC

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

     [ http://jira.codehaus.org/browse/MDEPLOY-21?page=all ]

Allan Ramirez updated MDEPLOY-21:
---------------------------------

    Remaining Estimate: 5 hours
     Original Estimate: 5 hours

> 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

>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org