Questions tagged [m2e]

m2eclipse is a Plug-in for the Eclipse IDE that defines Eclipse Project structures by analyzing Maven Project models.

From the m2eclipse Project Home Page:

m2eclipse provides comprehensive Maven integration for Eclipse. You can use m2eclipse to manage both simple and multi-module Maven projects, execute Maven builds via the Eclipse interface, and interact with Maven repositories. m2eclipse makes development easier by integrating data from a project’s Object Model with Eclipse IDE features. With m2eclipse, you can use Maven within Eclipse in a natural and intuitive interface.

m2eclipse is a renaming of Sonatype's m2eclipse when it was transferred from Codehaus to the Eclipse Foundation in the Indigo (3.7). Sonatype is still involved in building m2eclipse, and the latest bleeding-edge releases are available on their website.

References

742 questions
0
votes
2 answers

Unable to install m2e lifecycle mappings

After updating my Eclipse Kepler version to 20130919-0819 I need to reinstall the m2e lifecycle mappings. But when I try to open the dialog for installing lifecycle mappings (via Preferences or link in POM viewer message) the following error message…
problemzebra
  • 511
  • 6
  • 17
0
votes
1 answer

M2E setting file

I just have installed M2E for my Eclipse IDE, I'd like to know how to create a setting file, which can be used to config maven for eclipse, contains infomation such as remote repository, etc. Whether I need to download maven and set maven_home to do…
0
votes
1 answer

eclipse m2e cannot find dependency of hibernate-core at current version

I am using eclipse 4.3 with the maven plugin (m2e). I added this dependency to my project's pom.xml: org.hibernate hibernate-core 4.2.5.Final I…
t777
  • 3,099
  • 8
  • 35
  • 53
0
votes
0 answers

Eclipse Jboss Maven dependency missing after maven clean

I am using dependency management as follows: org.jboss.bom jboss-javaee-6.0-with-tools
jeff
  • 3,618
  • 9
  • 48
  • 101
0
votes
1 answer

How can I make eclipse detect my new java class in my m2e maven project?

I have started looking into Maven and wish to build a project from scratch and start writing new classes. What do I need to do to make eclipse's auto compilation work under a Maven project in the same way as it does in a normal eclipse project? Here…
Erik Madsen
  • 1,913
  • 3
  • 20
  • 34
0
votes
2 answers

Internal error occurred in Eclipse Juno during Maven Project Import/Update

I am using Eclipse Juno (tried SR1 & SR2) with the m2e WTP plugin installed. (I have also tried the same with just the m2e plugin) and I get the following: An internal error occurred during: "Importing Maven projects". …
Sameer Malhotra
  • 424
  • 3
  • 12
  • 29
0
votes
1 answer

ClassNotFoundException while running web service client generated using wsimport maven goal in eclipse

I am developing a web service client in eclipse. I generated the artifacts for the web service using the wsimport goal of maven (see pom.xml below), and then wrote a simple client like this in a main method: TeamsService service = new…
antoniojxk
  • 127
  • 2
  • 10
0
votes
1 answer

cannot deploy spring web application using indigo+m2e+wtp

When deploying spring MVC application I am having java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener Details: - eclipse Indigo Service Release 2 (Eclipse IDE for Java EE Developers) - "m2e - Maven Integration…
user973296
  • 113
  • 1
  • 8
0
votes
3 answers

Maven settings file

I have no settings file configured but m2e is still downloading dependencies : Is there a default settings file that m2e uses if it cannot find the settings file in the .m2 folder ?
blue-sky
  • 51,962
  • 152
  • 427
  • 752
0
votes
0 answers

Cannot create Android application using m2e and m2e-android

I keep getting a generic error when I try to create an Android project using the m2e-android plugins. I follow the basic steps here: http://rgladwell.github.io/m2e-android/ using version Archetype version 1.0.11, but each time I find that my project…
Travis
  • 659
  • 13
  • 28
0
votes
2 answers

Eclipse reports jars as missing but i have them in the project's maven dependencies

M2e downloaded my dependecies and they're shown in my maven dependencies folder yet they are still being reported as misssing in eclipse 4.2.
osh
  • 1,191
  • 4
  • 13
  • 21
0
votes
1 answer

Cannot upgrade/un-install m2eclipse plugin in Eclipse

I have Eclipse 3.6 with m2eclipse (Maven's plugin for Eclipse) 1.1, it works. And now I want to try m2eclipse version 1.4, I upgrade it directly and find I cannot see Maven in any menu. Then I try to uninstall and re-install it but I always get this…
Dennys
  • 587
  • 2
  • 13
  • 33
0
votes
2 answers

M2E WTP Copy Provided Jar

I have a custom classloader jar provided that must be in tomcat/lib before my webapp is run or else it fails to start. I'm using WTP. Is there some way that I can configure M2E/WTP to automatically copy this custom jar to tomcat/lib…
Ring
  • 2,249
  • 5
  • 27
  • 40
0
votes
1 answer

WAR packaged in EAR does not start up when deployed to Glassfish 3.1.2 using Eclipse WTP

I have a JEE6 webapp based on https://netbeans.org/kb/docs/javaee/maven-entapp.html with the structure below. foo foo/foo-ear foo/foo-web foo/foo-ejb Where the top level project is an aggregator and the others are ear/war/ejb types respectively. I…
anger
  • 1,018
  • 1
  • 9
  • 25
0
votes
1 answer

Wake m2e Maven builder up when XSDs imported by WSDLs are modified

I have a WSDL first CXF server project in which the WSDL imports several XSDs. Some of these XSDs, in turn, refer to other XSDs. The maven builder correctly detects workspace resource changes on the parent WSDL and instantaneously regenerates…
Alain Pannetier
  • 9,315
  • 3
  • 41
  • 46