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
102
votes
11 answers

m2e error in MavenArchiver.getManifest()

I am seeing an error in my STS and am not sure how to debug it. Searching around I only see vague references to the error and no solutions. The error is: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject,…
scottmf
  • 1,506
  • 2
  • 14
  • 16
80
votes
24 answers

Compiler error "archive for required library could not be read" - Spring Tool Suite

I am starting to configure my development environment and I am using Spring Tool Suite 2.8.1 along with m2E 1.01. As far as I can tell, since this is a Maven Project (my first), my Maven POM is dictating (along with m2E smarts) my project build…
totalcruise
  • 1,343
  • 2
  • 13
  • 25
80
votes
11 answers

Error: m2e Install In Eclipse

I've been attempting to install Maven Integration for Eclipse and I've received these errors. Cannot complete the install because one or more required items could not be found. Software being installed: m2e - slf4j over logback logging…
Rachel_Franz
  • 803
  • 1
  • 6
  • 10
71
votes
18 answers

m2e-wtp error: /target/m2e-wtp/web-resources/META-INF/MANIFEST.MF (No such file or directory)

I use m2e 1.2.0 and m2e-wtp 0.16.0, and occasionally my Eclipse build fails with the error: /target/m2e-wtp/web-resources/META-INF/MANIFEST.MF (No such file or directory) The problem can be temporarily solved by doing a Maven->Update…
Jelle van Geuns
  • 883
  • 1
  • 8
  • 9
68
votes
5 answers

get rid of POM not found warning for org.eclipse.m2e:lifecycle-mapping

With intent to get m2e 1.0 working correctly I have had to specify the lifecycle mapping: org.eclipse.m2e
Ralph
  • 118,862
  • 56
  • 287
  • 383
60
votes
11 answers

m2e lifecycle-mapping not found

I am trying to use the solution described here to solve the annoying "Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: default, phase: generate-sources)" when I place the…
TraderJoeChicago
  • 6,205
  • 8
  • 50
  • 54
53
votes
1 answer

What is Eclipse doing when it says that it's updating indexes?

When I load up a workspace (for Android Java development), Eclipse says in the status bar that it's updating indexes. The Progress tab reports that it's hitting maven.org. I read up on Maven - seems like a build manager. What I don't understand is…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
50
votes
4 answers

Cleaning Maven m2e .cache directory

My Maven installation (Windows 7 64-bit) has a .cache directory that is almost 3.5GB! It contains only a m2e directory. (I'm running Eclipse 4.3M7 with m2e.) Surely all the things inside aren't needed at present, and moreover I don't even know what…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
49
votes
3 answers

M2E: Version is duplicate of parent version - Why is this a warning?

I have several Maven projects that each have some common functionality or at least common configuration/dependencies. I extracted this in to a common pom.xml, and then modularlized several facets, for example persistence, Spring related…
Doug Moscrop
  • 4,479
  • 3
  • 26
  • 46
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
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
37
votes
6 answers

Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site. After selecting Maven Integration for Eclipse, I clicked Next and got the following error: Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033…
Howy
  • 825
  • 2
  • 10
  • 20
35
votes
5 answers

In Eclipse m2e, how to reference workspace project?

How can I reference another workspace project using Eclipse m2e? Do I have to add a project dependency in the project setting? But in that case the dependency is not shown in the pom. If I set them in the pom, it will not reference the project in…
Wudong
  • 2,320
  • 2
  • 32
  • 46
32
votes
4 answers

Eclipse Maven Projects get rid of wb-resource warnings

My maven projects in Eclipse Luna are giving me this two warnings: Broken single-root rule: Only one element with a deploy path of "/" is allowed for a web project or an EAR project and Broken single-root rule: The output folder for a web project…
João
  • 333
  • 4
  • 8
1
2 3
49 50