Re: If it's possible to define a goal to choose the step to run

2007-03-22 Thread mavenstart
Thanks Wendy, For example, sometimes I want to do one of the following tasks only (1) build the war file only without doing the JUNIT test (2) just run the JUNIT only to verify the result (I know I can do this in via Eclipse directly) (3) I want to run JMeter test only without going through all

If it's possible to define a goal to choose the step to run

2007-03-21 Thread mavenstart
I was told that I could define a goal for choosing some of maven life cycle steps to do a customized build. But I just could not find any way to do it with Maven 2. The goal is always tied to the associated plug-in, unless witting a customized plugin, but how to specify the steps to execute in

Dependency problem with profile

2007-03-17 Thread mavenstart
I set up a sub-project pom.xml with a profile, trying to make JMeter test an optional step. However, the dependency within the profile has no effect at all. profile idjmeter/id build plugins plugin

how to bind tomcat-plugin to phasedeploy/phase?

2007-03-15 Thread mavenstart
Hello Maven Guru, I saw a Tomcat-plugin sample that associates the plugin for the deployment at install phase. Can anybody tell me how to associate it to deploy phase. When I tried to switch phaseinstall/phase to phasedeploy/phase, it asked me to specify repo URL. How do I avoid this? Thanks,

How to use goal to skip some steps in the life cycle

2007-03-15 Thread mavenstart
Hello Maven Gurus, Got a another question here. Since whenever you use a standard target to build, there is no way to avoid the prior steps (for example, mvn install will always step through compile, test, package..), Can anybody tell me how to use a customized goal in Maven2 to skip some or all

Re: [m2] How to bypass unit testing durng multiproject build with Maven 2

2007-03-09 Thread mavenstart
Thanks a lot, Thorsten So I did mvn -Dmaven.test.skip=true package, it still compiled and ran the JUNIT testing... I also did mvn package compile, JUNIT is still running... Maybe this is the purpose for a multiproject build to make sure that all the projects get compiled and tested, but how

How to bypass unit testing durng multiproject build with Maven 2

2007-03-08 Thread mavenstart
Hello Maven gurus, I think I can use mvn package to do a multiproject build with Maven 2, my question is - how do I do a quick build with mvn package by bypassing the junit testing. Thanks, MavenStarter -- View this message in context: