You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/29 20:03:08 UTC
[jira] Created: (MPARTIFACT-40) PutMethod will always store artifact in the root of the repository
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPARTIFACT-40) PutMethod will always store artifact in the root of the repository
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPARTIFACT-40) PutMethod will always store artifact in the root of the repository
Posted by ji...@codehaus.org.
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Fri, 29 Oct 2004 9:15 PM
Changes:
Fix Version changed to 1.4.2
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPARTIFACT-40?page=history
---------------------------------------------------------------------
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
Fix Fors:
1.4.2
Assignee:
Reporter: Matthew Daniel
Created: Fri, 29 Oct 2004 2:03 PM
Updated: Fri, 29 Oct 2004 9:15 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org