inactivate/don't run plugins in pom-packaging super projects

2008-10-15 Thread aXXa
Hola! Pre conditions: I have a number of similar projects, i.e. a number of maven plugins are identically configured. I have solved this by putting all (most) plugins in a super-project (pom-packaging), partly in a profile, partly in pluginManagement: project artifactIdsuper/artifactId

Re: skip tests in a single goal

2008-10-15 Thread aXXa
Have you tried $mvn deploy -Dmaven.test.skip=true -Martin von Janowsky, Simon wrote: Hello, on our CI-Server (Hudson) we execute three goals per module: clean, deploy, site. Now the tests get executed twice, which is a correct behaviour, but can cost lots of time... Is there a way

Re: [M2] move resource files

2006-11-09 Thread aXXa
}/${project.build.finalName}/WEB-INF does not seem to be on the classpath?), but the tests work fine when the file reside in the resources folder. Tomcat on the other hand does not find the file when the file reside in the classes folder when running the web app, but wants it in the WEB-INF folder... aXXa

Re: [M2] move resource files

2006-11-09 Thread aXXa
in src/main/resources/fenix-servlet.xml /Konstantin On 11/9/06, aXXa [EMAIL PROTECTED] wrote: ...some more info... The reason why I want to move the file 'fenix-servlet.xml' (a Spring bean definition file) from src/main/resources to WEB-INF: When running tests Spring cannot seem

[M2] move resource files

2006-11-08 Thread aXXa
All, In vain I have tried to configure the maven-resources-plugin to move only ONE file from the resources directory ([project-root]/src/main/resources), but I always end up in moving all files and subdirectories or no files at all. Can some one please tell me what I'm doing wrong? Below is my

[M2] different classpathElements in test phases

2006-10-25 Thread aXXa
How come the Test Classpath (same as maven-surefire-plugin classpathElements?) is different when I run 'mvn test -X' and 'mvn install -X'? The funny thing is the JUnit tests execute correct when running 'mvn test' and NOT when running 'mvn install'. I'm not sure if this is the problem but my

Re: [m2] javadoc:jar + aggregate

2006-10-25 Thread aXXa
I realised that the aggregatetrue/aggregate does not work when you run mvn javadoc:javadoc. The generated jar-files reside under respective child projects target directory. Try to run mvn javadoc:javadoc -Xand look for the output jarOutputDirectory to see exactly where the jar-files are.

[M2] execute first in phase

2006-10-12 Thread aXXa
How do I tell Maven that I need to run a specific task first i a goal? An example... I need to run an ANT task during the site phase, but it needs to be executed first, before the normal site tasks, but my ANT task allways seem to run last in the phase. Thanks -Martin plugin

maven-antrun-plugin executes several times

2006-09-05 Thread aXXa
All! When running the command mvn install site-deploy the ANT task defined like this plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idapa/id phasevalidate/phase goals