maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Commented: (MPANT-21) get-deps target should download to local maven repo
Date Thu, 02 Dec 2004 11:53:12 GMT
The following comment has been added to this issue:

     Author: Chuck Daniels
    Created: Thu, 2 Dec 2004 6:51 AM
What do you mean by "detecting resources"?  As far as I know, maven doesn't do anything with
respect to resources when it is dealing with dependencies.

As far as the location of the local maven repository goes, maven doesn't have to be installed
in order to determine where a local repository would be.  Just use the default, which is ${user.home}/.maven/repository.
 I would be surprised if the majority of maven users use something other than this.  You could
even add a property (say maven.ant.local.repo) to the maven ant plugin that would allow you
to override this default value.

Even if a user of the generated ant script were to migrate to maven and use a different location
for their local maven repository, at least while they use the ant script they would avoid
re-downloading all dependencies after doing a 'clean' (which deletes target/lib).

I don't see any harm in using ${user.home}/.maven/repository instead of target/lib, and users
of the ant script avoid the annoyance of re-downloading dependencies after a 'clean'.
View this comment:

View the issue:

Here is an overview of the issue:
        Key: MPANT-21
    Summary: get-deps target should download to local maven repo
       Type: Improvement

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-ant-plugin
   Fix Fors:

   Assignee: Arnaud HERITIER
   Reporter: Chuck Daniels

    Created: Wed, 1 Dec 2004 11:44 AM
    Updated: Thu, 2 Dec 2004 6:51 AM
Environment: All

The get-deps target downloads dependencies to target/lib.  This is problematic since it forces
downloads to occur after a 'clean' is performed.  I suggest downloading to the local maven
repository, regardless of whether or not maven has been installed.  This avoids unnecessary
downloads after a 'clean' and also makes migration to maven easier.  Once a user migrates
to maven, dependencies will already exist in the local repo.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message