hello Napoleon,
i don't understand if using the dll/so packaging i'm declaring a project
that builds native libraries, or that it depends on them (for example, at
runtime, as in the case of swt libraries). If the second case, where the .so
files should be placed ? in which subdirectory?

thanks,
valerio


2006/1/18, Napoleon Esmundo Ramirez <[EMAIL PROTECTED]>:
>
> 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 Iterate is Human, to Recurse, Divine
James O. Coplien, Bell Labs

Reply via email to