Hi Michal,

I thought you might be interested that I actually managed to create a Mojo using ANT. The thing is, you have to build Maven from current SVN and use that, then it works really well! The only gotcha is that you have to add the following in the pom.xml of your project, but I guess you already know that:

<build>
<plugins>
<plugin>
       <artifactId>maven-plugin-plugin</artifactId>
       <dependencies>
         <dependency>
           <groupId>org.apache.maven</groupId>
           <artifactId>maven-plugin-tools-ant</artifactId>
           <version>2.0.1</version>
         </dependency>
       </dependencies>
     </plugin>
...


This lets Maven pick up the ANT mojo descriptor (or something like that).
Btw., you don't need to manually add any "maven.dependency.classpath" refids to ANT, that already happens behind the scenes.
Hope that helps!

Regards,
   Michael

--
Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 63 - F: +41 61 226 99 69
[EMAIL PROTECTED]; http://www.giniality.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to