I have a antrun plugin set up in my POM file which does not specify a
goal as I want to run it on demand only.  When executing from the
command line everything works as expected.  However, if I attempt to run
any goals on the POM from within Eclipse using an External Builder to
initiate the command line execution, I get the following error:

[INFO] Failed to construct build plan for:
com.premierinc:scaEar:ear:1.0-SNAPSHOT (  task-segment: [package] ).
Reason: 

No lifecycle phase binding can be found for goal: run,
specified as a part of the execution: defaultin plugin:
org.apache.maven.plugins:maven-antrun-plugin

This plugin was resolved successfully.
However, the mojo metadata it contains does not specify a default
lifecycle phase binding.

Please provide a valid <phase/> specification for execution: default
in plugin: org.apache.maven.plugins:maven-antrun-plugin


Has anyone seen this before or have a resolution to the issue?  I am not
sure why this would occur.  It seems that Eclipse is juts initiating the
same thing that I am from the command line.  So why would maven behave
differently?

Thanks in advance,
Ken Hoying





-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  

Reply via email to