m2eclipse

Failed eclipse update when trying to install eclipse

岁酱吖の 提交于 2019-12-05 19:12:30
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 requirement: Maven SCM handler for Subclipse (Optional) 0.9.8.200905041414 (org.maven.ide.eclipse.subclipse.feature.feature.group 0.9.8.200905041414) requires 'org.tigris.subversion.subclipse.ui 0.0.0' but it could not be found I am new to eclipse, so I

Problems by import of a multiple modules maven 2 project into eclipse workspace

孤街醉人 提交于 2019-12-05 18:58:25
I was wondering if someone has experienced the same problem as me and can help me. I have a maven project which contains 6 modules. Some of modules are depending on each other. The project is written in Java and builds to jars, wars and aar. I've been trying to import it to Eclipse with the m2eclipse plug-in. It seems to work fine until the project builds. During the build process I get hundreds of errors complaining about missing Java files which are generated. As I found out eclipse can't recognize that some of generated packages should be interpreted as source code. I don't realy know what

Error in pom.xml Maven build

孤者浪人 提交于 2019-12-05 12:11:23
I am getting an error in my pom.xml when trying to build a maven project. The error is here on this plugin: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> This is the error Eclipse shows: Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin: 2.3.2:compile (execution: default-compile, phase: compile) - CoreException: Could not get the value for

How to add maven repository jars to eclipse buildpath?

左心房为你撑大大i 提交于 2019-12-05 10:06:40
From eclipse I can see all the necessary jars in maven repositories view. But I have around 100 errors for the missing jar files. So I have set M2_REPO environment variable. I have ran the mvn eclipse:eclipse command from command line. When I run this command an ear package is added to one of subpackages of my project. For example my project name is portal. And sub package is portal_ear. The ear after running mvn eclipse:eclipse command is added to target folder of portal_ear. So my question is as I have the jars already in the repository, how can I add those to the portal buildpath inside

Import Existing Maven in Eclipse as WTP

☆樱花仙子☆ 提交于 2019-12-05 09:47:10
I had to reinstall my Eclipse and now i have to import all the existing projects into the new workspace. The previous version of Eclipse was Galileo, this version is Indigo. The plugins are installed, but after the "Import Existing Maven Project" the projects are not showing as WTP (WebApp Project)... Do i need something else to setup or config? Thanks a lot! Dariop Yes, you need to install additional software. The "Maven Integration for Eclipse WTP" See here: http://marketplace.eclipse.org/node/96737 Update Site: http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/ You can convert a

Maven Build Failure - failure to find plugins

此生再无相见时 提交于 2019-12-05 08:38:23
I have created a project using the m2 eclipse tool and selected the web application archetype now if I try to package this empty application I get a build failure saying [ERROR] Plugin org.apache.maven.plugins:maven-war-plugin:2.1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-war-plugin:jar:2.1 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update in terval of central has elapsed or updates are forced -> [Help 1] org.apache.maven.plugin.PluginResolutionException: Plugin org

M2Eclipse, META-INF/MANIFEST.MF

杀马特。学长 韩版系。学妹 提交于 2019-12-05 08:01:55
I use the M2Eclipse plugin in Eclipse. And I don't know for what reason, each time I import a Maven project in Eclipse, it always generates an empty - src/main/META-INF/MANIFEST.MF file (jar-packaged projects) - src/main/webapp/META-INF/MANIFEST.MF file (war-packaged projects) I find this a bit annoying ;-) Does someone know how to disable this behavior ? Thanks This was fixed in m2e-wtp 0.13.0. Latest m2e-wtp version can be found at http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/ The root cause of the problem is WTP's Dynamic Web Facet, which automatically creates a MANIFEST.MF

m2eclipse resource filtering

一笑奈何 提交于 2019-12-05 07:08:55
I've having problems with resource filtering using m2eclipse Maven support in Eclipse. It seems that filtering only takes place on resources that have changed. This is fundamentally flawed because, if I have a file that references properties (e.g. ${my.property}, if the value of the property changes, the filtering will only be performed if the referencing file is also modified - if I only change the property value (in my pom.xml), the filtering is not applied to the files that that reference it. So, if I make a change to a property in my pom file, the filtering is not applied. However, if I

Eclipse: The selection did not contain any resource that can run on a server

本小妞迷上赌 提交于 2019-12-05 02:21:17
I am not able to run maven java web application project to the configured tomcat within eclipse ide. Initially I could right click on the project and run it on tomcat server but ever since I shared the project to a repository I am not able to do that. I disconnected the project form the repository and now I I dont even see the Run as -> Run on Server option inside eclipse ide. I am using m2e plugin version .0.12.1 and eclipse helios and tomcat 6. Could someone help me understand what am I missing here? Thanks. PROBLEM When you try to run the project on the server using "Run on Server" (SA+X+R)

Eclipse Maven Error Plugin execution not covered by lifecycle configuration:

时间秒杀一切 提交于 2019-12-05 02:04:57
问题 I am using Eclipse Juno with Maven 3.0.5 on Windows 7. The project was previously on Windows XP and I have moved to Windows 7 64 bit machine. I have copied my Eclipse Spring 3, Hibernate 4 and JSF 2.0 project and when I try to compile I am getting the following error Plugin execution not covered by lifecycle configuration: org.bsc.maven:maven-processor-plugin:2.0.6:process (execution: process, phase: generate-sources) I tried as mentioned in this thread by adding the following in Eclipse.ini