You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rick Mann <rm...@latencyzero.com> on 2005/08/29 04:06:10 UTC
dependencies on native libraries?
Are they handled by Maven2?
TIA,
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependencies on native libraries?
Posted by Brett Porter <br...@gmail.com>.
<type>so</type> should do the trick.
Once the native plugin is fully functional and release it may provide
more useful types like "dynamic-library".
- Brett
On 8/29/05, Rick Mann <rm...@latencyzero.com> wrote:
>
> On Aug 28, 2005, at 7:32 PM, Brett Porter wrote:
>
> > This should work just fine if you set their scope to "runtime".
> >
> > If that is not the case, we may need to review how the WAR plugin
> > chooses to include dependencies.
>
> OK. Basic question: How do I get it to grab a .so file instead of
> a .jar?
>
> TIA,
>
>
> --
> Rick
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependencies on native libraries?
Posted by Rick Mann <rm...@latencyzero.com>.
On Aug 28, 2005, at 7:32 PM, Brett Porter wrote:
> This should work just fine if you set their scope to "runtime".
>
> If that is not the case, we may need to review how the WAR plugin
> chooses to include dependencies.
OK. Basic question: How do I get it to grab a .so file instead of
a .jar?
TIA,
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependencies on native libraries?
Posted by Brett Porter <br...@gmail.com>.
This should work just fine if you set their scope to "runtime".
If that is not the case, we may need to review how the WAR plugin
chooses to include dependencies.
- Brett
On 8/29/05, Rick Mann <rm...@latencyzero.com> wrote:
>
> On Aug 28, 2005, at 7:08 PM, Brett Porter wrote:
>
> > That depends on what you want to do with them. Yes, they are able to
> > be retrieved like anything else, but only the as-yet-unreleased native
> > plugin makes any use of them. They are not put into any system paths,
> > for example.
>
> In this case, we use the Verisign credit card processing API. It
> consists of a .jar file and a couple of .so files. I only need
> the .jar file to be in the CP during compile, but I need all of them
> to be copied to the WEB-INF/classes dir when building.
>
> --
> Rick
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependencies on native libraries?
Posted by Rick Mann <rm...@latencyzero.com>.
On Aug 28, 2005, at 7:08 PM, Brett Porter wrote:
> That depends on what you want to do with them. Yes, they are able to
> be retrieved like anything else, but only the as-yet-unreleased native
> plugin makes any use of them. They are not put into any system paths,
> for example.
In this case, we use the Verisign credit card processing API. It
consists of a .jar file and a couple of .so files. I only need
the .jar file to be in the CP during compile, but I need all of them
to be copied to the WEB-INF/classes dir when building.
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: dependencies on native libraries?
Posted by Brett Porter <br...@gmail.com>.
That depends on what you want to do with them. Yes, they are able to
be retrieved like anything else, but only the as-yet-unreleased native
plugin makes any use of them. They are not put into any system paths,
for example.
- Brett
On 8/29/05, Rick Mann <rm...@latencyzero.com> wrote:
> Are they handled by Maven2?
>
> TIA,
>
> --
> Rick
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org