[MRELEASE-1123] Maven Release plugin doesn't work in maven 4 (original) (raw)

mvn -B -ntp -C release:prepare release:perform

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:3.0.0:prepare (default-cli) on project flowlogix: Unable to parse configuration of mojo org.apache.maven.plugins:maven-release-plugin:3.0.0:prepare for parameter projectVersionPolicyConfig: Cannot set 'projectVersionPolicyConfig' in class org.apache.maven.plugins.release.PrepareReleaseMojo: Can not set org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration field org.apache.maven.plugins.release.PrepareReleaseMojo.projectVersionPolicyConfig to org.apache.maven.internal.xml.XmlPlexusConfiguration -> [Help 1]

Maven 4.0.0-alpha-5 and release plugin 3.0.0

is blocked by

Bug - A problem which impairs or prevents the functions of the product. MNG-7784 Incompatible API SuperPomProvider#getSuperModel

is related to

Bug - A problem which impairs or prevents the functions of the product. MNG-7783 Profile source point to file instead of to module

supercedes

Bug - A problem which impairs or prevents the functions of the product. MNG-7627 Sonatype Staging plugin does not plug into deploy lifecycle correctly w/ Maven 4

links to