On 5/24/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> >
> > <dependency>
> >    <groupId>nativeAccessJni</groupId>
> >    <artifactId>nativeAccessJni.dll</artifactId>
> >    <version>1.0-SNAPSHOT</version>
> >    <jar>1.0-SNAPSHOT/nativeAccessJni.dll</jar>
> >    <type>dll</type>
> > </dependency>

Why do you need to modify the path name here? The <jar/> tag is
deprecated, see: http://maven.apache.org/faq.html#unversioned-jars

When copying out of the repo, you can rename it if you need that filename.

> > <resources>
> >    <resource>
> >         
> > <directory>${maven.repo.local}/nativeAccessJni/dlls/1.0-SNAPSHOT</directory>
> >         <targetPath>.</targetPath>
> >    </resource>
> > </resources>

This isn't what resources are for. You need to write a custom script
that uses getDependencyPath to find the dependency from the local
repo, and copy it to the location you want. No version duplication
necessary :)

- Brett

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

Reply via email to