[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-scripting-dev] Setting up local dev environment (maven prob)

fromÂhttp://stackoverflow.com/questions/18058419/maven-nattable-cleaninstall-failure it looks like it might be a Maven version issue.

At the moment here is my maven versionÂ

Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T17:37:52+00:00)
Maven home: /usr/local/apache-maven/apache-maven-3.2.1

before I start trying multiple (older) maven versions, can one of you (that has this working) let me know what version of Maven are you running?

(for reference I also got the same error running Maven from the command line)

DinisÂ


On 15 May 2014 16:15, Dinis Cruz <dinis.cruz@xxxxxxxxx> wrote:
Humm, I thought the problem was that I didn't install the 'Tycho Configurator' but got the same prob after installing it (and rebooting eclipse)

I also tried using the JDK 6.0Â


On 15 May 2014 16:00, Dinis Cruz <dinis.cruz@xxxxxxxxx> wrote:
I'm trying to run EASE locally from eclipse and here are my current steps.

1.a) pushed git repo to myÂhttps://github.com/DinisCruz/org.eclipse.e4.scripting (so that I can also use GitHub)
2) opened a clean Luna M7 (RCP dev version)
3) used the Eclipse import from git projects to load the projects in eclipse
4) of the 30 project that loaded most had compilation errors
5) found the org.eclipse.ease.relengÂ(as per the instructions in https://wiki.eclipse.org/E4/Scripting/Contribute) and did a maven clean (from Eclipse run as menu)
6) got the following error:

[INFO] Scanning for projects...

---------------------------------------------------

constituent[0]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/

constituent[1]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/takari-local-repository-0.9.0.jar

constituent[2]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/takari-filemanager-0.7.0.jar

constituent[3]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-core-3.2.1.jar

constituent[4]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-model-3.2.1.jar

constituent[5]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-settings-3.2.1.jar

constituent[6]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-settings-builder-3.2.1.jar

constituent[7]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-repository-metadata-3.2.1.jar

constituent[8]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-artifact-3.2.1.jar

constituent[9]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-plugin-api-3.2.1.jar

constituent[10]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-model-builder-3.2.1.jar

constituent[11]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-aether-provider-3.2.1.jar

constituent[12]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/aether-api-0.9.0.M2.jar

constituent[13]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/aether-util-0.9.0.M2.jar

constituent[14]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/plexus-interpolation-1.19.jar

constituent[15]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/plexus-utils-3.0.17.jar

constituent[16]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/plexus-component-annotations-1.5.5.jar

constituent[17]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/plexus-sec-dispatcher-1.3.jar

constituent[18]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-embedder-3.2.1.jar

constituent[19]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/plexus-cipher-1.7.jar

constituent[20]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/commons-cli-1.2.jar

constituent[21]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/maven-compat-3.2.1.jar

constituent[22]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/wagon-provider-api-2.6.jar

constituent[23]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/org.eclipse.sisu.plexus-0.0.0.M5.jar

constituent[24]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/cdi-api-1.0.jar

constituent[25]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/jsr250-api-1.0.jar

constituent[26]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/org.eclipse.sisu.inject-0.0.0.M5.jar

constituent[27]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/sisu-guice-3.1.3-no_aop.jar

constituent[28]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/javax.inject-1.jar

constituent[29]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/guava-14.0.1.jar

constituent[30]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/aether-impl-0.9.0.M2.jar

constituent[31]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/aether-spi-0.9.0.M2.jar

constituent[32]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/aether-connector-okhttp-0.12.0.jar

constituent[33]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/okhttp-1.5.4.jar

constituent[34]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/aether-connector-wagon-0.9.0.M2.jar

constituent[35]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/wagon-file-2.6.jar

constituent[36]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140505-1310/jars/commons-lang-2.6.jar

constituent[37]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/configuration/org.eclipse.osgi/462/0/.cp/

constituent[38]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.5.0.20140505-1310/

constituent[39]: file:/Users/plugin/_Dev/eclipses/Lula%20-%20M7%20(RCP%20with%20EASE)/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.5.0.20140505-1310/jars/slf4j-simple-1.7.5.jar

---------------------------------------------------

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;

at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:92)

at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:144)

at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:126)

at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:87)

at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:77)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)



Maybe the prob is with the use of space in the location of the git repo, so I will try without (I'm on OSX at the moment)