Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

site goal does not work with maven 3.1 #46

Closed
davidkarlsen opened this issue Jul 26, 2013 · 14 comments
Closed

site goal does not work with maven 3.1 #46

davidkarlsen opened this issue Jul 26, 2013 · 14 comments

Comments

@davidkarlsen
Copy link

[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
Copy link
Contributor

cescoffier added a commit to cescoffier/maven-plugins that referenced this issue Aug 11, 2013
Fix the issue 46 - github#46

* migrate to the Maven-API 3.1.0
* remote Aether dependency - unfortunately, the code using Aether cannot work anymore. username and password cannot be retrieved from the Authentication object anymore. We still rely on the settings.xml
* update github-core version in the download plugin

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
joschi added a commit to dropwizard/dropwizard-elasticsearch that referenced this issue Aug 19, 2013
The GitHub site plugin currently doesn't work with Maven 3.1.0, see github/maven-plugins#46
@rgladwell
Copy link

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
Copy link
Contributor

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
Copy link
Author

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

@kevinsawicki
Copy link
Contributor

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
Copy link
Contributor

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

@kevinsawicki
Copy link
Contributor

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

@cescoffier
Copy link
Contributor

@kevinsawicki Yes, I'm.

@cescoffier
Copy link
Contributor

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

@kevinsawicki
Copy link
Contributor

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!

cescoffier added a commit that referenced this issue Oct 3, 2013
Fix issue #46
Using Maven 3.1 API.
@Tzrlk
Copy link

Tzrlk commented May 22, 2014

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

@Cantido
Copy link

Cantido commented May 7, 2016

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

@joschi
Copy link

joschi commented May 9, 2016

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

@Cantido
Copy link

Cantido commented May 18, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants