Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly and onejar goal Nobody can help me ? -- View this message in context: http://www.nabble.com/Maven-assembly-and-onejar

Re: Maven assembly and onejar goal

2009-10-23 Thread Nick Stolwijk
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:

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
I use the following : plugin artifactIdmaven-assembly-plugin/artifactId configuration finalName${pom.artifactId}-${pom.version}/finalName descriptors descriptorsrc/main/assembly/jar-with-dependencies.xml/descriptor /descriptors /configuration executions execution phasepackage/phase

Re: Maven assembly and onejar goal

2009-10-23 Thread Nick Stolwijk
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

Re: Maven assembly and onejar goal

2009-10-23 Thread Alexander
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

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
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.

Re: Maven assembly and onejar goal

2009-10-23 Thread Alexander
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

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
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

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
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?

Re: Maven assembly and onejar goal

2009-10-23 Thread Alexander
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

Re: Maven assembly and onejar goal

2009-10-23 Thread Nick Stolwijk
Try running mvn help:effective-pom and mvn dependencies:tree to see if it really has the appropriate scope. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Fri, Oct 23, 2009 at 6:43 PM, Alexander the.malk...@gmail.com wrote: Only if

Re: Maven assembly and onejar goal

2009-10-23 Thread Laurent PELLEGRINO
With mvn dependency:tree I see it : [INFO] | \- com.ontotext.owlim:big-owlim:jar:3.2.2:compile If I change scope to compile in assembly I don't see it in the generated jar. 2009/10/23 Nick Stolwijk nick.stolw...@gmail.com: Try running mvn help:effective-pom and mvn dependencies:tree to see

Re: Maven assembly and onejar goal

2009-10-22 Thread Laurent Pellegrino
Nobody can help me ? -- View this message in context: http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:

RE: Maven assembly and onejar goal

2009-10-22 Thread Edelson, Justin
/main/resources/assemblies/ Justin -Original Message- From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly and onejar goal Nobody can help me ? -- View this message in context: http

Re: Maven assembly and onejar goal

2009-10-22 Thread Alexander
Help, where? 2009/10/22 Laurent Pellegrino laurent.pellegr...@gmail.com Nobody can help me ? -- View this message in context: http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Maven assembly and onejar goal

2009-10-22 Thread Laurent PELLEGRINO
/maven/plugins/tags/maven-assembly-plugin-2. 2-beta-4/src/main/resources/assemblies/ Justin -Original Message- From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly and onejar goal

Re: Maven assembly and onejar goal

2009-10-22 Thread Alexander
-Original Message- From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly and onejar goal Nobody can help me ? -- View this message in context: http://www.nabble.com

Re: Maven assembly and onejar goal

2009-10-22 Thread Nick Stolwijk
: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly and onejar goal Nobody can help me ? -- View this message in context: http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595 .html Sent from the Maven - Users mailing

Re: Maven assembly and onejar goal

2009-10-22 Thread Laurent PELLEGRINO
/plugins/tags/maven-assembly-plugin-2. 2-beta-4/src/main/resources/assemblies/ Justin -Original Message- From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly

Re: Maven assembly and onejar goal

2009-10-22 Thread Nick Stolwijk
-beta-4/src/main/resources/assemblies/ Justin -Original Message- From: Laurent Pellegrino [mailto:laurent.pellegr...@gmail.com] Sent: Thursday, October 22, 2009 11:04 AM To: users@maven.apache.org Subject: Re: Maven assembly and onejar goal Nobody can