Re: running optional ant tasks with maven-antrun-plugin

2008-03-10 Thread gotama
The above XML apparently only works when the POM's packaging is jar. When I execute this POM from a parent POM, who's packaging is pom, the optional ant task jar files are not included in and the ant tasks blow out w/ an error. I can only exec mvn install in the same directory which has the POM

Re: running optional ant tasks with maven-antrun-plugin

2008-03-10 Thread Wayne Fay
STOP sending this email. You've sent it four times in 12 hours. If someone feels like responding, they will. Wayne On 3/10/08, gotama [EMAIL PROTECTED] wrote: The above XML apparently only works when the POM's packaging is jar. When I execute this POM from a parent POM, who's packaging is

Re: running optional ant tasks with maven-antrun-plugin

2008-03-10 Thread gotama
I just found that this is a bug: http://jira.codehaus.org/browse/MANTRUN-51 In a multi-module project, the ant plugin dependencies are lost. The 'workaround' is the place the ant plugin dependencies in the 1st module despite if you actually need the ant plugin there, simply to load the

RE: running optional ant tasks with maven-antrun-plugin

2008-03-10 Thread Jason Chaffee
, March 10, 2008 2:08 PM To: users@maven.apache.org Subject: Re: running optional ant tasks with maven-antrun-plugin I just found that this is a bug: http://jira.codehaus.org/browse/MANTRUN-51 In a multi-module project, the ant plugin dependencies are lost. The 'workaround' is the place the ant

Re: running optional ant tasks with maven-antrun-plugin

2008-03-04 Thread Wayne Fay
Maven does not know about your ANT_HOME, nor does it use Jars from your ANT_HOME. To use optional Ant tasks, you must declare them as dependencies of the plugin. build plugins plugin dependencies dependency... Wayne On 3/4/08, gotama [EMAIL PROTECTED] wrote: How can I run optional ant tasks

Re: running optional ant tasks with maven-antrun-plugin

2008-03-04 Thread gotama
Awesome... thanks. That did the trick... Here is the final config fyi... Remotely stops JBoss, copies over a new EAR file and remotely starts JBoss: plugins plugin artifactIdmaven-antrun-plugin/artifactId dependencies