m2eclipse

PyDev for Eclipse - Resolve Python dependencies (unresolved imports)

独自空忆成欢 提交于 2019-11-30 11:35:42
I am using PyDev for Eclipse as my IDE and pip as my package management tool, running virtualenv. Every time I want to use/include some new libraries or new dependencies in my project, I add them into the pip-requires file. The dependencies are installed in my virtual environment with no problem after running pip install -r pip-requires . My Env : Ubuntu 12.04 PyDev for Eclipse 2.7.1.2012100913 Python 2.7.3 Eclipse indigo Update: My Pydev Setup : Questions: eclipse/pydev knows nothing about the new libraries being added in my virtual env. I had to manually add the .egg source folder into

Maven plugin in Eclipse - Settings.xml file is missing

雨燕双飞 提交于 2019-11-30 10:38:07
问题 I installed the maven plugin for eclipse. Then tried updating the index and got the following error: Unable to update index for central|http://repo1.maven.org/maven2 While trying to edit the proxy settings through windows-preferences-maven-user settings, I realise there is no such file. I don't have separate maven installation and only the plugin. Please someone could help resolving the problem? Thank you very much. Cheers A Config: Helios Service Release 1 org.maven.ide.eclipse.feature (0.12

m2eclipse not finding maven dependencies, artifacts not found

霸气de小男生 提交于 2019-11-30 10:20:27
问题 I'm using m2eclipse as my maven 2 plugin for eclipse. I'm brand new to maven, so my mistake might be simple, although searching has not yielded any solutions for me. I can run maven from the command line and it build successfully. However if I import as an existing maven project, or use mvn eclipse:eclipse and then import I get the artifacts not found in my POM file resulting in no maven dependencies being loaded at all. What's odd is that I have 2 projects, both children to a parent pom

How does one automate configuration of Eclipse?

不羁岁月 提交于 2019-11-30 09:28:13
A team working on a project will tend to need a common configuration of Eclipse. This includes general configuration and project specific configuration. For example, generally, everyone might wish to share indentation, installation of certain plugins (say m2eclipse, testng, egit, Spring support). Further, for a project, you might want specific plug-in configurations (e.g., for m2eclipse, setting up a custom Maven settings file, configuring extra Maven targets for eclipse build events), or a custom Eclipse target platform, or even just to set-up certain custom launchers. Currently, my team

Eclipse won't launch because `reload maven project has encountered a p‌r‌o‌b‌l‌e‌m`

十年热恋 提交于 2019-11-30 08:46:34
When I try to start Eclipse Luna in CentOS 7, I get the following dialog box: How can I resolve this and get eclipse to start? I removed .metada from workspace and reimported the maven projects as quick and dirty solution. You loose your Eclipse settings, you can try to play with metadata. Instead of deleting the whole .metadata folder, just delete the file .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi" You need to make sure to quit eclipse first, then remove this file and start eclipse again. Error will be gone. For me it was enough just to remove the whole <persistedState /> tag

Eclipse WTP, maven and m2eclipse - not copying provided jars

余生颓废 提交于 2019-11-30 05:02:51
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? You have to install the m2eclipse-wtp which is an extra plug-in for m2eclipse .It will do this job for you. After installing the m2eclipse-wtp , just right-click project ---> Maven --> Update Project Configuration , you will find that the libs of the

Can a multi-module m2eclipse/WTP project get utility modules deployed into WEB-INF/classes?

我只是一个虾纸丫 提交于 2019-11-30 04:48:21
问题 We currently use MyEclipse with its built-in Maven4MyEclipse integration and its built-in J2EE server support, but want to convert over to regular eclipse (Helios specifically) to be able to use its 64-bit install on windows. (MyEclipse does not yet support 64-bit on Windows.) So far I've got a working prototype of Helios eclipse using m2eclipse with the WTP plugin deploying our large web application to tomcat. Deployment is a little processor intensive, but it works and the app starts up.

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

眉间皱痕 提交于 2019-11-30 02:42:04
问题 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

Deploying project, created with Eclipse and Maven, to Tomcat

淺唱寂寞╮ 提交于 2019-11-30 02:24:09
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 Maven Webapp</name> <url>http://maven.apache.org</url> <!-- tools.jar dependency --> <profiles>

ClassNotFoundException when running a Spring + Maven2 project on Tomcat 6 from within Eclipse 3.5

本秂侑毒 提交于 2019-11-30 01:58:44
When trying to launch a Web project from within Eclipse I get: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3877) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429) at