Issue Type: Bug Bug
Affects Versions: 1.1
Assignee: Unassigned
Components: tooling
Created: 30/Sep/13 12:45 PM
Description:

I have found problem with compiling of switchyard's modul "tools". When the repository is cloned it is unpossible to compile project. Problem appears for maven version 3.1.0. Version 3.0.5 works ok!

Console output
---------------------------------------------------
constituent[0]: file:/home/mbasovni/sw/maven/default-mvn/lib/commons-cli-1.2.jar
constituent[1]: file:/home/mbasovni/sw/maven/default-mvn/lib/aether-connector-wagon-0.9.0.M2.jar
constituent[2]: file:/home/mbasovni/sw/maven/default-mvn/lib/slf4j-simple-1.7.4.jar
constituent[3]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-artifact-3.1.0.jar
constituent[4]: file:/home/mbasovni/sw/maven/default-mvn/lib/javax.inject-1.jar
constituent[5]: file:/home/mbasovni/sw/maven/default-mvn/lib/org.eclipse.sisu.plexus-0.0.0.M2a.jar
constituent[6]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-settings-builder-3.1.0.jar
constituent[7]: file:/home/mbasovni/sw/maven/default-mvn/lib/aether-util-0.9.0.M2.jar
constituent[8]: file:/home/mbasovni/sw/maven/default-mvn/lib/jsr305-1.3.9.jar
constituent[9]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-repository-metadata-3.1.0.jar
constituent[10]: file:/home/mbasovni/sw/maven/default-mvn/lib/wagon-http-2.4-shaded.jar
constituent[11]: file:/home/mbasovni/sw/maven/default-mvn/lib/asm-3.3.1.jar
constituent[12]: file:/home/mbasovni/sw/maven/default-mvn/lib/aopalliance-1.0.jar
constituent[13]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-plugin-api-3.1.0.jar
constituent[14]: file:/home/mbasovni/sw/maven/default-mvn/lib/aether-impl-0.9.0.M2.jar
constituent[15]: file:/home/mbasovni/sw/maven/default-mvn/lib/aether-spi-0.9.0.M2.jar
constituent[16]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-settings-3.1.0.jar
constituent[17]: file:/home/mbasovni/sw/maven/default-mvn/lib/jsr250-api-1.0.jar
constituent[18]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-embedder-3.1.0.jar
constituent[19]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-compat-3.1.0.jar
constituent[20]: file:/home/mbasovni/sw/maven/default-mvn/lib/plexus-utils-3.0.10.jar
constituent[21]: file:/home/mbasovni/sw/maven/default-mvn/lib/plexus-sec-dispatcher-1.3.jar
constituent[22]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-model-builder-3.1.0.jar
constituent[23]: file:/home/mbasovni/sw/maven/default-mvn/lib/plexus-component-annotations-1.5.5.jar
constituent[24]: file:/home/mbasovni/sw/maven/default-mvn/lib/wagon-file-2.4.jar
constituent[25]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-aether-provider-3.1.0.jar
constituent[26]: file:/home/mbasovni/sw/maven/default-mvn/lib/cdi-api-1.0.jar
constituent[27]: file:/home/mbasovni/sw/maven/default-mvn/lib/sisu-guice-3.1.3-no_aop.jar
constituent[28]: file:/home/mbasovni/sw/maven/default-mvn/lib/aether-api-0.9.0.M2.jar
constituent[29]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-model-3.1.0.jar
constituent[30]: file:/home/mbasovni/sw/maven/default-mvn/lib/guava-11.0.2.jar
constituent[31]: file:/home/mbasovni/sw/maven/default-mvn/lib/plexus-cipher-1.7.jar
constituent[32]: file:/home/mbasovni/sw/maven/default-mvn/lib/org.eclipse.sisu.inject-0.0.0.M2a.jar
constituent[33]: file:/home/mbasovni/sw/maven/default-mvn/lib/wagon-provider-api-2.4.jar
constituent[34]: file:/home/mbasovni/sw/maven/default-mvn/lib/maven-core-3.1.0.jar
constituent[35]: file:/home/mbasovni/sw/maven/default-mvn/lib/slf4j-api-1.7.4.jar
constituent[36]: file:/home/mbasovni/sw/maven/default-mvn/lib/plexus-interpolation-1.16.jar
constituent[37]: file:/home/mbasovni/sw/maven/default-mvn/conf/logging/
---------------------------------------------------
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:86)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:146)
	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:128)
	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:81)
	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:606)
	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)
Environment: Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-28 04:15:32+0200)
Java version: 1.7.0_25, vendor: Oracle Corporation
OS name: "linux", version: "3.8.0-31-generic", arch: "amd64", family: "unix"
Project: SwitchYard
Labels: maven switchyard
Priority: Major Major
Reporter: Martin Basovnik
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira