Re: [mevenide-user] Newbie Questions

"Milos Kleint" <[email protected]> Wed, 14 May 2008 15:24:21 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
On 5/14/08, Aaron Metzger <ametzger-cr0wSWX93UX2eFz/[email protected]> wrote:
>
>  Is there a FAQ for mevenide?

http://mevenide.codehaus.org/m2-site/faq.html
but it's not uptodate with regard to 3.1.1

>
>  I'm using mevenide 3.1.1 in NetBeans 6.1.  I have a simple maven 2 project
> which builds fine outside of NetBeans using "mvn clean install" on the
> command line with either maven 2.0.8 or maven 2.0.9 but fails to build
> inside of NetBeans when I choose "Build / Clean and Build" from the main
> menu.  The error message is a very specific maven error message about my use
> of the GWT plugin "gwt:generateClientBeans doesn't have a default lifecycle
> phase.  Please specify a <phase /> for this goal in your POM.".
>
>  I intend to futz around with my POM to try to satisfy whatever it is
> complaining about but my real question is:  What do I have to do to expect
> that any maven projects which build fine on the command line using maven
> 2.0.9 will also have a chance of building using NetBeans and mevenide?  Does
> the embedded maven in mevenide lag behind the 2.0.9 or is it actually doing
> better error checking and complaining about a real error in my POM that
> maven 2.0.9 didn't catch?

well, it's 2.1-SNAPSHOT (from april or march) which means it's not
100% the same codebase as 2.0.9. Unfortunately 2.0.x is not
embeddable.

IMHO it's not doing a good job at being backward compatible. It fails
miserably when you declare RELEASE or LATEST version in your pom for
example. Your problem seems to be another similar problem.

>
>  Is there a way to tell mevenide to use the externally installed maven 2.0.9
> and associated ".m2" directory so that I know they are in sync?

yes, you can go to Tools/Options dialog and in the
Miscellaneous/Maven2 panel, setup the command line maven instance for
use in building. You can set it to be the default for all projects
there or select some projects selectively only (that would be in
project customizer then)

hope that helps.

Milos

>
>  I look forward to being able to build my maven projects both inside of and
> outside of NetBeans using identical POMs.
>
>  Thanks for any advice you can give.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email