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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<configuration>
<phase>deploy</phase>
<goals>
<goal>run</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]