Tags "m2eclipse" Result

Eclipse WTP, maven and m2eclipse - not copying provided jars

When using Eclipse WTP and m2eclipse it is possible to copy all dependencies to WEB-INF/lib (by adding "maven dependencies" in the Deployment assembly). However, dependencies with scope "provided" are also copied, for example el-api and jsp-api. That disturbs the container and it fails to start. Any solution for not copying the "provided" jars? S

it1352 1 2019-05-15

Failed eclipse update when trying to install eclipse

When trying to install eclipse using the eclipse new software feature, I get this error: Cannot complete the install because one or more required items could not be found. Software being installed: Maven SCM handler for Subclipse (Optional) 0.9.8.200905041414 (org.maven.ide.eclipse.subclipse.feature.feature.group 0.9.8.200905041414) Missing requir

it1352 1 2019-05-15

Maven with Android - R.java file generation (Eclipse)

I am trying to get working R.java generation to project in gen folder. Actually, the application builds, when using maven build, however eclipse finds error, because it can't resolve R.java file (which actually is being put in /target/generated-sources/r/R.java location after each build). What is the suggested way to solve the problem? Solution Th

it1352 2 2019-05-07

How do i remove m2eclipse from my eclipse installation?

I don't need m2eclipse to work properly, I just need to remove m2eclipse for now and let eclipse behave normally. how do i do this? Solution Two solutions: Remove the plugin through the list of installed plugins (the illustrations are from the blog post "Install Eclipse UI Form Editor" written by Albert ATTARD): The "about eclipse" menu will g

it1352 0 2019-05-15

Eclipse m2eclipse getting dependancies from local repository

I have dependancies installed local on my machine (~/.m2/repository/blah/blah/blah) and m2eclipse is not recognizing them as there - I think m2eclipse is using its own maven instance. Is there any way to force m2eclipse to use the local maven installation in osx? Solution I had the same problem, and this is what worked for me. Using Eclipse Indig

it1352 0 2019-05-15

Maven goal running from eclipse

When I run mvn compile from command line, it builds using pom.xml. But when I try to run it within eclipse (by using m2eclipse plugin), when I right click on the pom.xml and run as maven build, it asks for a goal. I am new to maven and want to run it through eclipse. So why doesn't it ask for anything when running from command line? Is there a defa

it1352 0 2019-05-15

What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn't?

I imported a Maven project and it used Java 1.5 even though I have 1.6 configured as my Eclipse default Preferences->Java->Installed JREs. When I changed the Maven project to use the 1.6 JRE it still had the build errors left over from when the project was using Java 1.5 (I described these build errors earlier in: I have build errors with m

it1352 0 2019-05-21

What causes a new Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn't?

I imported a Maven project and it used Java 1.5 even though I have 1.6 configured as my Eclipse default Preferences->Java->Installed JREs. When I changed the Maven project to use the 1.6 JRE it still had the build errors left over from when the project was using Java 1.5 (I described these build errors earlier in: I have build errors with m

it1352 2 2019-05-15

Using m2e plugin in a Dynamic Web Project

I have an existing Dynamic Web Project in Eclipse Indigo and the m2e plugin installed. In another version of my eclipse setup that I dont quite remember (my hdd crashed) I could just right click on the project -> Maven -> Enable Dependency Management. This menu is gone for my Dynamic Web Project in my current eclipse version. Whats the way to go n

it1352 2 2019-05-15

m2eclipse error

I am developing a web application with Eclipse and I generate the project with a maven archetype. When I enable maven dependency management, Eclipse mark some errors in the pom file, this error is: Multiple annotations found at this line: - Execution default-testResources of goal org.apache.maven.plugins:maven-resources- plugin:2.4.3:te

it1352 3 2019-05-15