Eclipse, Maven, Subclipse & Multiple Modules - eclipse

I have a project in SVN that I have checked out into a new install of eclipse (Indigo). Previously, with the m2e and subclipse plugins I was able to check out as a Maven project - but this no longer seems possible. I read somewhere, however, that checking out and then converting to a maven project is the way to go.
I've done that, but my project has a number of nested modules - each of which I would like to appear as separate projects in the eclipse workspace. This used to be possible and specified during checkout, but no longer seems to work.
Is this possible and, if so, how can I do it?

I managed to find the m2e subclipse connector - which I had previously failed to find. This set it all out exactly as I had hoped it would.

Maybe you don't use the right version of M2Eclipse :
Indigo is Eclipse 3.7, and "m2eclipse is compatible with Eclipse 3.5.2 and 3.6.1" (source : http://m2eclipse.sonatype.org/installing-m2eclipse.html).
"m2e is tested against Eclipse 3.6 (Helios) and 3.7 (Indigo)" (http://www.eclipse.org/m2e/)

You could also try using this plugin: http://code.google.com/p/q4e/
We use that over m2e and provides better menu support for manage dependencies and importing Maven2 projects.

Related

Maven plugins in eclipse Mars

In some new eclipse versions it shows that some maven plugins are no longer available on marketplace. Concrete
jaxb2-maven-plugin:1.3:xjc
maven-deploy-support-plugin:1.4.106:deploy
What does this mean? I know there use to be more than one Maven plugins to eclipse and usually maven worked in eclipse pretty bad, because plugins didn't covered all of functionality of maven.
In new eclipse like Mars there is some Maven integration from the start, you don't need to install any third-party plugin. So I guess this plugins could be probably ignored but I'm not sure. Am I right?

Maven Category does not appear in Netbeans

I am going to start with GeoTools. Maven in installed correctly as cmd prompt says the version 3.0.4. But in Netbeans 6.5, Maven Category does not appear to create a new project. What should I go through now?
Please follow the link i given..it is given correct explanation about NetBeans IDE and Maven Repositories
Maven Repositories in NetBean IDE
If your system has enough resource, consider upgrading Netbeans to latest version 7.2. It has inbuilt maven plugin or the blow link may help you.
How-to: Install Maven For Netbeans 6.5.x

Maven add source directory in Eclipse

I get my code generated from the maven-jaxb2-plugin maven plugin. It puts the code into target/generated-sources. Now I have to manually left click onto the project -> properties-> Java Build Path-> Add Folder.... That's kind of annoying for someone downloading it from SVN.
Is there some way to get that dome automatically through my pom?
This kind of stuff is the responsibility of IDE's Maven plugin and fortunately M2E supports it since recently (finally!) through the concept of M2E connectors, that is M2E extensions that understand a nature and lifecycle binding of certain plugins. And because it's since recently, not much Maven plugins have their connectors for M2E.
However, you're lucky, because Jaxb2 plugins are actually already supported. I assume you're already using M2E. Then go to Preferences -> Maven -> Discovery, then Open Catalog, then find Jaxb2 connector.
maven add-sources should do the trick for netbeans or eclipse
M2E and having maven generated source folders as eclipse source folders

M2e is not visible in Eclipse

I'm trying to install m2e plugin to enable maven integration but it looks like plugin is not installed:
What I do:
Maven is already installed in the system and 'mvn --version' works
Help -> Install New Software -> Indigo->General Purpose Tools - m2e
Eclipse restart of course
There is no mention of Maven in eclipse. Not in Window->Preferences, not when creating new project. Nowhere.
Tried different plugin repositories, tried Eclipse Marketplace - nada.
When running Eclipse I get these errors:
org.eclipse.m2e.logback.configuration: SLF4J logger factory is not an instance of LoggerContext: org.slf4j.impl.SimpleLoggerFactory
2 [org.eclipse.jdt.internal.ui.text.JavaReconciler] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Not sure what to do at this point.
Would be grateful for any help!
Leonty
I don't recall what it is called in Indigo. I recently updated to Juno and imported my plugins with no issue. Below is a full list of plugins that I have installed. I'd recommend you uninstall what you have, then search for "Maven Integration". Install that and any other related plugins you will need (i.e. SCM clients).
It is builtin with Indingo, no !?
(Or maybe Indigo WTP)
I am quite sure because I had to re-install Indigo WTP several times

Installation of maven eclipse plugin doesn't finish

Hello I'm trying to install maven plugin with eclipse and I have a following problem, more in picture below :
So my question is, is this supposed to take this long or I did something wrong?
I'm using eclipse galileo , I went to the window-> install new software -> typed in
http://m2eclipse.sonatype.org/update/ website and name maven
Pressed next then finish, did I do something wrong, or is there another way to get maven working with eclipse? I need it for my project . thank you
First, update site url you pasted is url for stable version builds. According this document stable version of m2eclipse works with Eclipse 3.2, 3.3 or 3.4.
To work with Galileo version (Eclipse 3.5) try update from stable development builds site. I work with this version and I'm happy with it. It has a lot more features than stable one.
You could use maven-eclipse-plugin instead of m2eclipse.
With maven-eclipse-plugin you just add some configuration to pom.xml, execute mvn eclipse:eclipse and refresh project in Eclipse and you are done.
You will lose UI to handle dependencies etc. directly from IDE (that would be provided by m2eclipse) but I have not seen much benefit from that. You can manually edit pom.xml just fine.