m2e

Is maven-eclipse-plugin no longer needed with the new M2Eclipse in Indigo?

ε祈祈猫儿з 提交于 2019-12-03 07:34:50
问题 Historically, its been a major hassle for our team to import our multi-module Maven project into Eclipse given all the Flex, WTP, and GWT stuff in there. We were recently thinking that the maven-eclipse-plugin could help us by generating the appropriate Eclipse project files. However, it seems now that the M2Eclipse plugin has been swallowed up by Eclipse and importing Maven projects now seems to read the pom and try to do the Right Thing. Does this mean the maven-eclipse-plugin is

Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

橙三吉。 提交于 2019-12-03 06:20:42
问题 I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site. After selecting Maven Integration for Eclipse, I clicked Next and got the following error: Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found So I searched through the internet to find out how to install the Guava Eclipse plugin. Some say it's from the Eclipse marketplace,

Why Maven project is tied to J2SE-1.5 by default?

放肆的年华 提交于 2019-12-03 05:37:37
If I create default empty based on no archetype Maven project in Eclipse , it will be based on J2SE-1.5 . I am to change manually both Build Path entry and code compliance. Why? How to make it be other? @axtavt is right, add source level configuration to your project. But do not configure maven-compiler-plugin , simply put this properties into pom.xml . <properties> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> </properties> After this refresh maven configuration in Eclipse. It's consistent with source and target settings of maven

m2e: Generated code with exec-maven-plugin

邮差的信 提交于 2019-12-03 04:57:47
问题 I have been using m2eclipse for 2 years or so and have now switched to m2e. Unfortunately, this has broken some functionality for me. In many projects, I have generated Java code, usually generated through a main class in a library project. Here's a typical setup: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>generateDTOs</id> <phase>generate-sources</phase> <goals> <goal>java</goal> </goals> <configuration>

Where is m2e-subclipse connector for using svn 1.8.x, subclise 1.10?

 ̄綄美尐妖づ 提交于 2019-12-03 04:19:13
问题 I read that the producers of m2e has stopped producing m2e connectors for anything beyond svn 1.7. And Tigris has apparently taken up the slack to maintain the m2e-subclipse connector. Q1 . My question is, where is the eclipse update url for using svn 1.8.x? As I realise, svn 1.8.x interface is implemented in subclipse 1.10. But where is the update url to update eclipse to use m2e with subclipse 1.10? Q2 . Otherwise, is there an alternative toward having maven access svn 1.8.x in eclipse? 回答1

How to configure maven install to skip tests in eclipse?

大兔子大兔子 提交于 2019-12-03 02:59:23
问题 i was wondering if it's possible to configure run as maven install in eclipse to skip unit tests, if such thing is doable, then please tell me how to do it, thanks in advance. 回答1: Ensure Maven is configured for your project Right-click on your project Go to 'Run As' Select 'Run Configurations' In the left-hand column, right-click 'Maven Build' and select 'New' Select the base directory (the project) you want to build from Write 'install' and any other goals you want in the 'Goals' field

Eclipse: Re-run Maven using the -X switch to enable full debug logging

南笙酒味 提交于 2019-12-03 02:57:45
I have a Maven project I'm trying to build/run in Eclipse but I'm getting the error below. How do I do what the error suggests and add the -e or X switches to try to troubleshoot this? [ERROR] Failed to execute goal org.bsc.maven:maven-processor-plugin:2.0.5:process (process) on project glw-crm: Error executing: NullPointerException -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read

How to add pom.xml to existing Eclipse project?

橙三吉。 提交于 2019-12-03 01:16:46
I'm new to Maven and use Eclipse Juno. I've installed Maven Integration for Eclipse. There are three options in File > New > Other > Maven: 1. Checkout Maven Projects from SCM 2. Maven Module 3. Maven Project But I don't see Maven2 POM as described here . I've read that adding pom.xml is the first thing to do when using Maven. I have an existing Dynamic Web Project so I'm not sure whether I need to create Maven Project just to use Maven. How to use Maven with this existing project? Further, when I try to add Maven Project and on step "Select an Archetype", then all shown archetypes have

m2e error in MavenArchiver.getManifest()

♀尐吖头ヾ 提交于 2019-12-03 00:35:06
问题 I am seeing an error in my STS and am not sure how to debug it. Searching around I only see vague references to the error and no solutions. The error is: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration) pom.xml / <maven projectName> line 1 Maven Configuration Problem Question : Can anyone give any suggestions on how to get more information on the issue in order to debug it further or any possible

Is maven-eclipse-plugin no longer needed with the new M2Eclipse in Indigo?

邮差的信 提交于 2019-12-02 21:02:48
Historically, its been a major hassle for our team to import our multi-module Maven project into Eclipse given all the Flex, WTP, and GWT stuff in there. We were recently thinking that the maven-eclipse-plugin could help us by generating the appropriate Eclipse project files. However, it seems now that the M2Eclipse plugin has been swallowed up by Eclipse and importing Maven projects now seems to read the pom and try to do the Right Thing. Does this mean the maven-eclipse-plugin is essentially obsolete? What can we do to help our projects import into Eclipse in the best possible way? maven