Only if dependency have an inappropriate scope. 2009/10/23 Laurent PELLEGRINO <laurent.pellegr...@gmail.com>
> is it possible there is something in the jar library which indicates > to maven that it cannot be assembly in one-jar ? > > 2009/10/23 Laurent PELLEGRINO <laurent.pellegr...@gmail.com>: > > yes it is :( > > > > 2009/10/23 Alexander <the.malk...@gmail.com>: > >> Does this library declared in *dependencies* section? > >> > >> 2009/10/23 Laurent PELLEGRINO <laurent.pellegr...@gmail.com> > >> > >>> I have make again the jar-with-dependencies.xml step by step and > >>> forced assembly version to 2.2-beta3 and it seems now it works... > >>> However the library com.ontotext.owlim:big-owlim is never include in > >>> my jar. Even if I use the default jar-with-dependencies descriptor > >>> which contains no exclude. > >>> > >>> big-owlin is a commercial library which is used at runtime and scope > >>> is declared like that. This library is in my local repository and > >>> maven can use it because some of tests running with maven use this > >>> library with success. Is there something that can impede the copy ? > >>> > >>> Thanks > >>> > >>> Kind Regards > >>> Laurent > >>> > >>> 2009/10/23 Alexander <the.malk...@gmail.com>: > >>> > Looks good. +1. > >>> > > >>> > If default jar-with-all-dep works fine why don't you add your changes > one > >>> by > >>> > one to determine what one actually is confusing assembly work? > >>> > 2009/10/23 Nick Stolwijk <nick.stolw...@gmail.com> > >>> > > >>> >> Looks good. I don't really know what is going wrong. > >>> >> > >>> >> Just to be sure we are dealing with an assembly problem, but there > are > >>> >> classes in your target/classes directory after you have run mvn > clean > >>> >> assembly:assembly? > >>> >> > >>> >> Could you also take a look at the logging of the assembly plugin, > maybe > >>> >> even > >>> >> with -X to see whether you see anything strange. Also post it here > if > >>> you > >>> >> can. > >>> >> > >>> >> Which version of the assembly plugin are you using? > >>> >> > >>> >> With regards, > >>> >> > >>> >> Nick Stolwijk > >>> >> ~Java Developer~ > >>> >> > >>> >> IPROFS BV. > >>> >> Claus Sluterweg 125 > >>> >> 2012 WS Haarlem > >>> >> http://www.iprofs.nl > >>> >> > >>> >> > >>> >> On Fri, Oct 23, 2009 at 3:42 PM, Laurent PELLEGRINO < > >>> >> laurent.pellegr...@gmail.com> wrote: > >>> >> > >>> >> > I use the following : > >>> >> > > >>> >> > > <plugin> > >>> >> > > <artifactId>maven-assembly-plugin</artifactId> > >>> >> > > <configuration> > >>> >> > > <finalName>${pom.artifactId}-${pom.version}</finalName> > >>> >> > > <descriptors> > >>> >> > > > <descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor> > >>> >> > > </descriptors> > >>> >> > > </configuration> > >>> >> > > <executions> > >>> >> > > <execution> > >>> >> > > <phase>package</phase> > >>> >> > > <goals> > >>> >> > > <goal>single</goal> > >>> >> > > </goals> > >>> >> > > </execution> > >>> >> > > </executions> > >>> >> > > </plugin> > >>> >> > > >>> >> > 2009/10/23 Nick Stolwijk <nick.stolw...@gmail.com>: > >>> >> > > That should be the right syntax. How did you configure your pom > wrt > >>> the > >>> >> > > assembly plugin? > >>> >> > > > >>> >> > > With regards, > >>> >> > > > >>> >> > > Nick Stolwijk > >>> >> > > ~Java Developer~ > >>> >> > > > >>> >> > > IPROFS BV. > >>> >> > > Claus Sluterweg 125 > >>> >> > > 2012 WS Haarlem > >>> >> > > http://www.iprofs.nl > >>> >> > > > >>> >> > > > >>> >> > > On Fri, Oct 23, 2009 at 2:55 PM, Laurent PELLEGRINO < > >>> >> > > laurent.pellegr...@gmail.com> wrote: > >>> >> > > > >>> >> > >> mvn assembly:assenbly > >>> >> > > > >>> >> > > >>> >> > > --------------------------------------------------------------------- > >>> >> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >>> >> > For additional commands, e-mail: users-h...@maven.apache.org > >>> >> > > >>> >> > > >>> >> > >>> > > >>> > > >>> > > >>> > -- > >>> > Regards, > >>> > Alexander > >>> > > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >>> For additional commands, e-mail: users-h...@maven.apache.org > >>> > >>> > >> > >> > >> -- > >> Regards, > >> Alexander > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Regards, Alexander