http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html "Using optional ant tasks"
Basically you add the optional jars as dependencies to the maven-antrun-plugin itself in the build-plugins-plugin node. Wayne On 9/8/06, EJ Ciramella <[EMAIL PROTECTED]> wrote:
Here's a better question - is anyone trying to use any of the optional tasks in ant via maven? -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:50 PM To: [email protected] Subject: antrun plugin can't find proper jars I'm running into a bit of a problem. Since we require passwords to log into perforce and for security reasons, I'm prevented from having some sort of shell log the build user in, I'm attempting to shell out to ant so maven can sync the project directory. So if I do "ant -f test.xml" things work just fine, but when I execute maven, I get this: Embedded error: The following error occurred while executing this line: E:\work\up-svcs\lty\proj\LTY-P000039\test.xml:4: Could not create task or type of type: p4sync. Ant could not find the task or a class this task relies upon. Any suggestions? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
