Questions tagged [m2eclipse]

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.

m2e is a renaming of Sonatype's m2eclipse when it was transferred from Codehaus to the Eclipse Foundation in the Indigo (3.7).

References

1312 questions
54
votes
7 answers

How to configure maven install to skip tests in eclipse?

Is it possible to configure run as maven install in eclipse to skip unit tests? If so, how can it be done?
fresh_dev
  • 6,694
  • 23
  • 67
  • 95
54
votes
28 answers

Eclipse does not recognize content of persistence.xml

Im getting the following error in eclipse: The persistence.xml file does not have recognized content. My persistence.xml file works great in my application but eclipse keeps giving me this error. I got this after moving the file and updating my…
Mark Baijens
  • 13,028
  • 11
  • 47
  • 73
50
votes
6 answers

Version 1.8 of project facet java does not exist

I'm trying to build a Dynamic Web Application in eclipse using Java 8 (and Wildfly appServer if that matters) but I'm unable to make Eclipse Luna M5 use Java 8 (I do have Java 8 BETA support installed and it works on JavaSE projects). In my POM I…
Svetlin Zarev
  • 14,713
  • 4
  • 53
  • 82
49
votes
10 answers

How to deal with missing src/test/java source folder in Android/Maven project?

I'm not very experienced with Maven in combination with Android yet, so I followed these instructions to make a new Android project. When the project has been created, I get the following error message: Project 'xxx-1.0-SNAPSHOT' is missing…
Bevor
  • 8,396
  • 15
  • 77
  • 141
47
votes
6 answers

How to eliminate the "maven-enforcer-plugin (goal "enforce") is ignored by m2e" warning by eclipse?

I am configuring a multi-module parent child maven project using maven and eclipse m2e, I am using the latest stuff from eclipse Juno SR1 which is m2e 1.2.0 the parent pom uses the enforcer plugin, so the parent pom.xml has the following in its…
ams
  • 60,316
  • 68
  • 200
  • 288
44
votes
4 answers

Eclipse JRE System Library [J2SE-1.5]

I'm using Eclipse EE 3.7 with m2e plugin installed. I have JDK7 set in eclipse. When I import maven projects, the JRE is set to JRE System Library [J2SE-1.5], So i have compilation issues with java 6 related stuff. Instead I want the JRE in eclipse…
Sinisha Mihajlovski
  • 1,811
  • 1
  • 20
  • 34
43
votes
5 answers

Maven - Suppress Overriding managed version warning in Eclipse

I am using spring-boot, and experienced an error similar to the one described here. I added the following to my pom.xml. javax.validation
The Gilbert Arenas Dagger
  • 12,071
  • 13
  • 66
  • 80
41
votes
15 answers

m2eclipse: Eclipse is running in a JRE, but a JDK is required

I have a problem with m2eclipse (0.10.0) together with eclipse galileo (Build id: 20090920-1017). I always get the error message:"Eclipse is running in a JRE, but a JDK is required". I have tried several things, but nothing works. The error message…
GernoK
  • 411
  • 1
  • 4
  • 4
41
votes
1 answer

m2Eclipse plugin: What does 'Resolve Workspace Artifacts' do?

I'm sorry if I am asking a possibly-trivial question, but I am having so much trouble finding out exactly what Resolve Workspace Artifacts does in the Maven build window in the Eclipse IDE, using the M2Eclipse plugin. I'm referring to this: Does…
ecbrodie
  • 11,246
  • 21
  • 71
  • 120
35
votes
7 answers

m2eclipse not finding maven dependencies, artifacts not found

I'm using m2eclipse as my maven 2 plugin for eclipse. I'm brand new to maven, so my mistake might be simple, although searching has not yielded any solutions for me. I can run maven from the command line and it build successfully. However if I…
vagabond
  • 1,717
  • 4
  • 19
  • 21
34
votes
2 answers

Hide unit tests from Call Hierarchy

In the "Call Hierarchy" View, it shows all methods calling a selected method. I'd like to be able to filter out everything in src/test/java so I can see what actual code is calling, instead of 100 Unit test methods. I tried adding a name filter on…
RLZaleski
  • 616
  • 6
  • 17
34
votes
9 answers

Maven 3 Artifact problem

I made a new struts project in eclipse using the struts2-archtype-starter. A few errors where in my project already before doing anything. Solved most of them but there is 1 the still give me some problems. Missing artifact…
Mark Baijens
  • 13,028
  • 11
  • 47
  • 73
34
votes
2 answers

Maven plugin in Eclipse - Settings.xml file is missing

I installed the maven plugin for eclipse. Then tried updating the index and got the following error: Unable to update index for central|http://repo1.maven.org/maven2 While trying to edit the proxy settings through windows-preferences-maven-user…
emeralddove
  • 520
  • 1
  • 5
  • 11
34
votes
17 answers

How to solve maven 2.6 resource plugin dependency?

ERROR: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 Plugin…
spt025
  • 2,134
  • 2
  • 20
  • 26
34
votes
1 answer

maven plugins stored where

Where are maven plugins stored? in the local repository as well? what happens if you build your application with eclipse? does it store the plugins inside the eclipse/plugins folder or still in the local repository?
ant
  • 22,634
  • 36
  • 132
  • 182
1 2
3
87 88