Maven version used by Netbeans 6.7.1 - maven

I'm developing Maven projects using Netbeans 6.7.1.
How can I see where the Maven that my Netbeans is using is located? I'd like to edit the settings.xml file of this Maven installation.
Is there a way that I can run mvn -version using Netbeans? Before I downloaded Netbeans I already had a Maven 3 installation on my computer, to which MAVEN_HOME is pointing, but I think this Netbeans uses Maven 2.

I don't have a Netbeans 6.7 installation available at the moment. But as far as I remember you could find the Maven settings in Netbeans under "Tools / Options / Miscellaneous". There should be a tab for Maven.
If you want to use your external installation you can setup your external Maven within the project properties (see this screenshot)

Try typing mvn info in your console

Related

where is the place to auto install maven in jenkins 2.0

In previous version of Jenkins it was possible to install maven with auto installer. but from Jenkins 2.0 it seems to that feature is not provided. where is the place to auto install maven in Jenkins 2.0
You can see maven auto installation inside Manage Jenkins | Global Tool Configuration
Also you may need to install the maven plugin separately for building Maven project

Maven installation settings not showing in Jenkins

I have just installed Jenkins 2.6 (as a fresh install) but I can't seem to find the Maven installation options. Previously I would just be able to go to Jenkins configuration and in the Maven section there would be an option for MAVEN_HOME and to install Maven automatically. However this doesn't appear to be present for me.
I have the Maven integration plugin installed. How can I get these to show?
Since Jenkins 2.x you can find all the tool configurations (Maven, Ant, Gradle and even the JDK) under the "Global Tools" entry in Jenkins administration (Manage Jenkins).

eclipse m2eclipse not working

the m2eclipse plugin is latest
the eclipse is the latest
the JDK is jdk7
the eclipse uses embedded maven version 3.xxx
I am keep getting this error “Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher”
It seems that there are some problems running the embedded Maven.
Try installing a fresh Maven version, then click Preferences , Maven, Installationsand set the directory where you have installed Maven.
my envirement
eclipse version : 4.3 kepler
maven version : 3.2.x
OS : windows 7
m2e plugin version : 1.5
the problem caused by combination of things, e.g mismatch between maven installation and setting.xml is one, but mainly the problem was:
solution for my problem was to run the eclipse in administrator mode.
you can run maven embedded (comes with eclipse) or external installation
just to make sure they are pointing to the right setting.xml file
somehow the embedded disappears sometimes, just restart eclipse it will appear again
finally I can confirm the latest m2e 1.5 or above supports maven 3.
Note: set JAVA_HOME is a must, because maven uses it to look up java which runs maven itself
set non-embeded maven installation location in the windows path is needed
set M2_HOME was NOT needed in my case, thus to get m2e working in eclipse or interact maven though command line, M2_HOME is not needed

Maven and Svn Plugin is not working in Eclipse Indigo

I am using Eclipse Helios and want to migrate to Indigo.
I have installed Indigo and m2e and subclipse plugin. I was able to import maven project as well as projects from svn.
But from the next day, Svn is missing from perspective and while trying to import maven projects, I am not able to find maven in the list.
I have uninstalled and installed again but same issue occured again.
Is it because both Helios and Indigo installed in my machine ?
Please help me solve this problem.
Is it because both Helios and Indigo installed in my machine ?
That shouldnt create any issue at all. I have multiple versions of eclipse installed in my system and they all seem to work fine.
As far as the m2e and subclipse plugin is concenred, I have used it personally on Indigo without any issue at all and there doesn't seem to be any incompatibility issue.
It maybe possible that eclipse plugins have gotten a bit messy and need a re-start. Goto the directory where you have installed eclipse and add this line on the top of the eclipse.ini file.
-clean
-startup
....the rest of the settings and params
Then start your eclipse, it will attempt to clean and re-load each plugin again.

Netbeans + maven on Ubuntu

I have a properly set up Maven project, and my Netbeans on Windows recognizes it and can build it properly, but my Netbeans on Ubuntu wouldn't even see the project as a Netbeans project.
Any idea how to fix this?
Maven support in Netbeans comes in the form of an official plugin. The version that ships with Ubuntu has almost no plugins installed. To resolve this, navigate to Tools ▶ Plugins and install the Maven plugin from there. After a restart of the IDE, all Maven projects should be recognized automatically.
If you don't see the list of plugins, make sure the repositories are enabled in the Tools ▶ Plugins ▶ Settings tab. Check at least 🗹 Certified Plugins and 🗹 NetBeans Distribution. Reload the catalog in the Available Plugins tab. Now you should see a list of all available plugins.
I had the same issue on my Xubuntu when I downloaded netbeans with synaptic.
I have uninstalled the netbeans on synaptic et install the netbeans with all avalaible on netbeans website and it works fine (last column). I can now import maven project. Hope it helps you.
http://netbeans.org/downloads/index.html

Resources