ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: access plugin dependencies and trigger downloading of dependencies with maven ant tasks
Date Tue, 07 Sep 2010 14:34:40 GMT
I dont know the Maven tasks, but with Ivy you'll get the path with all required libraries with
<ivy:cachepath pathid="bsf.path" organisation="bsf" module="bsf" revision="2.4.0" inline="true"/>

I havent found a quick way to read an existing POM ...


>-----Urspr√ľngliche Nachricht-----
>Von: Jacob Beard [] 
>Gesendet: Dienstag, 7. September 2010 04:58
>Betreff: access plugin dependencies and trigger downloading of 
>dependencies with maven ant tasks
>I was wondering if there is a way to access plugin dependencies using
>maven ant tasks. So, if you have something like the following in
>      <plugin>
>        <artifactId>maven-antrun-plugin</artifactId>
>        <version>1.4</version>
>	<dependencies>
>		<dependency>
>			<groupId>bsf</groupId>
>			<artifactId>bsf</artifactId>
>			<version>2.4.0</version>
>		</dependency>
>                ...
>        </dependencies>
>     </plugin>
>To read these plugin dependencies into a path in ant, like you can
>with regular regular dependencies (those that are direct children of
>the pom root element).
>I was also wondering if it's possible to trigger downloading of
>dependencies in a maven pom. It seems from the documentation that
>maven ant tasks allows one to read dependencies in a pom into an ant
>path or fileset, but it's not clear to me how to download them and
>install them into the local repository from ant.
>I'd appreciate any guidance anyone can offer. Thanks,
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message