Hello,

In my ~/build.properties I defined two remote repositories:

maven.repo.remote=http://www.ibiblio.org/maven,http://intranet.mediagenix.com/mgxdev/maven

Building one of my projects with B5 worked flawlessly. Since our
company hasn't standardised on maven yet, I tried to generate an Ant
build.xml from Maven. Except for the <get> actions in the build.xml,
the file seems ok. Here is a snippet of the <get> tags for my
dependencies:

    <get dest="lib/JMAF-2.91.jar" usetimestamp="true"
ignoreerrors="true"
src="http://www.ibiblio.org/maven,http://intranet.mediagenix.com/mgxdev/maven/JMAF/jars/JMAF-2.91.jar";></get>
    <get dest="lib/junit-3.7.jar" usetimestamp="true"
ignoreerrors="true"
src="http://www.ibiblio.org/maven,http://intranet.mediagenix.com/mgxdev/maven/junit/jars/junit-3.7.jar";></get>

I think Maven should store somewhere from what repository a library was
retrieved to the local repository. This information could then be used
by the Ant plugin to generate the correct URL to retrieve the Jars. In
the case above, JUnit should be retrieved from IBiblio, while the JMAF
library should be retrieved from our intranet.

Ringo

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to