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/07/23 19:23:13 UTC

[jira] Updated: (MAVEN-1280) Support project local dependencies

The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Fri, 23 Jul 2004 1:22 PM
    Comment:
we need to use a proper id for jar overrides and document it in 1.1.

I'd suggest maven.jar.groupId.artifactId (but also look for just artifactId to be backwards compatible).

eg
maven.jar.org.apache.maven.maven = maven.jar
    Changes:
             Fix Version changed to 1.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1280?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1280

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1280
    Summary: Support project local dependencies
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
             documentation
   Fix Fors:
             1.1
   Versions:
             1.0-rc4

   Assignee: 
   Reporter: Archimedes Trajano

    Created: Fri, 14 May 2004 5:15 AM
    Updated: Fri, 23 Jul 2004 1:22 PM

Description:
Maven should add support for project local dependencies where a jar file is stored in one of the lib folders in the project.

Currently there is undocumented support for it using maven.jar.<id> however the use of <id> is deprecated and should be removed.

Another way I can think of is to use the properties project.path and local.path

project.path == dependency relative to the location of the project.xml file.  This ensures that you are on the right file by using getParent of the project.getFile() method.

local.path == dependency wherever on the system (just like maven.jar)

This would help speed up migration of ant projects to maven projects.


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