You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/01/13 02:09:54 UTC

[maven-bug] Closed: (MAVEN-189) support auto download of multiple jar files from the same 'id'

Message:

   The following issue has been closed.

   Resolver: Jason van Zyl
       Date: Sun, 12 Jan 2003 7:09 PM

You can use the <groupId>/<artifactId> or use the fugly naming scheme to 
satisfy your requiremnts. Always look at the touchstone build.
---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-189


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-189
    Summary: support auto download of multiple jar files from the same 'id'
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
  Component: core
   Versions:
             1.0-beta-7
             1.0-beta-8

   Assignee: Jason van Zyl
   Reporter: Ming Fai

    Created: Wed, 8 Jan 2003 12:57 AM
    Updated: Sun, 12 Jan 2003 7:09 PM

Description:
packages like mockobjects (http://www.ibiblio.org/maven/mockobjects/jars/) requires multiple jar file to be used together. It's fine to use it with Maven by assigning different id to each dependency. However, this make automatic download a failure as all the jar are stored under the same directory.

the current maven usage:
<dependency>
	<id>mockobjects-core</id>
	<version>0.07</version>
	<url>http://www.mockobjects.com</url>
</dependency>
<dependency>
	<id>mockobjects-j1.4-j2ee1.3</id>
	<version>0.07</version>
	<url>http://www.mockobjects.com</url>
</dependency>

the required usage for auto download:
<dependency>
	<id>mockobjects</id>
	<version>core-0.07</version>
	<url>http://www.mockobjects.com</url>
</dependency>
<dependency>
	<id>mockobjects</id>
	<version>j1.4-j2ee1.3-0.07</version>
	<url>http://www.mockobjects.com</url>
</dependency>

in order to use maven, i have to use the first configuration. however, this configuration does not support automatic download of jars. It will be great if there is a way to configure automatic download so that the package can be distributable as "maven-ready".

i think it's an issue about automatic download more than the design of dependency mechanism. it may be a good idea to add one more element in the xml to define the download location.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.werken.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira