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

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

2007-06-22 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: 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

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

2007-06-21 Thread Torsten Krall
a patch Regards, 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: NullPointer with maven-ant-tasks-2.0.6 (linux)

2007-06-20 Thread Torsten Krall
:257) 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 juin 2007

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

2007-06-19 Thread Torsten Krall
Hi, I use following build.xml: project name=myproject default=complete basedir=.. xmlns:artifact=urn:maven-artifact-ant path id=maven-ant-tasks.classpath path=${basedir}/build/maven-ant-tasks-2.0.6.jar / typedef resource=org/apache/maven/artifact/ant/antlib.xml