Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [GSoC 2013] Maven Tycho Build

I saw in a mail thread one has suggested to delete some directories form the maven repository for a other problem with org/codehaus/plexus/archiver/ArchiverException. I deleted the org/codehaus directory which i added in previous build scripts.
Now the problem has been changed. it seems like previous issue has been solved. But still build failed.
Following is the full console output of the new status.

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING] No explicit target runtime environment configuration. Build is platform dependent.
---------------------------------------------------
constituent[0]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/aether-api-0.9.0.M2.jar
constituent[1]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/aether-connector-wagon-0.9.0.M2.jar
constituent[2]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/aether-impl-0.9.0.M2.jar
constituent[3]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/aether-spi-0.9.0.M2.jar
constituent[4]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/aether-util-0.9.0.M2.jar
constituent[5]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/aopalliance-1.0.jar
constituent[6]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/asm-3.3.1.jar
constituent[7]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/cdi-api-1.0.jar
constituent[8]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/commons-cli-1.2.jar
constituent[9]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/guava-11.0.2.jar
constituent[10]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/javax.inject-1.jar
constituent[11]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/jsr250-api-1.0.jar
constituent[12]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/jsr305-1.3.9.jar
constituent[13]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-aether-provider-3.1.0-alpha-1.jar
constituent[14]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-artifact-3.1.0-alpha-1.jar
constituent[15]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-compat-3.1.0-alpha-1.jar
constituent[16]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-core-3.1.0-alpha-1.jar
constituent[17]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-embedder-3.1.0-alpha-1.jar
constituent[18]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-model-3.1.0-alpha-1.jar
constituent[19]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-model-builder-3.1.0-alpha-1.jar
constituent[20]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-plugin-api-3.1.0-alpha-1.jar
constituent[21]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-repository-metadata-3.1.0-alpha-1.jar
constituent[22]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-settings-3.1.0-alpha-1.jar
constituent[23]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/maven-settings-builder-3.1.0-alpha-1.jar
constituent[24]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/org.eclipse.sisu.inject-0.0.0.M2a.jar
constituent[25]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/org.eclipse.sisu.plexus-0.0.0.M2a.jar
constituent[26]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/plexus-cipher-1.7.jar
constituent[27]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/plexus-component-annotations-1.5.5.jar
constituent[28]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/plexus-interpolation-1.16.jar
constituent[29]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/plexus-sec-dispatcher-1.3.jar
constituent[30]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/plexus-utils-3.0.10.jar
constituent[31]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/sisu-guice-3.1.3-no_aop.jar
constituent[32]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/slf4j-api-1.7.4.jar
constituent[33]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/slf4j-simple-1.7.4.jar
constituent[34]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/wagon-file-2.4.jar
constituent[35]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/wagon-http-2.4-shaded.jar
constituent[36]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/lib/wagon-provider-api-2.4.jar
constituent[37]: file:/C:/Maven/apache-maven-3.1.0-alpha-1/conf/logging/
---------------------------------------------------
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositoryS
ystemSession;
        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:272)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)


On Mon, Jun 17, 2013 at 7:49 PM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:
Hi Madhuranga,

haven't seen that error message before. Can you try with the following
command line:

 mvn clean install -P e43

This enables the e43 profile (-P) for Eclipse 4.3 aka Kepler.

Other profiles are e42 and e3x and it doesn't matter which profile you
choose, but you may have to select one of them.

If that doesn't help, please run Maven with -X and post the entire
output here.

Hope that helps.

Andreas
--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev


Back to the top