Re: m2eclipse's build problem - pmd:cpd doesn't have a default lifecycle phase

2008-09-05 Thread Eugene Kuleshov


  By default m2eclipse is using Maven 2.1-SNAPSHOT, and it seem like you are
hitting into backward incompatibilities with version you are using in the
command line.
  To workaround that you can configure default Maven runtime to use the same
version as you are using in the command line. See Window / Preferences /
Maven / Installations.

  regards,
  Eugene



komadich wrote:
> 
> I am trying to do the "mvn install" from Eclipse. I use the Maven Eclipse
> Plugin. When I try to to run "mvn" with any goal i get this error: 
> 
> [INFO] task-segment: [process-resources]
> [INFO]
> 
> [ERROR] 
> 
> Maven cannot calculate your build plan, given the following information:
> 
> Tasks:
> - process-resources
> 
> Current project:
> Group-Id: com.steria.sib-vis
> Artifact-Id: sib-vis-common
> Version: 2.x-SNAPSHOT
> From file: D:\workspace\SIB-VIS\apps\sib-vis\sib-vis-common\pom.xml
> 
> 
> Error message: Mojo descriptor: pmd:cpd doesn't have a default lifecycle
> phase. Please specify a  for this goal in your POM.
> Root error message: Mojo descriptor: pmd:cpd doesn't have a default
> lifecycle phase. Please specify a  for this goal in your POM.
> 
> 
> I don't get this error when launching Maven commands from the command
> prompt. 
> 

-- 
View this message in context: 
http://www.nabble.com/m2eclipse%27s-build-problem---pmd%3Acpd-doesn%27t-have-a-default-lifecycle-phase-tp19329122p19335863.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



m2eclipse's build problem - pmd:cpd doesn't have a default lifecycle phase

2008-09-05 Thread komadich

Hi, 

I am trying to do the "mvn install" from Eclipse. I use the Maven Eclipse
Plugin. When I try to to run "mvn" with any goal i get this error: 

[INFO] task-segment: [process-resources]
[INFO]

[ERROR] 

Maven cannot calculate your build plan, given the following information:

Tasks:
- process-resources

Current project:
Group-Id: com.steria.sib-vis
Artifact-Id: sib-vis-common
Version: 2.x-SNAPSHOT
>From file: D:\workspace\SIB-VIS\apps\sib-vis\sib-vis-common\pom.xml


Error message: Mojo descriptor: pmd:cpd doesn't have a default lifecycle
phase. Please specify a  for this goal in your POM.
Root error message: Mojo descriptor: pmd:cpd doesn't have a default
lifecycle phase. Please specify a  for this goal in your POM.


I don't get this error when launching Maven commands from the command
prompt. 
-- 
View this message in context: 
http://www.nabble.com/m2eclipse%27s-build-problem---pmd%3Acpd-doesn%27t-have-a-default-lifecycle-phase-tp19329122p19329122.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]