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
31
votes
3 answers

Maven and eclipse: a reliable way to add non-Maven or external jars to a project?

Maven is great. It mostly keeps me out of jar dependency hell by specifying versions of dependent packages in the pom configuration, and applies them automatically. It also has great integration with Eclipse via m2e, so that things work seamlessly…
Andrew Mao
  • 35,740
  • 23
  • 143
  • 224
29
votes
1 answer

Why does Eclipse maven produce huge .cfs files for no reason?

I suddenly found that the plugins folder of my Eclipse workspace was huge, and I discovered the following…
sparrowt
  • 2,641
  • 25
  • 24
28
votes
17 answers

Maven does not create the "/target/m2e-wtp/web-resources" folder

I'm using Eclipse Luna. I'm working on a Maven project. When I try to run my application on a weblogic's application server, and exception is thrown with the message: weblogic.application.ModuleException:…
Muhammad Gelbana
  • 3,890
  • 3
  • 43
  • 81
28
votes
3 answers

eclipse (kepler): maven plugin (m2e, 1.4.0):

I just downloaded and installed the "Eclipse IDE for Java EE Developers", a package solution coming with - among other plugins - the m2e plugin. When trying to rebuild the index for the maven central repository within Eclipse, I get the following…
alqais
  • 289
  • 3
  • 3
27
votes
2 answers

How to add pom.xml to existing Eclipse project?

I'm new to Maven and use Eclipse Juno. I've installed Maven Integration for Eclipse. There are three options in File > New > Other > Maven: 1. Checkout Maven Projects from SCM2. Maven Module3. Maven Project But I don't see Maven2 POM as described…
Andrei Botalov
  • 20,686
  • 11
  • 89
  • 123
26
votes
6 answers

Web resources filtering with Maven war plugin does not work in Eclipse with m2e

I'm trying to filter a Spring configuration file using Maven filtering. My POM is configured like this: ... org.apache.maven.plugins maven-war-plugin
Juan Calero
  • 4,124
  • 5
  • 31
  • 45
26
votes
11 answers

Maven Java EE Configuration Marker with Java Server Faces 1.2

I'm having a weird configuration problem with Maven in Eclipse. Although I can build the project and deploy it to tomcat without any errors, The Marker tab keeps showing the following message: [-] Maven Java EE Configuration Problem (x) JavaServer…
Tarek
  • 3,080
  • 5
  • 38
  • 54
25
votes
2 answers

Difference between Eclipse's "clean project" and Maven's "mvn clean" in m2e

I use M2e + Eclipse + Maven and I would like to know what the difference is between: running "mvn clean" in a terminal and running "clean project" from Eclipse? Can anyone please advise?
balteo
  • 23,602
  • 63
  • 219
  • 412
25
votes
2 answers

How to checkout maven project from svn repository

I am new to Maven and Eclipse, I need to check out an existing Maven project from a SVN repository. I have installed the M2E plugin and the subversion plugin and they seem to be working properly. Here are the Installation Details --> When I right…
Curt
  • 2,944
  • 6
  • 29
  • 34
24
votes
10 answers

Cannot search for artifact in Eclipse Kepler using m2e plugin

I tried the new Eclipse Kepler that already comes with a maven plugin. But when I want to add a dependency (open the pom.xml, go to dependencies tab and click add) I can input some string like "jetty" in the search box but nothing happens. In older…
Subby
  • 1,997
  • 4
  • 22
  • 38
24
votes
8 answers

Why is Eclipse hanging at 57% with the status "Verifying launch attributes..." when launching a run configuration?

After recently converting to Maven from Ant, run configurations that launched immediately pre-Maven take an excessive amount of time and consume an abnormal amount of resources while Eclipse prepares to launch the projects. Eclipse shows this…
nickb
  • 59,313
  • 13
  • 108
  • 143
23
votes
2 answers

With maven - clean package, xml source files are not included in classpath

So it seems that Maven package is setup by default to compile but not copy xml files in the java classpath, unless they're already there. In Eclipse, I created the simplest test, a default spring mvc template app. There are only two files in the…
chrismarx
  • 11,488
  • 9
  • 84
  • 97
23
votes
5 answers

How does one get JAXB-generated sources onto the Eclipse build path under m2e/Indigo?

Under Helios/m2eclipse, when I generated jaxb sources they would be put on the Eclipse source path when I did an "Update Project Configuration". This doesn't happen with Indigo/m2e (initial release of 22 June 2011). What do I need to do to fix…
Ed Staub
  • 15,480
  • 3
  • 61
  • 91
22
votes
1 answer

eclipse + m2e + junit + infinitest + eclemma?

I have Eclipse for Java Developer 4.3 with m2e, eclemma, infinitest. My project uses Eclipse m2e with junit 4.11. My intention is to have coverage info updated every time infinitest re-runs the tests affected by last save. Is it possible? At the…
Tair
  • 3,779
  • 2
  • 20
  • 33
20
votes
7 answers

can't install eclipse plugin "m2e connector for build-helper-maven-plugin 0.15.0.201109290002"

i just tried to move from helios to maven with my gwt 2.4 application. so i began to follow the steps here: http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven but on step 3 - installing the feature "m2e connector for…
dermoritz
  • 12,519
  • 25
  • 97
  • 185
1
2
3
49 50