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
Comments
added to https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound to track |
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>
The GitHub site plugin currently doesn't work with Maven 3.1.0, see github/maven-plugins#46
Looks like this project is dead, should we fork so we can merge this fix and to get a working version on Maven Central? |
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. |
Strange - since it's a github backed plugin. Are you awake @github ? |
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. |
I can try to merge and cut a release soon. I already did a couple of pull requests. |
@cescoffier Would you be interested in getting commit access to this repo? |
@kevinsawicki Yes, I'm. |
In addition, we would also need the authorization to upload the releases to maven central. |
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! |
Is this fix going to go into the release any time soon? |
This fix is still unpublished, would it be possible to release this? |
@Cantido The plugin works for me with Maven 3.3.9. Are you sure you're using the latest version of the plugin? |
@joschi That must have been my issue, I've updated Maven and it's working now. Thank you! |
[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]
The text was updated successfully, but these errors were encountered: