This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 165635 - Provide a button to install a viable Maven
Summary: Provide a button to install a viable Maven
Status: RESOLVED DUPLICATE of bug 188959
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-20 17:56 UTC by Vince Kraemer
Modified: 2010-07-28 15:02 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2009-05-20 17:56:52 UTC
I started a freshly pulled and built IDE on my Mac

File->New Project
   selected Maven
   (Java SE activated)

On the bottom of the first page of the Maven wizard, I see the message "Maven 2.0.6 is too old, version 2.0.7 or newer
is needed".  The Next button is disabled.

I did not install maven on this system... but it looks like it came pre-installed in /usr/bin...

Since the IDE can 'do maven' when maven is not installed, it should allow users to decide to ignore the installed maven
and use the maven that is embedded, if the installed maven is 'too old'...
Comment 1 Milos Kleint 2009-05-21 09:09:53 UTC
the embedded maven is broken, we discourage people from using it, in the new project wizard it is known to break the project creation process in some 
cases. There is no deadend, you have the option (a button in the UI) to setup the maven home from the wizard and continue.

As far as I can tell, it works as intended. Correct, dsimonek?
Comment 2 Vince Kraemer 2009-05-21 15:34:44 UTC
If the user needs to install a newer release of maven to continue with the wizard... make it easy... similar to the
'Download Now' button on the GF v3 Prelude/GF v3 server registration wizard.  The current wizard forces the user to stop
their current task (creating a maven project in NB) to do the download/unzip using other tools.
Comment 3 Jesse Glick 2010-07-28 15:02:10 UTC
As of bug #188959, the embedded Maven can be used in CLI mode so there is no need to download anything.

*** This bug has been marked as a duplicate of bug 188959 ***