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.pla...@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.ham...@gmail.com [mailto:anders.g.ham...@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.pla...@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.pla...@marinecyb.com
> > URL: www.marinecybernetics.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> > For additional commands, e-mail: dev-h...@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to