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
12
votes
1 answer

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.0

I switched from q4e Helios to Indigo m2e plugin and my Maven 2 project no longer works. I had a ROO-generated Spring MVC project. This is what I get: Plugin execution not covered by lifecycle configuration:…
alexm
  • 510
  • 1
  • 8
  • 19
12
votes
2 answers

Maven suddenly wants src/ instead of src/main/java

I'm using Maven 3.3.3 together with Eclipse Mars and m2e. Yesterday, I created a new Java project and converted it into a Maven one. Afterwards, the classpath contained only src instead of the standard src/main/java. I was surprised but I simply…
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
12
votes
3 answers

WTP - m2e not deploying transitive dependencies

I have a web application which is structured in this way: A.jar -> B.war -> C.war I'm using Eclipse Juno and the WTP version is 1.1. The A.jar is a workspace utility project which is being included by B.war. B.war is a war project that is included…
Aritz
  • 30,971
  • 16
  • 136
  • 217
12
votes
3 answers

Package Dll in Jar using Maven- single goal

I have added a DLL in my maven project as dependency like this : com.test.dll myDll 0.1 dll When I try to execute maven:install It is…
Suave Nti
  • 3,721
  • 11
  • 54
  • 78
12
votes
3 answers

Searching for dependencies returns nothing

I've just installed Eclipse Juno with m2e installed. Then, I've created a new Maven project and decided I want log4j, so I opened the pom.xml, clicked on the Dependency tab, clicked on the Add... button and typed in log4j. Zero results. The only…
Howie
  • 2,760
  • 6
  • 32
  • 60
11
votes
1 answer

M2E plugin continually updating index

I've installed Maven and the m2e Eclipse plugin. For some reason Eclipse is stuck updating indexes whenever I launch it now. Clicking the link on the operation shows the logs below. How can I stop this operation (stop button doesn't work) or fix…
James P.
  • 19,313
  • 27
  • 97
  • 155
11
votes
1 answer

Avoid the "no JREs installed in the workspace that are strictly compatible" warning in Eclipse for multiple Java versions

I know that there are already a lot of questions about this warning, but my question is a little bit different. I understand that I can use this configuration in my pom.xml to fix it
John29
  • 3,340
  • 3
  • 32
  • 50
11
votes
4 answers

Plugin execution not covered by lifecycle configuration for maven-plugin-plugin in m2e 1.5.x / Eclipse Luna

After upgrading to Eclipse Luna or to m2e 1.5.x and opening an existing workspace with Maven plugin projects, Eclipse complains that Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-plugin-plugin ...
rec
  • 10,340
  • 3
  • 29
  • 43
11
votes
2 answers

Maven discovery completed without finding any extensions

I have installed eclipse 4.3 on my system and recently installed the Maven integration plugin. I get the following error: Discovery completed without finding any extensions. Please check your network connection and try again. The catalog url is…
rkmax
  • 17,633
  • 23
  • 91
  • 176
11
votes
2 answers

How to undo Mark goal run as ignored in Eclipse build in Eclipse preferences?

I mistakenly clicked the "Mark goal run as ignored in Eclipse build in Eclipse preferences (experimental)": Where/How do I undo this?
Withheld
  • 4,603
  • 10
  • 45
  • 76
11
votes
1 answer

What are m2e connectors?

I want to know what an m2e connector is. I didn't find much on the internet describing them except this page: http://objectledge.org/confluence/display/TOOLS/M2E+Connectors So my questions are: Is it a plugin like any Eclipse plugin? What it can be…
Mohamed Ramadan
  • 475
  • 2
  • 7
  • 15
11
votes
3 answers

java.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription; Conversion to Dalvik format failed with error 1

First of all, there are at least 2 postings with the same problem but these solutions don't work anymore, at least not in my installation. I'm using m2e with Eclipse and Android and tried to run the application as "Android Application" by selecting…
Bevor
  • 8,396
  • 15
  • 77
  • 141
10
votes
4 answers

Is maven-eclipse-plugin no longer needed with the new M2Eclipse in Indigo?

Historically, its been a major hassle for our team to import our multi-module Maven project into Eclipse given all the Flex, WTP, and GWT stuff in there. We were recently thinking that the maven-eclipse-plugin could help us by generating the…
Dave
  • 21,524
  • 28
  • 141
  • 221
10
votes
2 answers

Eclipse Run Configurations: how to add Maven dependencies of projects added to Classpath

I'm using Eclipse version Oxygen.2 Release (4.7.2) with M2E version 1.8.2.20171007-0217 on Windows 7. When I define a new RUN configuration I can see the Maven dependencies of the Main project (the one defined in the Main tab of the "Run…
Claves DOA
  • 111
  • 7
10
votes
2 answers

Eclipse fix project setup by updating pom?

In an eclipse project, I referenced a class that was currently not in project's build path. In the context sensitive pop-up that opens by hovering the mouse over the error, "Fix project setup" option has offered me to add a jar to the build path of…
Utku
  • 2,025
  • 22
  • 42