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

maven-war-plugin overlay and m2e eclipse plugin

I'm trying to leverage the useful overlay feature of the maven-war-plugin. In other words, I have a template (packaged as WAR file, template-0.0.1.war) containing tag files, css, js and images. When I set template-0.0.1.war as a dependency of the…
baronKarza
  • 513
  • 6
  • 23
0
votes
1 answer

How to create maven project with two clicks in Eclipse?

How to create maven project with two clicks in Eclipse? (One click to open Dialog, then enter names etc, click finish). in other words Is there way to configure icon or shortcut to New Maven Project dialog? (And not go through 5 clicks File -> New…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
0
votes
1 answer

Programmatically Launch M2E Maven Command

I'm developing an Eclipse plugin. This Eclipse plugin contains a New Project wizard and in the performFinish method of my wizard I want to use Maven (M2E) to execute an archetype:generate command. I then found this resource and I'm able to get the…
Ring
  • 2,249
  • 5
  • 27
  • 40
0
votes
2 answers

Maven null dependency and multiple annotations on this line

Something has gone wrong with my pom and I have a blank dependency and artifactId in the xml but get the same error whether I delete the tags or not. I am using eclipse with m2eclipse installed in my home folder on Linux Mint 14 with maven version…
eljaydub
  • 696
  • 3
  • 11
  • 22
0
votes
1 answer

Building a maven project for deployment

Hello all I'm pretty new to using maven to build Java project so I'm sure the solution to my problem will be quite easy. I have installed the Eclipse Maven plugin and created a maven project. I now wish to package this project and distribute it as a…
Chris Maness
  • 1,682
  • 3
  • 22
  • 40
0
votes
0 answers

The import org.apache.wicket cannot be resolved in Eclipse

I just installed wicket plugin for eclipse and have set all the environment variables also. But when I run mvn -version in command prompt it showing correct version. But in Eclipse when I import the package it is showing the error the import…
ajay
  • 257
  • 1
  • 4
  • 9
0
votes
1 answer

magento markup tag for m2epro templating

i am working on a magento site that has the M2EPro Extension which has an ebay template in it. The page that was created by the previous developer has markup such as: #ebay_name# #sku# #description# {{block id="ebay_shipping"}} Are these built into…
Exploit
  • 6,278
  • 19
  • 70
  • 103
0
votes
2 answers

How to define variable with M2E builds? (equivalent to -Dvar=value)

I use variables inside some of my pom.xml files like that: ... someValue This is later used with the maven-resources-plugin in order to generate some of my files with correct…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
0
votes
1 answer

How to stop eclipse to redownload the plugin from repository for a maven project

I am importing an existing project into my eclipse workspace. I am using Maven 2.2.0, and Eclipse Juno. I could build project successfully using mvn command prompt. But unable to import the project as eclipse could not build the project.Eclipse is…
Patan
  • 17,073
  • 36
  • 124
  • 198
0
votes
2 answers

Why does android:deploy show success although there isn't any app on my device deployed?

I have huge problems installing my signed app to my phone device (although it works on my tablet). 'Application not Installed' is my basic problem, see also this thread: 'App not Installed' Error on Android. I didn't come to a conclusion yet. When I…
Bevor
  • 8,396
  • 15
  • 77
  • 141
0
votes
1 answer

How to add missing jars in Eclipse Maven based project

I am new to maven with eclipse. I am using m2e plugin(version 1.2.0). i have imported maven project, it is showing build path errors due to some jars are missing. How to add those jars to the build path. Do i need to download manually and add to the…
Ramesh Kotha
  • 8,266
  • 17
  • 66
  • 90
0
votes
1 answer

How to use maven-m2e-codestyle connector?

According to https://issues.sonatype.org/browse/OSSRH-3293 "Maven m2e Code-Style and Save-Actions connector" This plugin is executed inside m2e Eclipse plugin when the project is configured and configures the save-actions and code-styling options…
ams
  • 60,316
  • 68
  • 200
  • 288
0
votes
3 answers

How to set eclipse project specific validation preferences with m2e

When invoking importing maven projects into eclipse from git using "Import Maven Projects" the m2e plugins to seems to generate a new .project and .classpath and some other files even though those files are checked in. To get around this problem I…
ams
  • 60,316
  • 68
  • 200
  • 288
0
votes
3 answers

Why would compiler fail on duplicate class if they belong to different packages?

I got this inherited project using Maven/m2e as the build automation tool. All nice & cool except that this project, checked out of SVN as is, is broken... meaning it fails to build, with several duplicate class errors: [ERROR] Failed to execute…
Withheld
  • 4,603
  • 10
  • 45
  • 76
0
votes
0 answers

maven command-line vs maven m2e in eclipse -- compilation issue with jdom SaxBuilder.build() throwing IOException

I have a class that uses JDOM's SaxBuilder.build(File) method. This method throws IOException. My class has a try catch block around the build() method call and then a "catch (IOException e)" block. Eclipse (using m2e and building with maven)…
Matt Coarr
  • 925
  • 9
  • 13