maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Dependency to native dll
Date Tue, 16 Nov 2010 12:07:24 GMT
Declare it as a dependency in the maven-plugin. That is, in the project
where you develop the plugin. Just like any dependency.

Or if you want to be able to change this dependency (like version or what
ever), you can add it as a dependency to the plugin where you bind the
plugin in your maven project.

/Anders

On Tue, Nov 16, 2010 at 12:55, Halvor Platou <Halvor.Platou@marinecyb.com>wrote:

> Thanks for your reply.
>
> This is working perfectly for a normal maven project, but when my
> maven-plugin has a dependency to the dll, I can't figure out how the plugin
> itself can fetch this dependency during execution. I don't find the dll in
> the target-folder for the project that is build using my plugin.
>
> Halvor
>
> -----Original Message-----
> From: anders.g.hammar@gmail.com [mailto:anders.g.hammar@gmail.com] On
> Behalf Of Anders Hammar
> Sent: 16. november 2010 12:36
> To: Maven Developers List
> Subject: Re: Dependency to native dll
>
> Add it to your repo and declare a dependency. Loads of dissussions about
> this on the Internet. Here's one:
>
> http://stackoverflow.com/questions/1001774/managing-dll-dependencies-with-maven
>
> /Anders
>
> On Tue, Nov 16, 2010 at 12:27, Halvor Platou <Halvor.Platou@marinecyb.com
> >wrote:
>
> > I'm developing a plugin that has a dependency to a native dll. How can I
> > find and load this dll during execution of my plugin?
> >
> >
> > Halvor
> >
> > Marine Cybernetics
> > Office Address: Vestre Rosten 77, 9th floor
> > Postal Address: Vestre Rosten 77, NO-7075 TILLER, NORWAY
> > Telephone: [+47] 98 62 58 50
> > Fax: [+47] 72 88 43 31
> > E-mail: halvor.platou@marinecyb.com
> > URL: www.marinecybernetics.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message