Re: maven errors on xml security package

2009-03-08 Thread Brett Randall
Hi Kevin, Have you configured the -source and -target options of the maven-compiler-plugin? Best Brett On Fri, Mar 6, 2009 at 8:57 AM, Kevin Witten kevin.wit...@nomadix.comwrote: Hello, I'm having trouble building with maven. The issue is that it can't find the xml security packages. I'm

RE: Version range excluding SNAPSHOTs

2009-03-08 Thread Markus KARG
So this means that there is no *real* solution to get alphas but not SNAPSHOTs? [1.0,1.1-!) 1.0-SNAPSHOT 1.0 1.1-SNAPSHOT 1.1 But in ASCII ! is A therefore 1.1-! 1.1-SNAPSHOT 1.1 1.1-! is also 1.1-alpha-1 My project is dependent of some library. I want to always use the latest

[Surefire plugin] Executing test typologies

2009-03-08 Thread Frédéric Camblor
Hi there ! I am facing a problem with the current execution of maven surefire plugin. I work on several projects which have several test typologies : simple unit tests, performance tests, db tests, integration tests, in-container tests ... = My problem is to be able to execute either one, few or

Re: Version range excluding SNAPSHOTs

2009-03-08 Thread Juven Xu
how about [1.0,1.1-SNAPSHOT) ? On Sun, Mar 8, 2009 at 8:34 PM, Markus KARG markus.k...@gmx.net wrote: So this means that there is no *real* solution to get alphas but not SNAPSHOTs? [1.0,1.1-!) 1.0-SNAPSHOT 1.0 1.1-SNAPSHOT 1.1 But in ASCII ! is A therefore 1.1-! 1.1-SNAPSHOT

RE: Version range excluding SNAPSHOTs

2009-03-08 Thread Markus KARG
Will that prevent usage of 1.0.1-SNAPSHOT but allow 1.0.1-alpha-1 through 1.0.-zzz-99 ? how about [1.0,1.1-SNAPSHOT) ? So this means that there is no *real* solution to get alphas but not SNAPSHOTs? [1.0,1.1-!) 1.0-SNAPSHOT 1.0 1.1-SNAPSHOT 1.1 But in ASCII ! is A

Decrease War size, to Decrease Deploy time

2009-03-08 Thread Prag
I have the following situation: I have a dev machine and a server machine running Tomcat. When Maven creates a WAR on the dev machine, it has to be transferred to the server, which takes some time due to all the libraries in the WAR. Is there a way to decrease this time? Maybe there somehow is

Re: Decrease War size, to Decrease Deploy time

2009-03-08 Thread Markus Knittig
On 03/08/2009 05:19 PM, Prag wrote: I have a dev machine and a server machine running Tomcat. When Maven creates a WAR on the dev machine, it has to be transferred to the server, which takes some time due to all the libraries in the WAR. Is there a way to decrease this time? Maybe there

Re: Decrease War size, to Decrease Deploy time

2009-03-08 Thread Mick Knutson
Add scopeprovided/scope or scopetest/scope to your dependencies so the was does not include the jars you do not need. Alternatively, you can add excludes to omit transitive dependencies also. --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring

Re: Version range excluding SNAPSHOTs

2009-03-08 Thread Stephen Connolly
the only way *I know* is to use versions-maven-plugin in conjuction with versions locked down completely with properties I would think that 1.0.1-SNAPSHOT is in the range [1.0,1.1-!) but there may be some rules that make this less of an issue (like maven favouring the highest version avail

Re: Decrease War size, to Decrease Deploy time

2009-03-08 Thread Michael McCallum
You could use rsync to copy the war Also don't explode the war, much faster deployment On Mon, 09 Mar 2009 05:19:24 Prag wrote: I have the following situation: I have a dev machine and a server machine running Tomcat. When Maven creates a WAR on the dev machine, it has to be transferred

Re: war:war not including src/main/java

2009-03-08 Thread Mansour
The was some junit failing. However, mvn doesn't complain, and still creates the war. Using: mvn package -Dmaven.test.skip=true resolved the issue. I still have to see the test failures but the classes are included. David C. Hicks wrote: I don't think that the war plugin includes source