try:

the best you could do is to replace the version by:

${pom.getDependency('sales:sales-srv').version}

it may not work, if not I can't help - sorry - and it is a bit ugly...

- Brett

On 5/19/05, Haryon <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> most of my project depends on other of my company jars. For example, I
> could have something like that :
> <dependency>
>   <groupId>sales</groupId>
>   <artifactId>sales-srv</artifactId>
>   <version>SNAPSHOT</version>
>   <type>jar</type>
>   <url>http://intranet.mycompany/sales/sales-srv/SNAPSHOT</url>
> </dependency>
> 
> As you can see, we organised all our site generation to url
> http://intranet.mycompany/groupId/artifactId/version.
> 
> I would gladly use variables to fill in the url from the
> groupId/artifactId/version defined on the dependency. Do you know
> whether it's possible ?
> 
> http://intranet.mycompany/${dep.groupId}/${dep.artifactId}/${dep.version}
> 
> Would be awesome :)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to