Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Thu, 22 Jul 2004 8:02 PM
won't fix in MavenUtils... new model handles with URLs.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-258
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-258
Summary: Decouple Project reading from the File object
Type: Improvement
Status: Closed
Priority: Trivial
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
core
Assignee:
Reporter: Ben Walding
Created: Fri, 7 Feb 2003 5:54 PM
Updated: Thu, 22 Jul 2004 8:02 PM
Description:
At the moment MavenUtils has a couple getProject(File, *) methods.
Unfortunately, things like Overlord / anything that is downloading the POM via a URL
don't have File references to work with. And as such, deserializing the POM fails.
I propose we either
1) Start using URLs
2) Add a resolver to resolve lookups.
I prefer 2 as it means that I can download a project, save it to disk, have the
getProject(File) work, and if it needs a parent POM, the resolver is called. At which
point I can download that POM and return a ref to it.
Some classes that I use are visible at
http://projects.walding.com:8000/viewcvs/DataForge/dataforge-engine/src/java/com/walding/dataforge/resolvers/
I will relicense these (and any deps) under ASL if they are used in Maven in any form.
(That whole library will be come ASL compatible shortly in any event).
---------------------------------------------------------------------
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]