You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jörg Schaible (JIRA)" <ji...@codehaus.org> on 2014/08/08 13:10:10 UTC
[jira] (MRELEASE-882) [regression] Perform fails because usage of
site plugin with wrong version
Jörg Schaible created MRELEASE-882:
--------------------------------------
Summary: [regression] Perform fails because usage of site plugin with wrong version
Key: MRELEASE-882
URL: https://jira.codehaus.org/browse/MRELEASE-882
Project: Maven Release Plugin
Issue Type: Bug
Components: perform
Affects Versions: 2.5
Reporter: Jörg Schaible
We use M322 and define the version 3.4 for the site plugin in our POM using a version property. The output of help:effective-pom verifies that the site-plugin is declared using version 3.4. However, release:perform fails with (snippet):
{noformat}
[INFO] --- maven-release-plugin:2.5:perform (default-cli) @ master ---
[INFO] Checking out the project to perform the release ...
...
[INFO] [INFO] --- maven-site-plugin:3.0-beta-3:site (default-site) @ master ---
[INFO] [WARNING] Error injecting: org.apache.maven.plugins.site.DefaultMavenReportExecutor
[INFO] java.lang.NoClassDefFoundError: org/sonatype/aether/graph/DependencyFilter
[INFO] at java.lang.Class.getDeclaredConstructors0(Native Method)
[INFO] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
{noformat}
Obviously the release:perform goal of the release plugin in version 2.5 uses now version 3.0-beta-3 of the site plugin with is incompatible.
When we go back to version 2.4.2 of the release plugin, it uses the correct (declared) version of the site plugin and the release is performed successfully.
Comparing the used plugin versions during release:perform, it is not only the version of the site plugin that is wrong. It seems that any declared plugin version is simply ignored with release plugin version 2.5.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)