github / maven-plugins

Official GitHub Maven Plugins
MIT License
584 stars 198 forks source link

Add support for Maven 3.1.x #52

Closed hakan42 closed 10 years ago

hakan42 commented 10 years ago

Running "mvn-3.1.1 clean site" on a project which generates it's site cleanly with mvn 3.0.4 gives:

[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.8:site (github-site) on project android-commons-oss: Execution github-site of goal com.github.github:site-maven-plugin:0.8:site failed: An API incompatibility was encountered while executing com.github.github:site-maven-plugin:0.8:site: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;

hakan42 commented 10 years ago

Maven 3.1.1 support is actually critical given the mave-android-plugin enforces 3.1.1 by version 3.7.x which in turn is required for consuming aar library artifacts.

cescoffier commented 10 years ago

Please try with the freshly released 0.9 version.

hakan42 commented 10 years ago

Thank you, 0.9 solved my issue. Now if only the copy-maven-plugin would be fixed :+1: