RE: Tasks aren't run for the maven-antrun-plugin

2007-04-27 Thread jbonevich

Actually, keep configuration where it was under executions, just add the
goals/goal to execution and it works:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-antrun-plugin/artifactId
  version1.1/version
  executions
execution
  phasedeploy/phase
  goals
goalrun/goal
  /goals
  configuration
tasks
  echo message=Entering build.xml/
  ant antfile=build.xml target=svn.commit inheritAll=false/
/tasks
  /configuration
/execution
  /executions
/plugin 

Seems like bad doco on the plugin usage page.

jeff


Doug Tanner-2 wrote:
 
 Answer, apparently configuration needs to be outside the execution tags:
 
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-antrun-plugin/artifactId
   version1.1/version
   configuration
 phasedeploy/phase
 goals
   goalrun/goal
 /goals
 tasks
   echo message=Entering build.xml/
   ant antfile=build.xml target=svn.commit inheritAll=false/
 /tasks
   /configuration
   executions
 execution
   phasedeploy/phase
   goals
 goalrun/goal
   /goals
 /execution
   /executions
 /plugin
 
 
 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

2007-04-20 Thread Doug Tanner
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.
 
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-antrun-plugin/artifactId
  version1.1/version
  executions
execution
  configuration
phasedeploy/phase
goals
  goalrun/goal
/goals
tasks
  echo message=Entering build.xml/
  ant antfile=build.xml target=svn.commit
inheritAll=false/
/tasks
  /configuration
/execution
  /executions
/plugin
 
 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

2007-04-20 Thread Doug Tanner
Answer, apparently configuration needs to be outside the execution tags:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-antrun-plugin/artifactId
  version1.1/version
  configuration
phasedeploy/phase
goals
  goalrun/goal
/goals
tasks
  echo message=Entering build.xml/
  ant antfile=build.xml target=svn.commit inheritAll=false/
/tasks
  /configuration
  executions
execution
  phasedeploy/phase
  goals
goalrun/goal
  /goals
/execution
  /executions
/plugin


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.
 
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-antrun-plugin/artifactId
   version1.1/version
   executions
 execution
   configuration
 phasedeploy/phase
 goals
   goalrun/goal
 /goals
 tasks
   echo message=Entering build.xml/
   ant antfile=build.xml target=svn.commit
 inheritAll=false/
 /tasks
   /configuration
 /execution
   /executions
 /plugin
 
  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

Re: Tasks aren't run for the maven-antrun-plugin

2007-04-19 Thread Maria Odea Ching

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 executions.

If you want to execute it using mvn antrun:run, you should set the 
configuration

outside executions.


- 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.

 


plugin

 
groupIdorg.apache.maven.plugins/groupId


 
artifactIdmaven-antrun-plugin/artifactId


version1.1/version

executions

execution

 
configuration


 
phasedeploy/phase


 
goals


 
goalrun/goal


 
/goals


 
tasks


 
echo message=Entering build.xml/


 
ant antfile=build.xml target=svn.commit inheritAll=false/


 
/tasks


 
/configuration


/execution

/executions

/plugin

 


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]