The following comment has been added to this issue:

     Author: Sean Kelly
    Created: Thu, 29 Jul 2004 4:31 PM
       Body:
+1 on getting this fixed.

I've got a similar scenario: we've got two Maven repositories defined in 
maven.repo.remote.  One is ibiblio, the other is a private one accessible only within 
the organizational domain.

When organizational users try to build a source distribution with ant, the build fails 
to get the dependencies because the first repository is used from maven.repo.remote, 
due to this code:

  <!-- get first repo in the list -->
  <u:tokenize var="repos" delim=",">${maven.repo.remote}</u:tokenize>
  <j:set var="repo">${repos[0]}</j:set>

Although not elegant, a workaround might be to generate each "get" with each 
repository (making M times N <get>'s for M repositories and N dependencies), and hope 
that timestamps prevent the unnecessary downloads.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANT-7?page=comments#action_22495

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANT-7

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANT-7
    Summary: ant-plugin not obeying jar override
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-ant-plugin

   Assignee: 
   Reporter: Mike Bowler

    Created: Tue, 25 Mar 2003 12:16 PM
    Updated: Thu, 29 Jul 2004 4:31 PM
Environment: Sun JDK1.3.1 on windows.  Maven from cvs on March 24, 2003

Description:
When using the ant-plugin to generate an ant build file, the generated <get> tags do 
not obey the jar overrides specified in project.properties.  All <get> tags attempt to 
load the jars from ibiblio even though an override was specified that points to the 
local harddrive.  Overrides are being used because the jar files in question are 
proprietary and cannot be uploaded to ibiblio.


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