score:0
I am using a different approach with maven, gwt and eclipse.
I am using the maven eclipse plugin to generate a .classpath and .project file and import the project manually into eclipse (not as a maven project).
My configuration for the maven eclipse plugin looks like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<buildOutputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</buildOutputDirectory>
<projectnatures>
<projectnature>org.eclipse.jdt.core.javanature</projectnature>
<projectnature>com.google.gdt.eclipse.core.webAppNature</projectnature>
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
</projectnatures>
<buildcommands>
<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
<buildcommand>com.google.gdt.eclipse.core.webAppProjectValidator</buildcommand>
<buildcommand>com.google.appengine.eclipse.core.projectValidator</buildcommand>
<buildcommand>com.google.gwt.eclipse.core.gwtProjectValidator</buildcommand>
</buildcommands>
<classpathContainers>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
<classpathContainer>com.google.gwt.eclipse.core.GWT_CONTAINER</classpathContainer>
</classpathContainers>
<excludes>
<exclude>com.google.gwt:gwt-servlet</exclude>
<exclude>com.google.gwt:gwt-user</exclude>
<exclude>com.google.gwt:gwt-dev</exclude>
<exclude>javax.validation:validation-api</exclude>
</excludes>
<linkedResources>
<linkedResource>
<name>war</name>
<type>2</type>
<location>${basedir}/target/${project.artifactId}-${project.version}</location>
</linkedResource>
</linkedResources>
</configuration>
</plugin>
Hope that helps
score:0
This helped me:
- Delete the project from eclipse (but don't delete from disk)
- Close eclipse
- In your user folder there is .m folder.
- Delete repository folder underneath it (.m/repository).
- Open eclipse Import project as existing maven project (from disk).
score:2
See How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds
You can basically just copy the snippet from http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven#POM_changes_needed_for_Eclipse_Indigo and adapt to your plugins and goals.
score:6
If your pom is not specific as to the version of the maven-resources-plugin, that version will come from the superpom. By default, m2e uses an embedded copy of Maven 3.0.x. If the superpom there points to 2.4.3 and your 'outside-of-Eclipse' version asks for something else, then the Maven inside of Eclipse will go looking for 2.4.3 and fail due to the 'offline'.
Fix by configuring m2e to use the Maven installation you are using outside, or turning off 'offline' for one build.
If you want to use maven from your local installation instead of the embedded version that comes with m2e, You have to do this
Windows ==> Preferences ==> Maven ==> Installations ==> Click Add (select your local maven installation directory)
Installation Directory is not where local repository. It is where maven is installed.
After changing try right click on project then,
Maven ----> Update Project
score:25
Make sure you are not using the embedded Maven of Eclipse.
Go to Window->Preference ->Maven -> Installation->
choose your own maven installation folder there.
EDIT
If your company pays for IDE, you should ask for IntelliJ the IDE for Java, which I would say is better than Eclipse in many ways, not saying Eclipse is not good, that's just a good alternative. And you won't have this issue to start with
Source: stackoverflow.com
Related Query
- Error when importing Maven-GWT project ("No marketplace entries found to handle gwt-maven-plugin")
- Error when importing Grinder to Eclipse: No marketplace entries found to handle clojure-maven-plugin
- gwt - Error when importing a gwt project using Maven import in Eclipse
- How to fix 'No plugin found for prefix 'archetype' error when creating a maven project
- gwt mvp contacts example project gives error when importing it in eclipse
- Error when importing Maven project to Eclipse Luna on Ubuntu
- Maven root pom.xml marked as red when importing existing project into eclipse
- Error importing Maven Android Android project to Eclipse with ADT 20
- Error when creating a new maven project
- Error shown when creating new Maven project in Eclipse
- Unable to compile class for JSP error when I'm running my code in eclipse gwt project
- Maven does not add dependency jar files to project when importing to eclipse
- m2eclipse: How to set Eclipse project settings when importing a maven project?
- No marketplace entries found to handle jacoco-maven-plugin
- No marketplace entries found to handle yeoman-maven-plugin
- m2eclipse: add group id to project name when importing existing maven project into Eclipse
- Error 403 when try to deploy a maven project with tomcat-maven-plugin
- pom.xml greyed out when importing maven project into eclipse
- Request resource is not found 404 error while running maven project on tomcat in eclipse
- More than one scala library found in the build path when fresh creating maven project in eclipse
- No marketplace entries found to handle swagger-codegen-maven-plugin
- Disabling the Maven project builder when importing projects into eclipse
- Eclipse - Importing an existing Maven project gives Unsupported IClasspathEntry kind=4 Error
- Maven Java web project not recognised when importing into Eclipse
- Compilation error when trying to build a maven project with JAVA custom annotation which has ENUM variables defined in it
- No marketplace entries found to handle Execution default-proguard
- When importing maven project, use <name> instead of <groupid> for project name
- Error when importing LibGDX gradle project
- Eclipse - Wrong project name when importing maven project
- Messages cannot be resolved error when imported Jenkins plugin as Maven project
More Query from same tag
- How to increase STS (Spring Tool Suite) memory size?
- Process crashes during creation of RoboGuice injector, if there is a mocked instance in any module
- Can't get eclipse to work with java
- Find number of lines in a project in eclipse?
- Is eclipse uses proguard every built of project?
- Eclipse: how to format all xml files in workspace?
- Yarvik TAB doesn't show up in Eclipse on Ubuntu
- cannot edit Server runtime environment in Eclipse (Oxygen)
- Eclipse Text Not displaying properly
- "Connection with adb was interrupted." Have tried EVERYTHING
- Can't find the generated bulkloader.yaml
- java import error, org.jdom
- Adding a Gradle Task for Eclipse
- Package plink with jar
- onListItemClick doesnt work with my ListView
- How is eclipse feature to generate sample xml from an xsd schema implemented?
- CodePro Analytix - I don't get the Audit rule "Variable Has Null Value"
- Java Eclipse text editor
- dynamic MenuContribution - Get a warning
- Getting error when i try to open eclipse in linux
- Can't figure out what happened to file, and can't recreate it in eclipse
- Proper Logging for Eclipse plug-in development
- Java: Getting different output each time I run the program for the same input
- Replace the block behind a sign
- What does @a, @c in documentation strings mean?
- Netbeans & Eclipse hang when I attempt remote EC2 debugging via Xdebug
- GitHub Mylyn Connector installation
- I cannot change the font size of package explorer in Eclipse
- Joda-Time Library failing to load
- Create a POJO from Database View using Hibernate plug-in for Eclipse