github / maven-plugins

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

site goal does not work with maven 3.1 #46

Closed davidkarlsen closed 10 years ago

davidkarlsen commented 11 years ago

[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.8:site (default) on project commons-transaction-spring: Execution default 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; [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>com.github.github:site-maven-plugin:0.8 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/et2448/.m2/repository/com/github/github/site-maven-plugin/0.8/site-maven-plugin-0.8.jar [ERROR] urls[1] = file:/home/et2448/.m2/repository/org/eclipse/mylyn/github/org.eclipse.egit.github.core/2.1.3/org.eclipse.egit.github.core-2.1.3.jar [ERROR] urls[2] = file:/home/et2448/.m2/repository/com/google/code/gson/gson/2.2.2/gson-2.2.2.jar [ERROR] urls[3] = file:/home/et2448/.m2/repository/com/github/github/github-maven-core/0.6/github-maven-core-0.6.jar [ERROR] urls[4] = file:/home/et2448/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>com.davidkarlsen.commonstransaction.spring:commons-transaction-spring:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] [ERROR]

brettporter commented 10 years ago

added to https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound to track

rgladwell commented 10 years ago

Looks like this project is dead, should we fork so we can merge this fix and to get a working version on Maven Central?

cescoffier commented 10 years ago

Hi,

I'm wondering too. I would be in favor of forking, maintaining my own version is not a good idea on the long-term.

davidkarlsen commented 10 years ago

Strange - since it's a github backed plugin. Are you awake @github ?

kevinsawicki commented 10 years ago

Hi, sorry for lack of a response on this and other issues.

If anyone would be interested in being a collaborator on this repo, please let me know and I'd be happy to add you and these fixes can be merged to master and we can cut a new release.

cescoffier commented 10 years ago

I can try to merge and cut a release soon. I already did a couple of pull requests.

kevinsawicki commented 10 years ago

@cescoffier Would you be interested in getting commit access to this repo?

cescoffier commented 10 years ago

@kevinsawicki Yes, I'm.

cescoffier commented 10 years ago

In addition, we would also need the authorization to upload the releases to maven central.

kevinsawicki commented 10 years ago

I can still cut releases when needed, just open an issue for it when it is ready and I'd be more than happy to.

You should now be able to push to this repo, thanks!

Tzrlk commented 10 years ago

Is this fix going to go into the release any time soon?

Cantido commented 8 years ago

This fix is still unpublished, would it be possible to release this?

joschi commented 8 years ago

@Cantido The plugin works for me with Maven 3.3.9. Are you sure you're using the latest version of the plugin?

Cantido commented 8 years ago

@joschi That must have been my issue, I've updated Maven and it's working now. Thank you!