Questions tagged [maven-eclipse-plugin]

An Eclipse plug-in for generating Eclipse IDE files, like .classpath, .project, etc. Often confused with M2Eclipse.

One of two leading plug-ins integrating Eclipse IDE with Maven. As opposed to M2Eclipse, it focuses on generating Eclipse project files on demand, rather than full, live integration with Eclipse build.

Beware this plugin has been officially RETIRED and it is no longer maintained.

Users are advised to use m2e, the Eclipse Maven Integration instead of this plugin, as it can more closely resemble the actual build and runtime classpaths as described in the project pom.xml - among other advantages. However, there are project setups and workflows that still work more efficiently with statically generated Eclipse metadata - for example when there is a large number of projects in a reactor. That's where the Maven Eclipse Plugin can still help you

More info

72 questions
1
vote
1 answer

Eclipse cannot import package which is defined as dependency in maven

I have checked out a maven project into eclipse using subclipse. I try to use the spring framework in my project, and have defined it as a required dependency: org.springframework
jorrebor
  • 2,166
  • 12
  • 48
  • 74
1
vote
0 answers

How do I make maven-eclipse-plugin 2.9 compile classes to the eclipseClasses directory

I just switched up to maven-eclipse-plugin 2.9 from 2.5.1 and when I do the mvn eclipse:eclipse command, nothing happens inside of the eclipse classes directory. It is a little disconcerting that the elements in the configuration are not checked,…
knunkler
  • 151
  • 1
  • 8
0
votes
1 answer

Maven not installing dependcies

i am new to maven so this could be something basic but i cant seem to get to the bottom of it. I am running m2eclipse. I have a simple project that is trying to use the classes in the maven package for servlet-api (group id : javax.servlet artifact…
nemisis enforcer
  • 349
  • 3
  • 18
0
votes
1 answer

How get Maven war-app fully functional in Eclipse?

Any input on how to get Maven war-app fully setup in Eclipse as "Dynamic Web Project"? We have a webproject setup and working in Maven3. Using Eclipse-Indigo, latest version, and running mvn eclipse:eclipse to import it into Eclipse. This works…
Rop
  • 3,359
  • 3
  • 38
  • 59
0
votes
3 answers

Maven 2: eclipse-plugin to generate EAR's dependent projects to .project file

I'm trying to generate eclipse-project files using Maven2 eclipse-plugin for RAD7.5. All is going well except for the dependencies in the EAR's .project file. When I run mvn eclipse:eclipse on a clean maven project, I come up with an EAR such as…
user594883
  • 1,329
  • 2
  • 17
  • 36
0
votes
2 answers

CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies

I have created a Maven project in the Eclipse (Luna service Release 4.4.2) + Installed TestNG (7.3.0) but unfortunately, the TestNg version shows 6.9.11 installed though I have updated the TestNG version a couple of times using the suggestions given…
0
votes
1 answer

maven eclipse plugin generate wrong class path entry

I am using maven 3.6.0 and using maven eclipse plugin in POM file for generating eclipse .classpath (for my dependencies) file. The build successfully completed and when i try to configure eclipse project. I got build path error like 1. jar is not…
krishnakumar
  • 173
  • 3
  • 15
0
votes
0 answers

Maven Eclipse compile error, incompatible types... But only for maven

Maven is seemingly unwilling to compile my software... 90% of the time, the other 10 or so percent it works just fine for some magical unicorn reason... Okay, So maven complains most of the time about an incompatible type, yet the code works fine, I…
Tau
  • 33
  • 5
0
votes
0 answers

Eclipse not attaching source automatically

I am using Eclipse Oxygen. Everything was working fine until one day I imported a Spring Boot maven project which has problem in pom.xml saying that tools.jar is missing. In the process of trying to remove this error I messed around with build path…
Mawia
  • 4,220
  • 13
  • 40
  • 55
0
votes
1 answer

maven-eclipse-plugin and encoding file

How do we force the Eclipse project to use a specific encoding format for a specific type of file ? Example : UTF-8 for *.sql and ISO-8859-1 for *.java I can do that in Eclipse of course. But for the benefit of the team and any new comer, i…
Omar Elfada
  • 394
  • 3
  • 14
0
votes
1 answer

Maven Build Fail in Eclipse (Tests and Plugin)

I am using Maven Buildin Eclipse IDE for a Spring project for uploading files.SPRING. The error is arising from 1-Plugin. I deleted the maven-compiler plugin from /.m2 directory (Windows), but the error still exist. The usual consensus is to delete…
szfs
  • 1
  • 1
0
votes
1 answer

How to do the `mvn eclipse:eclipse` through the M2Eclipse plugin?

It came to my attention that: The maven-eclipse-plugin (used in mvn eclipse:eclipse) is discontinued and shouldn't be used anymore. M2Eclipse replaces it for most, if not all, usage. I work on a new project now, and the M2Eclipse doesn't update…
Moshe Arad
  • 3,587
  • 4
  • 18
  • 33
0
votes
0 answers

NoClassDefFoundError for Dagger-2 generated class, using Maven in Eclipse Neon Android

I am new to Dagger-2. Previously I have successfully tried Dagger-2 demo program. Now I want to try the same in Android. For that I have done the following: I have used Eclipse Neon for Android. In it I have installed "Android for Maven Eclipse" and…
0
votes
0 answers

What commands is undergoing when I right click an maven-project in eclipse and select the update project item?

What commands is undergoing when I right click an maven-project in eclipse and select the update project item? Or is there a way to examine this?
lfree
  • 1,880
  • 3
  • 24
  • 39
0
votes
2 answers

Is there any way to avoid Scala libraries appearing twice in an Eclipse/Scala/Maven project?

I have Eclipse 3.5.2 Scala 2.8.0 final (inc latest Scala IDE for Eclipse) Maven integration for Eclipse Maven 2.2.1 .project and .classpath files generated by maven-eclipse-plugin I'm using Scala to write Specs BDD tests for my Java code and the…
Caoilte
  • 2,381
  • 1
  • 21
  • 27