Re: How to make a single dependency packaged into target jar?

2010-12-29 Thread Simone Tripodi
Hi Gao, just to let you know, there are also good alternatives, you've just to choose which one fits better with your needs: * The Apache's Shade plugin[1] * The Sonatypes's JarJar plugin[2] My preferred is the Sonatype's one because it allows define classes rewrite rules (you can repackage

Assembly Plugin not seeing local repository

2010-12-29 Thread Steve Cohen
Aargh! Following the pattern outlined here: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html I create POM's and assembly descriptors fitting that model. All of the submodules are built and installed in a local repository. The

Re: maven-assembly-plugin StackOverflowError

2010-12-29 Thread john.vint
A quick update. Despite having other poi dependencies, this is the only one which causes the StackOverFlow. It occurs when the plugin imports the xsb's into the jar. -- View this message in context:

Re: Assembly Plugin not seeing local repository

2010-12-29 Thread Steve Cohen
On 12/29/2010 09:21 AM, Steve Cohen wrote: Aargh! Following the pattern outlined here: http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html I create POM's and assembly descriptors fitting that model. All of the submodules are built

Re: Assembly Plugin not seeing local repository

2010-12-29 Thread Jon Paynter
What error messages are you seeing? running mvn -X should give much more detailed messages. I know that helped me a lot when debugging assembly problems. On Wed, Dec 29, 2010 at 7:45 AM, Steve Cohen sco...@javactivity.org wrote: On 12/29/2010 09:21 AM, Steve Cohen wrote: Aargh! Following

Cargo vs Embedded tomcat

2010-12-29 Thread Greg Akins
I sometimes use tomcat:run to test my app, but I just needed to replace the xalan parsers (by using the endorsed dir) I understand I can use cargo and specify the endorsed dir.. does anyone know if I can do the same with the Maven Tomcat plugin? -- Greg Akins http://insomnia-consulting.org

Re: Cargo vs Embedded tomcat

2010-12-29 Thread Olivier Lamy
Hello, Should be better to ask in mojo user ml @codehaus. But you can try setting system props tru this way [1] for java.endorsed.dirs . Not tested :-) -- Olivier [1] http://mojo.codehaus.org/tomcat-maven-plugin/examples/add-system-properties.html 2010/12/29 Greg Akins angryg...@gmail.com: I

Re: surefire insists on running in release:prepare

2010-12-29 Thread Zac Thompson
On Tue, Dec 21, 2010 at 12:32 PM, Benson Margulies bimargul...@gmail.com wrote: Maven 2.2.1. I have a profile that turns on skipTests. Mvn -Pthisprofile behaves as expected. mvn release:prepare --batch-mode -Pthisprofile goes ahead and runs tests. mvn --batch-mode help:effective-pom

Re: JSF Web project + xdoclet

2010-12-29 Thread Pazmiño Mazón , Iván Andrés
Thanks, indeed the solution was similar to as if it was a ClassNotFound exception. -Original Message- From: Wayne Fay wayne...@gmail.com Reply-to: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: JSF Web project + xdoclet Date: Tue, 28 Dec

Config resources

2010-12-29 Thread Pazmiño Mazón , Iván Andrés
Hello, I'm building a web project and I have some configuration and descriptor files located inside src/main/resources/config which are used during the source preparation phase. Since this location will be loaded to the classpath I think it should be put in a better place. What's the standard for

Re: Config resources

2010-12-29 Thread Kalle Korhonen
src/main/config ? Kalle 2010/12/29 Pazmiño Mazón, Iván Andrés iapm270...@sri.ad: Hello, I'm building a web project and I have some configuration and descriptor files located inside src/main/resources/config which are used during the source preparation phase. Since this location will be

Is there a workaround for the maven wagon double upload checksum issue?

2010-12-29 Thread Tom Fennelly
Hi guys. I'm at my wits end looking for a solution to this issue. I'm lead to believe that it was fixed in Maven 2.2.1 (http://maven.apache.org/docs/2.2.1/release-notes.html), but I'm seeing it no matter which of the various solutions I try (preemptive auth, lightweight Vs httpclient

Re: Config resources

2010-12-29 Thread Pazmiño Mazón , Iván Andrés
Thanks, sure this works, just wanted to know if there is any standard place to put this kind of files. -Original Message- From: Kalle Korhonen kalle.o.korho...@gmail.com Reply-to: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: Config

Re: Assembly Plugin not seeing local repository

2010-12-29 Thread Steve Cohen
Here ya go: [DEBUG] (f) mavenSession = org.apache.maven.execution.mavensess...@6691da [DEBUG] (s) outputDirectory = /home/abcdefg/build/20101228-REFACTOR-DEPS/BPM/bpm-dist/target [DEBUG] (f) project = MavenProject: com.whatever:bpm-dist:0.0.3-SNAPSHOT @

Fail a build if the web application fails to load in Jetty....

2010-12-29 Thread Nathan Wilhelmi
Hi - We are working on integrating Jetty deployment into our integration tests. We don't have any selenium type tests yet. Is there any to fail the build if the web application fails to start in Jetty? We would like to use this as first step. Thanks!

Re: Fail a build if the web application fails to load in Jetty....

2010-12-29 Thread Kalle Korhonen
Why not http://docs.codehaus.org/display/TYNAMO/2010/07/30/Full+web+integration+testing+in+a+single+JVM and something like http://svn.codehaus.org/tynamo/trunk/tapestry-model/tapestry-model-test/src/main/java/org/tynamo/test/AbstractContainerTest.java ? With an embedded Jetty, your integration

Re: Assembly Plugin not seeing local repository

2010-12-29 Thread Jon Paynter
well the build didnt fail. However it seems none of your modules were included in the assembly. Ive done a little bit with assemblies, I was never able to get the include tags to work. What are you trying to accomplish here? it looks like you just want the artifacts from your 6 modules added

Re: Assembly Plugin not seeing local repository

2010-12-29 Thread Steve Cohen
On 12/29/2010 04:17 PM, Jon Paynter wrote: well the build didnt fail. However it seems none of your modules were included in the assembly. Ive done a little bit with assemblies, I was never able to get theinclude tags to work. What are you trying to accomplish here? Basically, I'm