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 248756 - Can't select between Maven installations in Netbeans
Summary: Can't select between Maven installations in Netbeans
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 15:02 UTC by KraushLu
Modified: 2015-02-28 09:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
no maven home available (58.82 KB, image/png)
2014-11-19 15:02 UTC, KraushLu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KraushLu 2014-11-19 15:02:29 UTC
Created attachment 150574 [details]
no maven home available

I have a strange problem with Netbeans 7/8 on Windows 7, no matter how often i reinstall Netbeans I can't choose between Maven installations / home neighter do I see any Maven Home Option in the Dropdown (Tools -> Options -> Java -> Maven)

I found the installation path of the embedded Maven inside the netbeans installation path and I edited the settings.xml so i can use the embedded Maven.

But I need more than one Maven installations! Please Help!!!
Comment 1 Theofanis Oikonomou 2014-11-27 11:35:28 UTC
Not sure why this happens. IDE's log would be handy. Also some more detailed information about how you are installing. For sure manually tweaking settings.xml is not the way to go I guess.  Re-assigning to appropriate component for evaluation. Thank you
Comment 2 Tomas Stupka 2014-11-27 11:42:08 UTC
there should be a "browse..." in the options > java > maven > Maven Home dropdown. Choose that to provide a path the your mvn executables or reopen and attach a screenshot of option > java > maven to this issue.

thanks
Comment 3 KraushLu 2014-11-27 12:51:22 UTC
there is no "browse..." near the Maven Home dropdown.
@Tomas Stupka: i already added an image with my option > java > maven
Comment 4 Tomas Stupka 2014-11-27 13:00:47 UTC
> @Tomas Stupka: i already added an image with my option > java > maven
uups, now i see, sorry for that ...

in that case, please reproduce the problem and attach then your messages.log file to the issue

thanks
Comment 5 KraushLu 2014-11-27 13:29:36 UTC
1.) where do i find the messages.log
2.) i just installed netbeans with the windows-installer, I also used a installation path WITHOUT whitespaces, thats everything
Comment 6 Tomas Stupka 2014-12-05 15:02:23 UTC
> 1.) where do i find the messages.log
http://wiki.netbeans.org/FaqLogMessagesFile
Comment 7 good__hope 2015-02-05 10:38:38 UTC
@KraushLu

You need to check PATH environment variable also. If you have there smth like that: *;bin;* in this variable, then remove it, unless you'll got a StringIndexOutOfBoundsException while opening Dropdown.
Comment 8 KraushLu 2015-02-11 09:35:06 UTC
awsome! this was the problem! now it's working.

but is it possible to filter for *;bin;* to prevent this issue?
Comment 9 Tomas Stupka 2015-02-27 17:01:53 UTC
fixed in jet-main #f707eb634508
Comment 10 Quality Engineering 2015-02-28 09:02:31 UTC
Integrated into 'main-silver', will be available in build *201502280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f707eb634508
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #248756 - Can't select between Maven installations in Netbeans