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
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:
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
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
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
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.
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
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
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?
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
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
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
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:
/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
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.
/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
-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
: 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
/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
-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
20 matches
Mail list logo