Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven NatTable clean+install failure

I'm trying to import and resolve the developer projects for the NatTable project as explained in their Getting Started tutorial.

I'm getting the following error on mvn -f [path to pom] clean install:

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

More details:

  • mvn --version works fine
  • %MAVEN_HOME% points to [devel]/maven-3.1.0
like image 693
Georgian Avatar asked Aug 05 '13 12:08

Georgian


1 Answers

The NatTable project seems to have configured the Tycho build extension in a version which is not compatible with Maven 3.1.

Either ask the project to switch to a Tycho version which works with Maven 3.1 (0.18.1 or later), or downgrade your local Maven installation to 3.0.5.

like image 70
oberlies Avatar answered Oct 12 '22 15:10

oberlies