RE: Tasks aren't run for the maven-antrun-plugin
Actually, keep configuration where it was under executions, just add the goals/goal to execution and it works: org.apache.maven.plugins maven-antrun-plugin 1.1 deploy run Seems like bad doco on the plugin usage page. jeff Doug Tanner-2 wrote: > > Answer, apparently configuration needs to be outside the execution tags: > > > org.apache.maven.plugins > maven-antrun-plugin > 1.1 > > deploy > > run > > > > > > > > > deploy > > run > > > > > > > Doug Tanner > > > > > > > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is > intended only for the individual or entity to which it is addressed and > may contain information that is confidential and protected by law. > Unauthorized review, use, disclosure, or dissemination of this > communication or its contents in any way is prohibited and may be > unlawful. If you are not the intended recipient or a person responsible > for delivering this message to an intended recipient, please notify the > original sender immediately by e-mail or telephone, return the original > message to the original sender or to [EMAIL PROTECTED], and > destroy all copies or derivations of the original message. Thank you. > (BFeComNote Rev. 08/01/2005) > *** > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tasks-aren%27t-run-for-the-maven-antrun-plugin-tf3608756s177.html#a10226093 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tasks aren't run for the maven-antrun-plugin
Answer, apparently configuration needs to be outside the execution tags: org.apache.maven.plugins maven-antrun-plugin 1.1 deploy run deploy run Doug Tanner > -Original Message- > From: Doug Tanner [mailto:[EMAIL PROTECTED] > Sent: Friday, April 20, 2007 7:07 AM > To: Maven Users List > Subject: RE: Tasks aren't run for the maven-antrun-plugin > > Can anyone provide me with any help on this? > > Thanks, > > Doug Tanner > > > > -Original Message- > > From: Doug Tanner [mailto:[EMAIL PROTECTED] > > Sent: Thursday, April 19, 2007 1:55 PM > > To: Maven Users List > > Subject: Tasks aren't run for the maven-antrun-plugin > > > > When I run 'mvn antrun:run', I see the following output in the > console: > > > > [INFO] [antrun:run] > > [INFO] Executing tasks > > [INFO] Executed tasks > > [INFO] > > > > > [INFO] BUILD SUCCESSFUL > > [INFO] > > > > > [INFO] Total time: 2 seconds > > [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 > > [INFO] Final Memory: 24M/64M > > [INFO] > > > > > > > Why are my tasks not being run? Here is the plugin in my pom.xml. > > > > > > org.apache.maven.plugins > > maven-antrun-plugin > > 1.1 > > > > > > > >deploy > > > > run > > > > > > > > inheritAll="false"/> > > > > > > > > > > > > > > Thanks, > > > > > > > > Doug Tanner > > Configuration Management Engineer > > Benefitfocus.com, Inc. > > > > > > ** > > ** > > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is > > intended only for the individual or entity to which it is addressed > and > > may contain information that is confidential and protected by law. > > Unauthorized review, use, disclosure, or dissemination of this > > communication or its contents in any way is prohibited and may be > > unlawful. If you are not the intended recipient or a person > responsible > > for delivering this message to an intended recipient, please notify > the > > original sender immediately by e-mail or telephone, return the > original > > message to the original sender or to [EMAIL PROTECTED], > and > > destroy all copies or derivations of the original message. Thank you. > > (BFeComNote Rev. 08/01/2005) > > > > ** > > * > > > ** > ** > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is > intended only for the individual or entity to which it is addressed and > may contain information that is confidential and protected by law. > Unauthorized review, use, disclosure, or dissemination of this > communication or its contents in any way is prohibited and may be > unlawful. If you are not the intended recipient or a person responsible > for delivering this message to an intended recipient, please notify the > original sender immediately by e-mail or telephone, return the original > message to the original sender or to [EMAIL PROTECTED], and > destroy all copies or derivations of the original message. Thank you. > (BFeComNote Rev. 08/01/2005) > ** > * > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tasks aren't run for the maven-antrun-plugin
Can anyone provide me with any help on this? Thanks, Doug Tanner > -Original Message- > From: Doug Tanner [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 1:55 PM > To: Maven Users List > Subject: Tasks aren't run for the maven-antrun-plugin > > When I run 'mvn antrun:run', I see the following output in the console: > > [INFO] [antrun:run] > [INFO] Executing tasks > [INFO] Executed tasks > [INFO] > > [INFO] BUILD SUCCESSFUL > [INFO] > > [INFO] Total time: 2 seconds > [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 > [INFO] Final Memory: 24M/64M > [INFO] > > > Why are my tasks not being run? Here is the plugin in my pom.xml. > > > org.apache.maven.plugins > maven-antrun-plugin > 1.1 > > > >deploy > > run > > > > > > > > > > > Thanks, > > > > Doug Tanner > Configuration Management Engineer > Benefitfocus.com, Inc. > > ** > ** > BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is > intended only for the individual or entity to which it is addressed and > may contain information that is confidential and protected by law. > Unauthorized review, use, disclosure, or dissemination of this > communication or its contents in any way is prohibited and may be > unlawful. If you are not the intended recipient or a person responsible > for delivering this message to an intended recipient, please notify the > original sender immediately by e-mail or telephone, return the original > message to the original sender or to [EMAIL PROTECTED], and > destroy all copies or derivations of the original message. Thank you. > (BFeComNote Rev. 08/01/2005) > ** > * BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tasks aren't run for the maven-antrun-plugin
Hi Doug, I think you should execute "mvn deploy" instead of "mvn antrun:run". From your pom configuration, the ant tasks are set to be executed during the "deploy" phase since you've set the configuration inside . If you want to execute it using "mvn antrun:run", you should set the configuration outside . - Deng Doug Tanner wrote: When I run 'mvn antrun:run', I see the following output in the console: [INFO] [antrun:run] [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 [INFO] Final Memory: 24M/64M [INFO] Why are my tasks not being run? Here is the plugin in my pom.xml. org.apache.maven.plugins maven-antrun-plugin 1.1 deploy run Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** !DSPAM:602,4627ad09292161876115710! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]