I think you have to go back to Maven 3.6.x because Maven broke
compatibility with plugins, see
https://issues.apache.org/jira/browse/MNG-7316

Gary

On Sat, Jan 22, 2022, 00:09 Matt Sicker <boa...@gmail.com> wrote:

> Hi all, I was looking to make a new release of commons-codec. I’ve been
> following the steps in [1], but when I try to create the release candidate
> via the commons-release plugin, I get the following error:
>
> [ERROR] Failed to execute goal
> org.apache.commons:commons-release-plugin:1.7:detach-distributions
> (detatch-distributions) on project commons-codec: Execution
> detatch-distributions of goal
> org.apache.commons:commons-release-plugin:1.7:detach-distributions failed.:
> UnsupportedOperationException -> [Help 1]
>
> Now if this plugin isn’t doing much that running “mvn release:perform”
> wouldn’t handle, then I can work around this, but otherwise, the release
> process doesn’t work for me. Here’s some version info:
>
> Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
> Maven home: /opt/homebrew/Cellar/maven/3.8.4/libexec
> Java version: 1.8.0_312, vendor: Azul Systems, Inc., runtime:
> /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "12.1", arch: "aarch64", family: "mac"
>
> [1]: https://commons.apache.org/releases/prepare.html
> —
> Matt Sicker
>
>

Reply via email to