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
0 answers

How can I generate-sources on project import/update with m2e

I used to add "generate-resources" to Maven's "Goals to run on project import" setting in older m2e. Now I have new version of eclispe and m2e, and the setting is gone. How can I add the generated-sources o the eclipse project automatically? see…
Bastl
  • 2,926
  • 5
  • 27
  • 48
0
votes
1 answer

m2e Failure to transfer junit

The following issue appear in the Markers view when importing my Maven pom files with m2eclispe: Failure to transfer junit:junit:jar:3.8.1 from (http://nexus.xyz.com/content/groups/public) was cached in the local repository, resolution will not…
DarVar
  • 16,882
  • 29
  • 97
  • 146
0
votes
1 answer

Deploy MavenWebApp in Eclipse Tomcat

I have the following Problem: I have a Maven MainProject with some SubProjects. Two of this SubProjects are WebApplications. (One WebApp and one WebService) If I build the MainProject in the command line with mvn clean package the 2 .war files are…
0
votes
1 answer

Maven projects import does not work well

This is a weird problem and probably, It has a stupid solution, but still. I have recently install a windows 32 bit machine on a VBOX (runs originally on linux). I don't know if it is important but maybe. I installed a fresh eclipse Juno with m2e…
Ido Barash
  • 4,856
  • 11
  • 41
  • 78
0
votes
0 answers

ClassNotFound in Eclipse on Spring config files with a Spring multi-module maven project

We have an issue in Eclipse/STS with a Spring multi-module maven project which can be described as follows: The project has a parent pom with two modules: a jar and a war. The war sees the jar. None of the classes referenced in the spring…
balteo
  • 23,602
  • 63
  • 219
  • 412
0
votes
2 answers

Importing maven sourceproject into eclipse

I have imported my maven project in eclipse using Import Maven project. It got import in eclipse project explorer, but all the source folder are opening as files and folders, its not opening as java source folder. Since its opening as files and…
Ramya
  • 1,067
  • 6
  • 16
  • 29
0
votes
0 answers

maven m2e proxy connection issues with PAC, in Eclipse; How to Debug?

I got the Eclipse EE and realized it did not have maven/m2e, so I got m2e installed. Then I am setting up projects and using pom.xml I start getting all the fun errors like: Could not calculate build plan: Plugin...., __ or one of it's dependencies…
webguynow
  • 41
  • 4
0
votes
3 answers

What is User Settings equivalent in standalone Maven?

I have "user settings" file configured in m2e. I have local repository location configured in the file. But how standalone Maven can know about it? How to configure standalone Maven to use the same user configuration and the same local repository…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
0
votes
1 answer

How to specify the generated jar path in m2e

I use m2e. I have dynamic web project A, java project B and project A is dependent on project B. I want the JAR file that is generated in the target folder of project B to be moved to the WebContent/lib of project A. What is the simplest way to…
rlp
  • 46
  • 5
0
votes
1 answer

Eclipse glassfish plugin not publishing maven dependency jars to ear lib folder

I'm using the Eclipse "Internal Glassfish 3.1.2.2" server with the Eclipse Glassfish plugin (http://download.java.net/glassfish/eclipse/juno). I'm also using Maven with the m2e Eclipse plugin. The Glassfish plugin correctly deploys my EAR modules to…
fgamador
  • 21
  • 1
  • 6
0
votes
1 answer

Eclipse and m2e - test classpath

I have Spring project backed up by maven and I am using m2e plugin. Now, some of my files are in the /src/main/webapp/WEB-INF/ folder. Now, the problem is that when I am running tests some of the .xml files with configuration don't work because…
Andna
  • 6,539
  • 13
  • 71
  • 120
0
votes
1 answer

android-maven-plugin: How to update dependencies?

Let's say I have a platform version of 4 in my pom.xml but I'd like to change it to version 7 or similar changes. How can I update the dependencies of my project? If it is an usual Eclipse Java project, I could execute eclipse:clean eclipse:eclipse…
Bevor
  • 8,396
  • 15
  • 77
  • 141
0
votes
2 answers

Eclipse Spring Maven project

I'm kind of new to Eclipse. So I installed the latest Eclipse Juno, m2e and SpringIDE. I failed ho understand how to create a Maven Spring project with the above combination of software. The only options that Eclipse UI gives me is either a Maven…
Oleg Mikheev
  • 17,186
  • 14
  • 73
  • 95
0
votes
2 answers

"Maven clean" does not work

I am using the Eclipse plugin "m2e" to compile and generate the source for the my project. But when I do modification to the code and try use "Maven clean" before recompiling it says "Building successfully" but the generated source still exit. Also,…
Calin Andrei
  • 186
  • 2
  • 5
0
votes
1 answer

Magento,M2E extension, Usage guide - listing items on eBay.

I am new to Magento and I just installed M2E Pro extension for my store, but I don't know how to see the listed items on eBay. I've completed the configuration of eBay account in M2E, now need help.