maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <ja...@maven.org>
Subject Re: Determine the path to a JAR file
Date Thu, 12 Oct 2006 12:19:17 GMT

On 12 Oct 06, at 3:55 AM 12 Oct 06, Aaron.Digulla@Globus.ch wrote:

> Hello,
>
> How do I determine the absolute path for a JAR in the repository?
>
> In the StatCVS plugin for Maven2, I need to know where
> statcvs:statcvs:0.2.3 is. Since I have to fork a Java process, it's  
> not
> enough just to define this dependency in the pom of the plugin, I  
> need a
> way to determine its path after maven's dependency mechanism has
> downloaded it for me.
>

Artifact.getFile()

> This also means I cannot ask for ${project.dependencies} because  
> it's a
> dependency of the plugin, not the project.
>
> Regards,
>
> -- 
> Aaron Digulla
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message