maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <owen.omal...@gmail.com>
Subject Re: Is there a maven plugin for storing the dependency information in the jar?
Date Tue, 20 Jun 2017 20:14:39 GMT
On Tue, Jun 20, 2017 at 11:36 AM, Jochen Wiedmann <jochen.wiedmann@gmail.com
> wrote:

> On Tue, Jun 20, 2017 at 7:01 PM, Owen O'Malley <owen.omalley@gmail.com>
> wrote:
>
> >    Is there already a plugin for storing the transitive dependency
> > information in the jar's META-INF as part of the build? I'd like to
> build a
> > dynamic class loader that would be similar to shared libraries on
> > Linux/Unix, but part of that is that I need the dependency information
> > stored in the jar.
>
> I'd hope, that dependency:list could help you here. A little bit of
> parsing might be required to read the output, but it worked for me in
> the past.
>

I'd seen dependency:list (and dependency:tree), but I need the information
to automatically end up in the jar. Since the goal is to read it at process
launch, having a binary format would be best to minimize the latency.

.. Owen


> Jochen
>
>
>
> --
> The next time you hear: "Don't reinvent the wheel!"
>
> http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/
> evolution-of-the-wheel-300x85.jpg
>
> ---------------------------------------------------------------------
> 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