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

Can I have maven artifact run maven plugin when it is installed?

I have created a Maven plugin (called unpackTemplates) that unpacks a dependency jar file and copies resource files (in this case, templates) from it into a specific location in a project. Right now, I put the following into the pom file of every…
aarondev
  • 95
  • 6
0
votes
2 answers

Preventing maven bundle from running no save in eclipse 4.2

In my eclipse workspace, saving a file in a java editor makes m2e run defaultGoal (install) on the project, which involves rewritting the MANIFEST.MF file. Because I am using another plugin that has no m2e connector (maven-scr-plugin), this makes my…
Miquel
  • 15,405
  • 8
  • 54
  • 87
0
votes
1 answer

Unable to contact Juno download site

I am trying to download m2e for Eclipse Juno but for some reasons I have problems contacting the update site. I was not able to download from the marketplace, which claimed dependencies are missing. Then I tried to use the Juno update site (under…
CaptainNemo
  • 1,532
  • 2
  • 22
  • 45
0
votes
0 answers

Configure maven dependency resolution with in eclipse

I use maven-2 in external mode in eclipse 4 (juno) with m2e and m2e-wtp plugin. In all our projects we usually define all the libraries (to the version) with in the pom. So we use non-transitive dependency resolution for our build. But when I import…
Bharath
  • 105
  • 2
  • 6
0
votes
2 answers

How to add external jar files to maven

How do I add external jar files to maven web app project using Eclipse M2 Plugin?
user2054833
  • 2,115
  • 7
  • 24
  • 39
0
votes
1 answer

Can I work with eclipse-m2e and not having the container restart when a class is compiled?

I am working with a Java/Maven/Spring application stack, using Eclipse and m2e integration. Everything works well for the most part but it is slightly annoying that the default behaviour is to restart the whole application context in the servlet…
anger
  • 1,018
  • 1
  • 9
  • 25
0
votes
0 answers

Error: Plugin execution not covered by lifecycle configuration maven error

I have a flex project that I need to convert into a maven project. I am using m2e for Eclipse and at the bottom of this post is the POM.xml file that I have created. My issue is that I cannot seem to run a mvn clean install on this POM. In Eclipse…
Ken Harris
  • 113
  • 1
  • 1
  • 9
0
votes
1 answer

m2e and target folder in BusinessEvents Studio

I'm having a project in BusinessEvents Studio (Eclipse) that I'm slowly turning into a Maven project. I've added m2e to BusinessEvents Studio and given the project a POM. Regardless of being in the "Studio Explorer" or the "Package Explorer" my…
Sander Verhagen
  • 8,540
  • 4
  • 41
  • 63
0
votes
2 answers

JUnit spring resource override

I have java project with basic structure src/(main|test)/(java|resources)/... I am using servlet 2.5 and xml configured spring. My BaseDaoTest class looks like this: @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations={ …
svobol13
  • 1,842
  • 3
  • 25
  • 40
0
votes
1 answer

m2e autocomplete for cuatom properties not working

I have this configuration: UTF-8 ${basedir}/WebContent/WEB-INF My autocomplete feature from custom properties…
Fagner Brack
  • 2,365
  • 4
  • 33
  • 69
0
votes
0 answers

build path contains entries not specified by dependencies

after importing a project into eclipse using m2e plugin, the build path contains entries not specified by the dependencies in the pom.xml file. Why? The dependencies are shown in the following file. pom.xml:
ahmehri
  • 756
  • 2
  • 8
  • 26
0
votes
1 answer

GeoTools dependency not found by the m2e Eclipse plugin

I need to use GeoTools in a JAVA-Project I am developing using Eclipse and the m2e plugin. I have configured the following repository in my pom.xml: osgeo Open Source Geospatial Foundation Repository
Genti Saliu
  • 2,643
  • 4
  • 23
  • 43
0
votes
1 answer

Whenever I build a Maven project the pom file has a lifecycle configuration error,why?

I am a noob in m2e and Maven things.I am now tring to bulid a Maven project in eclipse, so I have a M2E plugin installed.However, whenever I build a new Maven project, the initial completely new project has a red cross in the pom file.I checked it…
Derek
  • 41
  • 2
  • 8
0
votes
3 answers

Eclipse Plugin Auto-Fetching

I have an Eclipse project (which is generated via a maven archetype and requires m2e) that I want to deploy to many users. Currently the way I'm telling them to do it is extremely manual, (i.e. download this plugin, download that plugin, download…
Ring
  • 2,249
  • 5
  • 27
  • 40
0
votes
1 answer

M2E Eclipse Maven Workspace resolution and CDI

I have a war project A that I am deploying to JBoss AS7 that uses CDI and all works fine. But I want to use some classes in another project B, which I added to my pom.xml and turned on workspace resolution for, because these classes will be shared…
Torque
  • 3,319
  • 2
  • 27
  • 39