Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPARTIFACT-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPARTIFACT-40
    Summary: PutMethod will always store artifact in the root of the repository
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-artifact-plugin

   Assignee: 
   Reporter: Matthew Daniel

    Created: Fri, 29 Oct 2004 2:03 PM
    Updated: Fri, 29 Oct 2004 2:03 PM
Environment: cvs version of maven-plugins (HEAD)

Description:
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).


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to