[ http://jira.codehaus.org/browse/MPARTIFACT-40?page=all ]
     
Brett Porter closed MPARTIFACT-40:
----------------------------------

    Resolution: Fixed

> PutMethod will always store artifact in the root of the repository
> ------------------------------------------------------------------
>
>          Key: MPARTIFACT-40
>          URL: http://jira.codehaus.org/browse/MPARTIFACT-40
>      Project: maven-artifact-plugin
>         Type: Bug
>  Environment: cvs version of maven-plugins (HEAD)
>     Reporter: Matthew Daniel
>      Fix For: 1.5

>
>
> As seen in CVS HEAD:
> http://cvs.apache.org/viewcvs.cgi/maven-plugins/artifact/src/main/org/apache/maven/deploy/deployers/HttpDeployer.java?view=markup
> PutMethod uses the Repository's URL as the URI for the PUT request. It should 
> actually be
>  
> // url is the variable set at the beginning of the method
> // that contains a java.net.URL of the Repository.Url property
> new PutMethod(new URL(url, request.getDestFile()));
> which will cause it to build the Mavenized directory structure in the 
> repository.
> I've tried this with a caching WebDAV server we use here and it works great 
> (after you apply the patch about HostConfiguration.Port, which I will address 
> in a separate bug report).

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

Reply via email to