Nobody?
2005/5/23, Wim Deblauwe <[EMAIL PROTECTED]>:
> Hi,
>
> I have this dependency I want to specify on a dll:
>
> <dependency>
> <groupId>nativeAccessJni</groupId>
> <artifactId>nativeAccessJni.dll</artifactId>
> <version>1.0-SNAPSHOT</version>
> <jar>1.0-SNAPSHOT/nativeAccessJni.dll</jar>
> <type>dll</type>
> </dependency>
>
> This works fine, but the version number is in there twice. Is it
> possible to refer to the version number like this:
>
> <dependency>
> <groupId>nativeAccessJni</groupId>
> <artifactId>nativeAccessJni.dll</artifactId>
> <version>1.0-SNAPSHOT</version>
> <jar>${dependency.version}/nativeAccessJni.dll</jar>
> <type>dll</type>
> </dependency>
>
> Additionally, I want this dll in my jar, so I add in the resources:
>
> <resources>
> <resource>
>
> <directory>${maven.repo.local}/nativeAccessJni/dlls/1.0-SNAPSHOT</directory>
> <targetPath>.</targetPath>
> </resource>
> </resources>
>
> Here the version is appearing again!
>
> Any suggestions on how to avoid having to update the version 3 times,
> would be very much appreciated.
>
> regards,
>
> Wim
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]