Pre-phase execution of a plugin

2007-07-04 Thread Torsten Krall
Hello, is there any chance to define a plugin to run before the inherited goal executions? I have to tag a cvs-module and check for an already deployed version with the same versionnumber before deploying. I wrote an ant-plugin to test these conditions which is executed within the deploy-phas

Re: how to run both Maven1 & Maven2 in a single machine..

2007-06-21 Thread Torsten Krall
Hi, I am using maven1 and maven2 on the same machine without any problem. You do not have to set a MAVEN_HOME for maven2. Just add the binary-path to you PATH. I am very happy that the developers changed the names of every involved binaries. Regards, Torsten Kiran Kodlady schrieb: Hey..

Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-21 Thread Torsten Krall
, Hervé Le mercredi 20 juin 2007, Torsten Krall a écrit : Now I get the following detailed stacktrace: [..] Finding class org.apache.maven.artifact.versioning.Restriction Loaded from /home/maj0r/source/JWWatcher/build/maven-ant-tasks-2.0.6.jar org/apache/maven/artifact/versioning

Re: execution order of plugins

2007-06-21 Thread Torsten Krall
Hello, is there any chance to define a plugin to run before the inherited goal executions? I have to tag a cvs-module and check for an already deployed version with the same versionnumber before deploying. I wrote an ant-plugin to test these conditions which is executed within the deploy-phase

Re: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-20 Thread Torsten Krall
) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Total time: 4 seconds Regards, Torsten Krall Hervé BOUTEMY wrote: Hi, I'm working on these tasks under Linux without any problem. Can you run "ant -d" and give me the full stacktrace? Hervé Le mardi 19 jui

NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-19 Thread Torsten Krall
Hi, I use following build.xml: xmlns:artifact="urn:maven-artifact-ant"> path="${basedir}/build/maven-ant-tasks-2.0.6.jar" /> uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" /> LINE10:settingsFile="${user.home}/.m2/settings.xml" pathId="compile.classpath" fi