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 Jarsigning using keystore

Have found maven to use hard for simple things like jar-signing..May be I am doing this in wrong way,Correct me. I have genereated a keystore file and it is located in my src/main/keystore/mykey.keystore... My POM looks like :
Suave Nti
  • 3,721
  • 11
  • 54
  • 78
0
votes
2 answers

Always execute copy-dependencies after updating dependencies in eclipse

I am using the maven eclipse plugin to manage dependecies of my web application project (eclipse WTP). When I changed the dependencies I usually execute the copy-dependencies goal of maven to copy the project jars to the WebContent/WEB-INF/lib…
Erik
  • 11,944
  • 18
  • 87
  • 126
0
votes
1 answer

Permanently mark goal ... in pom.xml as ignored

I have a web project in eclipse using m2e. I had an error about a missing artifact in pom.xml and I clicked Permanently mark goal ... in pom.xml as ignored. What happened was it no longer copies the jar files from my repository. How do I undo this…
cedric
  • 3,107
  • 15
  • 54
  • 65
0
votes
3 answers

How do I run a main class in Eclipse from a different Maven project?

So I have say two projects, project A and project B. Project A contains a main class which I want to run. Project B contains some classpath resources which are required and also has a reference to Project A. If I run the main class in Project A…
Adam Burley
  • 5,551
  • 4
  • 51
  • 72
0
votes
1 answer

Eclipse Maven Web Project Servlet Mappings

I have set up my maven project using the m2e plugin in eclipse indigo, and transformed it to an eclipse dynamic web project using mvn eclipse:eclipse -Dwtpversion=1.5. I have managed to get the project up and running in tomcat7, except for my…
Spyros Mandekis
  • 984
  • 1
  • 14
  • 32
0
votes
1 answer

Eclipse run configuration with complete package name of selected resource as variable

I am running a Maven project from eclipse and want to setup a Run Configuration with Goals compile exec:java, which needs a exec.mainClass parameter. Because I have different main classes in my project, I would like class and package name the…
Thomas
  • 10,289
  • 13
  • 39
  • 55
0
votes
0 answers

JiBX bindings lost when deploying jar dependency in Eclipse WTP

I am using Elipse Indigo, maven 2.2.1, m2e 1.0.2, maven integration for wtp 0.15.2, m2e connector for JiBX 1.2.3. I have a shared maven jar artifact which contains jibx bindings. The .project file for this looks like:
Alfonzo
  • 86
  • 4
0
votes
1 answer

m2e doesn't generate site with maven-archetype-quickstart

Our project team would like to switch from ant to maven for our build and CI so I'm getting to grips with it by following the Sonatype "Maven By Example" book. I'm using m2e, with the internal maven that m2e installs. I've created a project using…
Steve Atkinson
  • 1,219
  • 2
  • 12
  • 30
0
votes
1 answer

Installing GWT M2E Eclipse plugin

I'm new to Eclipse (currently I use EE Helios SR 1). I get the following when I try to install GWT M2E: Missing requirement: m2e connector for gwt 0.0.1.0 (com.levigo.m2e.gwt 0.0.1.0) requires 'bundle org.eclipse.jdt.core 3.7.1' but it could not…
John Doe
  • 9,414
  • 13
  • 50
  • 69
0
votes
1 answer

Can NOT use dependency after installing .jar into local Repositories with Maven3.0.3 in STS

I have a JAR which can't be found in the Maven Repositories. So that I use the following command to install into my local repositories install:install-file -Dfile=C:/FIXApplication/lib/quickfixj-all-1.5.2 -DgroupId=org.quickfixj…
macemers
  • 2,194
  • 6
  • 38
  • 55
0
votes
1 answer

How to get current project location when I developing a Eclipse plugin to create a project within another project.

I'd like to create a sub-proejct in a proejct like M2E can create a maven module within a maven project when on focus a maven project and right click to create a maven module. But I don't know how to get the current project location which I…
Junv
  • 520
  • 1
  • 9
  • 16
0
votes
1 answer

M2E Removes My Source Directory?

I have an existing library that I am building in Eclipse and have added the Maven nature to my project using m2e to add dependencies. When I convert it to a Maven project, my existing source directory (and my bin) become normal folders. Is there a…
Benny
  • 3,899
  • 8
  • 46
  • 81
0
votes
1 answer

Maven missing project required libraries after cloning repo

A team member has shared his project with me on bitbucket and he used maven to manage his dependencies. After cloning the repo (using mercurial) into my workspace (Eclipse) and downloading maven, m2e and all the other required set up files i was…
Warz
  • 7,386
  • 14
  • 68
  • 120
0
votes
1 answer

Why does m2e add dependency always zero

When I try to add a dependency in pom.xml, the result always zero. Like, I input "log4j", the select dependency UI show results for 'log4j' (0) How can I search the result from the central repository? This is my settings.xml:
-1
votes
1 answer

adding ojdbc6.jar to maven local repository

I have not installed maven in my local PC manually. I am using inbuilt maven that comes with eclipse EE ide. I have known that ojdbc6.jar is not available in maven central repository. So how can i install it to my local repository. I have tried "mvn…
rohan
  • 151
  • 1
  • 7
1 2 3
49
50