m2e

Eclipse doesn't start in Ubuntu 14.04

时间秒杀一切 提交于 2019-12-04 06:08:42
I have a problem trying to launch Eclipse in Ubuntu 14.04. Splash picture pops up, then blinks, turns white - and nothing happens until kingdom come. I have tried Luna, Kepler and 3.8 (from Ubuntu repository). EE and SE editions - both the same. I have also tried to launch them with different (oracle) vm - 1.7 and 1.8. And yes, I have tried the -clean and simple workspace removal. This is the only thing it says in console: org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state

Getting “The POM for <name> is invalid, transitive dependencies (if any) will not be available” only in Eclipse

人走茶凉 提交于 2019-12-04 05:47:25
I have recently upgraded to JAXB 2.2.11 and noticed in my Eclipse console the following message: 10/15/14, 11:42:46 PM GMT+2: [INFO] Creating new launch configuration 10/15/14, 11:42:58 PM GMT+2: [INFO] C:\Projects\workspaces\mj2p\maven-jaxb2-plugin-project\tests\JAXB-1044 10/15/14, 11:42:58 PM GMT+2: [INFO] mvn -B -X -e clean install 10/16/14, 12:09:07 AM GMT+2: [WARN] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model for com.sun.xml.bind:jaxb-impl:2.2.11 [ERROR]

WTP - m2e not deploying transitive dependencies

陌路散爱 提交于 2019-12-04 02:26:22
I have a web application which is structured in this way: A.jar -> B.war -> C.war I'm using Eclipse Juno and the WTP version is 1.1 . The A.jar is a workspace utility project which is being included by B.war. B.war is a war project that is included by C.war as an overlay. That's the way I'm doing that: <dependency> <groupId>com.projects</groupId> <artifactId>B</artifactId> <version>1.0-SNAPSHOT</version> <type>war</type> <scope>runtime</scope> </dependency> After that, I deploy the C project to the Tomcat server. That works like a charm if I manually deploy the Maven generated war to the

Maven: m2eclipse: Disable Workspace Resolution Causes Artifact Missing

守給你的承諾、 提交于 2019-12-04 00:55:45
问题 I have project A which depends on projects B and C in my Eclipse workspace. Sometimes I want A to run using the artifacts B and C from the repository rather the versions in the workspace. Therefore, I select A, and then select 'Maven-> Disable Workspace Resolution' so that A would use the versions from the repository. However, as soon as I take the above action, I get the error messages "Missing artifact B" and "Missing artifact C" in the pom file of project A. I've tried to clean up the

Package Dll in Jar using Maven- single goal

自作多情 提交于 2019-12-04 00:22:48
问题 I have added a DLL in my maven project as dependency like this : <dependency> <groupId>com.test.dll</groupId> <artifactId>myDll</artifactId> <version>0.1</version> <type>dll</type> </dependency> When I try to execute maven:install It is giving me this error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2- beta-5:single (jar-with-dependencies) on project testApp: Failed to create assembly: Error adding file-set for 'com.test.dll:myDll:dll:0.1' to archive:

m2e shade eclipse “project main artifact does not exist”

允我心安 提交于 2019-12-03 22:15:13
I'm trying to make a deployment package that bundles all the dependencies of my maven module that has dependencies to another maven project in eclipse. I have this in my pom.xml <modelVersion>4.0.0</modelVersion> <groupId>com.my.proj</groupId> <artifactId>AAA</artifactId> <version>0.0.2-SNAPSHOT</version> <name>btc</name> <dependencies> <dependency> <groupId>com.another.proj</groupId> <artifactId>BBB</artifactId> <version>1.4-SNAPSHOT</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId>

Eclipse Maven Error Plugin execution not covered by lifecycle configuration:

旧城冷巷雨未停 提交于 2019-12-03 16:47:07
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 file, however it didn't solve the issue. -vm c:\Program Files\Java\jdk1.7.0_21\jre\bin\server\jvm.dll

m2e: copy-dependencies is not supported by m2e

泄露秘密 提交于 2019-12-03 15:45:40
I get this error in my pom.xml , and I can't understand what I need to change in order to get eclipse to run the project (run as -> maven build) <build> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> <mainClass>com.cc.adapter.mock.InsertAccountStarter</mainClass> </manifest> </archive> </configuration> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <!-- Line below is the error --> <execution> <phase>install</phase> <goals> <goal>copy

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

﹥>﹥吖頭↗ 提交于 2019-12-03 12:19:26
问题 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

Cannot search for artifact in Eclipse Kepler using m2e plugin

Deadly 提交于 2019-12-03 10:50:08
问题 I tried the new Eclipse Kepler that already comes with a maven plugin. But when I want to add a dependency (open the pom.xml, go to dependencies tab and click add) I can input some string like "jetty" in the search box but nothing happens. In older versions I got a list of all dependencies containing "jetty". I don't know if this is important but I directly get an info when opening the "add dependency screen": "Artifact Id cannot be empty". I do not use a proxy or have any network issues. I