[jira] [Comment Edited] (MDEP-693) `dependency:analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17304025#comment-17304025 ] Sergey Vyacheslavovich Brunov edited comment on MDEP-693 at 2/20/22, 8:18 PM: -- h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency version to at least 9.0. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer}} Maven dependency version to at least 1.11.3. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Release request Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Vyacheslavovich Brunov. was (Author: sbrunov): h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency version to at least 9.0. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer}} Maven dependency version to at least 1.11.3. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Vyacheslavovich Brunov. > `dependency:analyze-only` goal fails on OpenJDK 14 > -- > > Key: MDEP-693 > URL: https://issues.apache.org/jira/browse/MDEP-693 > Project: Maven Dependency Plugin > Issue Type: Bug >Affects Versions: 3.1.2 > Environment: OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > Apache Maven 3.6.3 > Maven Dependency Plugin 3.1.2 >Reporter: Sergey Vyacheslavovich Brunov >Assignee: Sylwester Lachiewicz >Priority: Major > Fix For: 3.2.0 > > > h1. Environment > h2. Java > {code} > $ java -version > openjdk version "14.0.1" 2020-04-14 > OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing) > {code} > h2. Maven > {code} > $ mvn --version > Apache Maven 3.6.3 > Maven home: /usr/share/maven > Java version: 14.0.1, vendor: Debian, runtime: > /usr/lib/jvm/java-14-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.6.0-1-amd64", arch: "amd64", family: "unix" > {code} > h2. Maven Dependency Plugin > {code:xml} > > org.apache.maven.plugins > maven-dependency-plugin > 3.1.2 > > > analyze > > analyze-only > > > true > true > > > > > {code} > h1. Problem > When running the {{dependency:analyze-only}} goal on a JDK 14 project that > uses the «Java Records» feature ([JEP 359: Records > (Preview)|https://openjdk.java.net/jeps/359]), the goal fails with the > following error: > {code} > $ mvn clean install -X > <...> > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (analyze) > on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only > (analyze) on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) >
[jira] [Comment Edited] (MDEP-693) `dependency:analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17304025#comment-17304025 ] Sergey Vyacheslavovich Brunov edited comment on MDEP-693 at 6/12/21, 11:35 PM: --- h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency version to at least 9.0. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer}} Maven dependency version to at least 1.11.3. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Vyacheslavovich Brunov. was (Author: sbrunov): h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency version to at least 9.0. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer}} Maven dependency version to at least 1.11.3. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Brunov. > `dependency:analyze-only` goal fails on OpenJDK 14 > -- > > Key: MDEP-693 > URL: https://issues.apache.org/jira/browse/MDEP-693 > Project: Maven Dependency Plugin > Issue Type: Bug >Affects Versions: 3.1.2 > Environment: OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > Apache Maven 3.6.3 > Maven Dependency Plugin 3.1.2 >Reporter: Sergey Vyacheslavovich Brunov >Assignee: Sylwester Lachiewicz >Priority: Major > Fix For: 3.2.0 > > > h1. Environment > h2. Java > {code} > $ java -version > openjdk version "14.0.1" 2020-04-14 > OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing) > {code} > h2. Maven > {code} > $ mvn --version > Apache Maven 3.6.3 > Maven home: /usr/share/maven > Java version: 14.0.1, vendor: Debian, runtime: > /usr/lib/jvm/java-14-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.6.0-1-amd64", arch: "amd64", family: "unix" > {code} > h2. Maven Dependency Plugin > {code:xml} > > org.apache.maven.plugins > maven-dependency-plugin > 3.1.2 > > > analyze > > analyze-only > > > true > true > > > > > {code} > h1. Problem > When running the {{dependency:analyze-only}} goal on a JDK 14 project that > uses the «Java Records» feature ([JEP 359: Records > (Preview)|https://openjdk.java.net/jeps/359]), the goal fails with the > following error: > {code} > $ mvn clean install -X > <...> > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (analyze) > on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only > (analyze) on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at
[jira] [Comment Edited] (MDEP-693) `dependency:analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17304025#comment-17304025 ] Sergey Brunov edited comment on MDEP-693 at 3/18/21, 10:53 AM: --- h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency version to at least 9.0. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer}} Maven dependency version to at least 1.11.3. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Brunov. was (Author: sbrunov): h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Brunov. > `dependency:analyze-only` goal fails on OpenJDK 14 > -- > > Key: MDEP-693 > URL: https://issues.apache.org/jira/browse/MDEP-693 > Project: Maven Dependency Plugin > Issue Type: Bug >Affects Versions: 3.1.2 > Environment: OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > Apache Maven 3.6.3 > Maven Dependency Plugin 3.1.2 >Reporter: Sergey Brunov >Priority: Major > > h1. Environment > h2. Java > {code} > $ java -version > openjdk version "14.0.1" 2020-04-14 > OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing) > {code} > h2. Maven > {code} > $ mvn --version > Apache Maven 3.6.3 > Maven home: /usr/share/maven > Java version: 14.0.1, vendor: Debian, runtime: > /usr/lib/jvm/java-14-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.6.0-1-amd64", arch: "amd64", family: "unix" > {code} > h2. Maven Dependency Plugin > {code:xml} > > org.apache.maven.plugins > maven-dependency-plugin > 3.1.2 > > > analyze > > analyze-only > > > true > true > > > > > {code} > h1. Problem > When running the {{dependency:analyze-only}} goal on a JDK 14 project that > uses the «Java Records» feature ([JEP 359: Records > (Preview)|https://openjdk.java.net/jeps/359]), the goal fails with the > following error: > {code} > $ mvn clean install -X > <...> > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (analyze) > on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only > (analyze) on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute
[jira] [Comment Edited] (MDEP-693) `dependency:analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17304025#comment-17304025 ] Sergey Brunov edited comment on MDEP-693 at 3/18/21, 10:34 AM: --- h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the `maven-dependency-plugin`, once the pull request has been merged? Best regards, Sergey Brunov. was (Author: sbrunov): h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release May you please release the new version of the `maven-dependency-plugin`, once the pull request has been merged? Best regards, Sergey Brunov. > `dependency:analyze-only` goal fails on OpenJDK 14 > -- > > Key: MDEP-693 > URL: https://issues.apache.org/jira/browse/MDEP-693 > Project: Maven Dependency Plugin > Issue Type: Bug >Affects Versions: 3.1.2 > Environment: OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > Apache Maven 3.6.3 > Maven Dependency Plugin 3.1.2 >Reporter: Sergey Brunov >Priority: Major > > h1. Environment > h2. Java > {code} > $ java -version > openjdk version "14.0.1" 2020-04-14 > OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing) > {code} > h2. Maven > {code} > $ mvn --version > Apache Maven 3.6.3 > Maven home: /usr/share/maven > Java version: 14.0.1, vendor: Debian, runtime: > /usr/lib/jvm/java-14-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.6.0-1-amd64", arch: "amd64", family: "unix" > {code} > h2. Maven Dependency Plugin > {code:xml} > > org.apache.maven.plugins > maven-dependency-plugin > 3.1.2 > > > analyze > > analyze-only > > > true > true > > > > > {code} > h1. Problem > When running the {{dependency:analyze-only}} goal on a JDK 14 project that > uses the «Java Records» feature ([JEP 359: Records > (Preview)|https://openjdk.java.net/jeps/359]), the goal fails with the > following error: > {code} > $ mvn clean install -X > <...> > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (analyze) > on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only > (analyze) on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at
[jira] [Comment Edited] (MDEP-693) `dependency:analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17304025#comment-17304025 ] Sergey Brunov edited comment on MDEP-693 at 3/18/21, 10:34 AM: --- h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the {{maven-dependency-plugin}}, once the pull request has been merged? Best regards, Sergey Brunov. was (Author: sbrunov): h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release Could you please release the new version of the `maven-dependency-plugin`, once the pull request has been merged? Best regards, Sergey Brunov. > `dependency:analyze-only` goal fails on OpenJDK 14 > -- > > Key: MDEP-693 > URL: https://issues.apache.org/jira/browse/MDEP-693 > Project: Maven Dependency Plugin > Issue Type: Bug >Affects Versions: 3.1.2 > Environment: OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > Apache Maven 3.6.3 > Maven Dependency Plugin 3.1.2 >Reporter: Sergey Brunov >Priority: Major > > h1. Environment > h2. Java > {code} > $ java -version > openjdk version "14.0.1" 2020-04-14 > OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing) > {code} > h2. Maven > {code} > $ mvn --version > Apache Maven 3.6.3 > Maven home: /usr/share/maven > Java version: 14.0.1, vendor: Debian, runtime: > /usr/lib/jvm/java-14-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.6.0-1-amd64", arch: "amd64", family: "unix" > {code} > h2. Maven Dependency Plugin > {code:xml} > > org.apache.maven.plugins > maven-dependency-plugin > 3.1.2 > > > analyze > > analyze-only > > > true > true > > > > > {code} > h1. Problem > When running the {{dependency:analyze-only}} goal on a JDK 14 project that > uses the «Java Records» feature ([JEP 359: Records > (Preview)|https://openjdk.java.net/jeps/359]), the goal fails with the > following error: > {code} > $ mvn clean install -X > <...> > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (analyze) > on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only > (analyze) on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at
[jira] [Comment Edited] (MDEP-693) `dependency:analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17304025#comment-17304025 ] Sergey Brunov edited comment on MDEP-693 at 3/18/21, 10:30 AM: --- h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. h1. Request for release May you please release the new version of the `maven-dependency-plugin`, once the pull request has been merged? Best regards, Sergey Brunov. was (Author: sbrunov): h1. Solution 1. Upgrade the {{org.ow2.asm:asm}} Maven dependency to the 9.0 version at minimum. Upgraded to the 9.1 version that as per [its release notes|https://asm.ow2.io/versions.html] introduced the JDK 17 support. 2. Upgrade the {{org.apache.maven.shared:maven-dependency-analyzer:1.11.3}} Maven dependency to the 1.11.3 version at minimum. Already upgraded. h1. Pull request 1. [[MDEP-693] - `dependency:analyze-only` goal fails on OpenJDK 14 by sbrunov · Pull Request #129 · apache/maven-dependency-plugin|https://github.com/apache/maven-dependency-plugin/pull/129]. Best regards, Sergey Brunov. > `dependency:analyze-only` goal fails on OpenJDK 14 > -- > > Key: MDEP-693 > URL: https://issues.apache.org/jira/browse/MDEP-693 > Project: Maven Dependency Plugin > Issue Type: Bug >Affects Versions: 3.1.2 > Environment: OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > Apache Maven 3.6.3 > Maven Dependency Plugin 3.1.2 >Reporter: Sergey Brunov >Priority: Major > > h1. Environment > h2. Java > {code} > $ java -version > openjdk version "14.0.1" 2020-04-14 > OpenJDK Runtime Environment (build 14.0.1+7-Debian-1) > OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing) > {code} > h2. Maven > {code} > $ mvn --version > Apache Maven 3.6.3 > Maven home: /usr/share/maven > Java version: 14.0.1, vendor: Debian, runtime: > /usr/lib/jvm/java-14-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.6.0-1-amd64", arch: "amd64", family: "unix" > {code} > h2. Maven Dependency Plugin > {code:xml} > > org.apache.maven.plugins > maven-dependency-plugin > 3.1.2 > > > analyze > > analyze-only > > > true > true > > > > > {code} > h1. Problem > When running the {{dependency:analyze-only}} goal on a JDK 14 project that > uses the «Java Records» feature ([JEP 359: Records > (Preview)|https://openjdk.java.net/jeps/359]), the goal fails with the > following error: > {code} > $ mvn clean install -X > <...> > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only (analyze) > on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only > (analyze) on project the-maven-project: Execution analyze of goal > org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze-only failed: > This feature requires ASM8_EXPERIMENTAL > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:215) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > at