However, what can I do if I *can't* rename the .dll / .so files:
for example:

DevIL.dll -> DevIL-0.99.dll will be perfect for the maven 2 repository
however the dll isn't linked anymore! And if I set the version tag to
empty (<version></version>) then the POM
becomes invalid!

What can I do?

Loic

On 1/18/06, Napoleon Esmundo Ramirez <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Native libraries are treated just like any other dependency in the
> repository.  What's important is, it has to have a properly defined pom in
> the repository containing something like:
>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>swt</groupId>
>   <artifactId>swt</artifactId>
>   <version>1.0</version>
>   <packaging>dll</packaging>
> </project>
>
>
> and declared in the project as a dependency like:
>
> <project>
>   ...
>   <dependecies>
>     <dependency>
>       <groupId>swt</groupId>
>       <artifactId>swt</artifactId>
>       <version>1.0</version>
>       <type>dll</type> <!-- this is important because maven assumes a jar
> file by default -->
>     </dependency>
>   </dependecies>
>   ...
> </project>
>
> I hope this helps.
>
>
> Cheers!
> Nap
>
> On 1/18/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> >
> > this is interesting also to me, have to solve the same problem for a
> > project
> > using swt graphical libraries, and need some platform-dependant .so
> > libraries to be accessible.
> > this is easy within eclipse, but don't know how to configure it via maven.
> >
> >
> > 2006/1/17, Loïc Lefèvre <[EMAIL PROTECTED]>:
> > >
> > > Hi,
> > > It's me again, I'm currently trying to add LWJGL as a dependency to my
> > > project.
> > > However, I wonder how one can add the required native librairies
> > > (.dll, .so...) to the dependencies for example for test purposes.
> > >
> > > Do someone know?
> > >
> > > Thanks in advance!
> > > Loic
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > To Iterate is Human, to Recurse, Divine
> > James O. Coplien, Bell Labs
> >
> >
>
>

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

Reply via email to