m2eclipse

Problem installing Maven plugin (m2eclipse) in Eclipse (Galileo)

江枫思渺然 提交于 2019-12-01 03:25:58
I have Eclipse Galileo (for Java EE Developers) installed, and I'm now trying to get the m2eclipse Maven plugin installed as well. I follow the basic steps described at http://m2eclipse.sonatype.org/installing-m2eclipse.html , and it seems to be installing just fine. However, after restarting Eclipse after the install it doesn't seem to be anywhere. I should for instance have the ability to create a new maven project, but when the new-project wizard opens, there is no folder for Maven (I also cannot find any reference to it in the context menus of the existing projects I have). When I click at

Maven dependency timeout settings

蓝咒 提交于 2019-12-01 03:17:26
Maven reports timeout exception while downloading dependencies, as it's default time out is 60000, but in my case I need to increase because ( The environment where I am working has established an intermediary server that first download all the file to it's own server and my machine get those downloaded file from that intermediary server). Now here the problem comes, if the dependency is too large simply that takes more than 60000 mili seconds then eclipse burst with the following exception SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP)

Problem installing Maven plugin (m2eclipse) in Eclipse (Galileo)

不羁的心 提交于 2019-12-01 00:53:01
问题 I have Eclipse Galileo (for Java EE Developers) installed, and I'm now trying to get the m2eclipse Maven plugin installed as well. I follow the basic steps described at http://m2eclipse.sonatype.org/installing-m2eclipse.html, and it seems to be installing just fine. However, after restarting Eclipse after the install it doesn't seem to be anywhere. I should for instance have the ability to create a new maven project, but when the new-project wizard opens, there is no folder for Maven (I also

Maven dependency timeout settings

点点圈 提交于 2019-12-01 00:14:24
问题 Maven reports timeout exception while downloading dependencies, as it's default time out is 60000, but in my case I need to increase because ( The environment where I am working has established an intermediary server that first download all the file to it's own server and my machine get those downloaded file from that intermediary server). Now here the problem comes, if the dependency is too large simply that takes more than 60000 mili seconds then eclipse burst with the following exception

how do I add apache commons logging using the maven2 with eclipse?

倾然丶 夕夏残阳落幕 提交于 2019-11-30 20:16:49
I can't seem to find apache common logging when using eclipse w/maven2 plugin. I need it for spring3 mvc apparently. Pascal Thivent Do you know that the m2eclipse plugin can search some indexed repositories, like central ? For example, if you right-click on your project and go to Maven > Add Dependency , you can use it like this: And this will add this to your pom: <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1.1</version> </dependency> Another option is to use one of the numerous repository search engine , for example: http://search.maven

How do I add a jar file to my local Maven repository using Eclipse m2e on Luna Service (4.4.1)?

女生的网名这么多〃 提交于 2019-11-30 19:50:07
问题 I am getting an warning message because I manually added a jar file to my local maven repository. [INFO] Downloading: http://repo.maven.apache.org/maven2/com/netsuite/nsws-2014/1.0/nsws-2014-1.0.pom [WARNING] The POM for com.netsuite:nsws-2014:jar:1.0 is missing, no dependency information available How do I properly add a jar file to my local Maven repository using Eclipse m2e on Luna Service (4.4.1)? Like can I use the builder? 回答1: The local Maven repository is effectively a standard Maven

Eclipse Maven Plugin Configuration Problem

筅森魡賤 提交于 2019-11-30 19:12:24
I have followed this thread now when i try to build using maven plugin installed i am getting following error. goal i executed was clean -X install Unable to locate the Javac Compiler in: C:\Program Files\Java\jre6\..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2

How can I map Maven lifecycle phases not covered by the Eclipse m2e plugin?

随声附和 提交于 2019-11-30 18:33:57
I’m using Eclipse Kepler on Mac 10.9.5. I have imported a number of Maven projects using the m2e Eclipse plugin. All these projects are children of a parent pom. When I look at the “Overview” in the individual child pom.xml files, I see stuff like this: Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:write-project-properties (execution: default, phase: process-resources) I would like Eclipse to execute these lifecycle phases at the appropriate times, but I’m not sure how to do that. When I select Eclipse’s suggestion … Permanently

Eclipse + Maven + Tomcat: testing web apps when the WAR is built with custom options

馋奶兔 提交于 2019-11-30 13:18:16
I am using Eclipse (Helios), with the "m2eclipse" plugin. I am working on a Maven-based web application project, which I test on a local Tomcat server that is setup inside Eclipse. Generally, this works more or less great. "m2eclipse" can sometimes be flaky... but for the most part it keeps my POM and my Eclipse project settings in sync, and likewise keeps the deployed code current in Tomcat. However, recently I've added a wrinkle. I have one JavaScript include file that needs to be different when going from the test environment to the real production environment. The differences are too

Deploying project, created with Eclipse and Maven, to Tomcat

独自空忆成欢 提交于 2019-11-30 12:16:28
问题 I'm using Eclipse 3.5, Maven 2, m2eclipse and Tomcat 6. So i create Maven project for archetype webapp. This is pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.itransition</groupId> <artifactId>hello</artifactId> <packaging>war</packaging> <version>0.0.1-SNAPSHOT</version> <name>hello