maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Include maven dependencies inside jar file
Date Wed, 12 Jun 2013 20:07:43 GMT
IIRC, there is no Java standard to put dependency JARs in a jar file. So I
believe there is some Eclipse magic (hence that file) to get that rolling.

/Anders


On Wed, Jun 12, 2013 at 9:59 PM, Jorge Infante Osorio <jorgeio@uci.cu>wrote:

> Wayne, I do the check and yes the dependency is inside the exec jar and
> yes inside that dependency I found the class AxisFault.class.
>
> When I ask about a class loader and put the eclipse example it´s because I
> see this difference when compare the two jar, one generate by eclipse and
> the another by maven.
>
> Saludos,
> Ing. Jorge Infante Osorio.
> CDAE.
> Fac. 5.
> UCI.
> “En un mundo perfecto las pizzas serían una comida saludable, las laptops
> se cargarían desde una fuente de corriente inalámbrica y todos los JAR
> serían bundles de OSGI ”
>
>
> -----Mensaje original-----
> De: Wayne Fay [mailto:waynefay@gmail.com]
> Enviado el: miércoles, 12 de junio de 2013 14:32
> Para: Maven Users List
> Asunto: Re: Include maven dependencies inside jar file
>
> > I double check and maven include this dependency inside the exec jar:
> > axis2-1.6.1.wso2v6.jar and this dependency have
> > org\apache\axis2\AxisFault.class
>
> Unzip your jar file (or just drill into it) and see if that
> AxisFault.class file is inside the jar you created.
>
> > I could be a problem with the class loader? Eclipse include this package
> inside the exec jar:
> > org\eclipse\jdt\internal\jarinjarloader
>
> I really have no idea how Eclipse creates executable jars, nor any special
> interest in it. I'm here to talk about Maven.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
> http://www.uci.cu
>
> http://www.uci.cu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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