Thanks Igor,

I'll try and upgrade.

But shouldn't the failure of the maven build cycle be reflected as a
project related error.
As far as all the UI is concerned the projects are 100% healthy.

/James

> -----Original Message-----
> From: Igor Fedorenko [mailto:[EMAIL PROTECTED] 
> Sent: 11 December 2008 14:34
> To: [email protected]
> Subject: Re: [m2eclipse-user] Build not working when needs a 
> plugin in the workspace.
> 
> This is most likely http://jira.codehaus.org/browse/MNGECLIPSE-823 . 
> Latest m2e 0.9.7 dev builds contain a possible solution to 
> this problem, so you may want to try. You can install m2e 
> 0.9.7 dev builds from http://m2eclipse.sonatype.org/update-dev/ .
> 
> 
> Also, beware of http://jira.codehaus.org/browse/MNGECLIPSE-645 .
> 
> --
> Regards,
> Igor
> 
> Nord, James wrote:
> > Hi all,
> >  
> > I have a build that fails with the following:
> >  
> > 11/12/08 12:11:29 GMT: Build errors for common-checkstyle;
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
> > construct build plan for: CAB Checkstyle configuration settings
> > Id: com.nds.cab.build:common-checkstyle:jar:0.0.1-SNAPSHOT
> > task-segment: [process-test-resources]. Reason: Failed to 
> load plugin 
> > descriptor for:
> > 
> com.nds.cab.build:maven-version-plugin:1.0-SNAPSHOT:getVersion
> . Cannot 
> > discover it's default phase, specified in its plugin descriptor.
> > 
> > This works fine if I close the maven-version-plugin in the 
> workspace 
> > or I run from the command line.  (plugin is installed into 
> local repo)
> > 
> > I can get this to work by doing a mvn package (or install) of the 
> > maven-version-plugin from the command line, but then the 
> next time the 
> > workspace is cleared it will fail again (as m2e doesn't 
> call the goal 
> > to generate the plugin.xml)
> > 
> > I added generate-resources to the "Goals to invoke after a project 
> > clean" and "Goals to invoke on resource changes" but the 
> plugin.xml is 
> > not generated, but that comes before the default of 
> > "process-test-resources" in the lifecycle phase so I am perplexed.
> > 
> > Running mvn clean generate-resources from the command line does 
> > generate the plugin.xml.
> > 
> > Also (rather worryingly) is the errors from the failed build do not 
> > show up as "problems" in the problem view or as red 'x' 
> marks on the 
> > prjects themselves.  So unless you have the maven console 
> window open 
> > you don't know anything is actually wrong.
> > 
> > Eclipse ganymede SR1, m2e latest stabel release 
> (0.9.6.20080905-0917), 
> > java 1.6.0 update 10, windowx xp sp3.
> > 
> > The only related issue I could find was 
> > http://jira.codehaus.org/browse/MNGECLIPSE-380
> > <blocked::http://jira.codehaus.org/browse/MNGECLIPSE-380> which was 
> > fixed back in 0.9.4
> > 
> > (If I do a clean project on the plugin all I see in the project is
> > "11/12/08 13:27:06 GMT: [INFO] Scanning for projects...")
> > 
> > Regards,
> > 
> > /James
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**********************************************************************************************************

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to