RE: User-defined phase

2006-12-11 Thread Deluigi Marcus
to coallate your work into a single command, try using the exec goal: http://mojo.codehaus.org/exec-maven-plugin/ Eric On 12/7/06, Deluigi Marcus [EMAIL PROTECTED] wrote: Hi I want to abuse maven to perform a setup for a testing environment, such as starting derby, starting

User-defined phase

2006-12-07 Thread Deluigi Marcus
Hi I want to abuse maven to perform a setup for a testing environment, such as starting derby, starting a tomcat and deploying a WAR file which is another project. Maven does a fine job in downloading all the required software if necessary and building the WAR file which it is another project.

Creating Archetypes

2006-12-05 Thread Deluigi Marcus
Hi Is it possible to create an archetype with sub-projects? You can imagine that I want to create nested archetypes: the end-user should obtain a project that contains sub-projects. Thanks for any help! Greetings Marcus

Parent Directory

2006-11-24 Thread Deluigi Marcus
Hello. Is there a Maven property that points to the projects root directory? It may be not elegant to let the sub-modules know about the directory of their parent module, but I have several centralized configuration files (e.g. for log4j and tomcat) stored in the root-modules directory and I want

RE: Classpath

2006-11-21 Thread Deluigi Marcus
tasksechojava.class.path=${java.class.path} /echoechoCLASSPATH=${env.CLASSPATH}/echo/tasks /configuration ... Eric On 11/20/06, Deluigi Marcus [EMAIL PROTECTED] wrote: We ported an existing project from ant to maven and it seems as if the classpath of one module is different to the classpath

Print customized messages on failure

2006-11-21 Thread Deluigi Marcus
Hi. Is there any method to let Maven print a customized message if a phase fails? I want to give a list with the most common configuration mistakes which lead to JUnit test failures. Greetings, Marcus - To unsubscribe, e-mail:

Classpath

2006-11-21 Thread Deluigi Marcus
Hi It seems like a stupid question, but how do I let maven print the actual class path within a specific module? I did not find any information about this anywhere. Thanks! Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED]

Help on profiles

2006-11-17 Thread Deluigi Marcus
Hi I have the following scenario: I have a project with several modules. One of the modules starts a container with Cargo in the pre-integration-phase, tests something in the integration phase and stops Tomcat in the post-integration-phase. There is a profile called 'tomcat' which is

Springmodules in Maven Repository

2006-11-16 Thread Deluigi Marcus
Hi! The current version of Springmodules is 0.6 but the Maven repository only contains the version v0.1 Is there any reason for this? If not, can I update the Maven repository as a 'normal maven user' without any permissions? If not, can I advice Maven to use the Springmodules Web Site to

RE: Springmodules in Maven Repository

2006-11-16 Thread Deluigi Marcus
- From: Nicolas DE LOOF [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 16. November 2006 13:29 To: Maven Users List Subject: Re: Springmodules in Maven Repository They are here : http://repo1.maven.org/maven2/org/springmodules/ Deluigi Marcus a écrit : Hi! The current version

RE: Springmodules in Maven Repository

2006-11-16 Thread Deluigi Marcus
for this dependency to be made optional (as lot's of others may be in this POM). A temporary solution is to install a fake jar in your repo for this lib. Deluigi Marcus a écrit : They are here : http://repo1.maven.org/maven2/org/springmodules/ Thanks for the new link. But including

Move tests to 'integration-test'

2006-11-15 Thread Deluigi Marcus
Hi. I have a module on which I want to execute all Junit tests in the integraton-test phase. I want to do this because I need to first start Tomcat before the test and stop it after the test. Thererefore, I put the start into the pre-integration-test phase and the stop into the

Let Maven wait between tests

2006-11-14 Thread Deluigi Marcus
Hi I am quite desperate: I want to let Maven sleep for a few seconds between the tests. I added this ant tasks in the build phase in a previous project and it worked fine: -8- build plugins plugin groupIdorg.apache.maven.plugins/groupId

Let Maven alter a config file

2006-11-09 Thread Deluigi Marcus
Hi I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific settings in the Tomcat configuration file (which is in XML). Is there any plugin that can check the files settings and alter it if necessary? Thanks

RE: Let Maven alter a config file

2006-11-09 Thread Deluigi Marcus
I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific settings in the Tomcat configuration file (which is in XML). Is there any plugin that can check the files settings and alter it if necessary?

unable to find resource 'VM_global_library.vm'

2006-11-07 Thread Deluigi Marcus
Hi I am new to Maven and I am following the 'getting started' guide step-by-step. When I try to create the site documentation and execute: 8 mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app \ -DarchetypeGroupId=org.apache.maven.archetypes

Debugging Maven

2006-11-07 Thread Deluigi Marcus
Hi I am quite new to Maven and I need to understand a quite large project which also happened to have a broken maven build cycle. Is there any way to: * list all user-defined goals for each phase * list all used plugins * determine which of their goals are used for which phase * skip a phase /