[jira] [Created] (MDEP-751) Publish `maven-dependency-plugin:3.2.0` artifacts to the Central Maven repository
Sergey Brunov created MDEP-751: -- Summary: Publish `maven-dependency-plugin:3.2.0` artifacts to the Central Maven repository Key: MDEP-751 URL: https://issues.apache.org/jira/browse/MDEP-751 Project: Maven Dependency Plugin Issue Type: Improvement Reporter: Sergey Brunov To whom it may concern, It seems the {{maven-dependency-plugin:3.2.0}} artifacts have not been published to the Central Maven repository. But, at the same time, the development of a new version seems to have started: note {{3.2.1-SNAPSHOT}} in the [pom.xml|https://github.com/apache/maven-dependency-plugin/blob/1ac708df7ccf0245f8c91a6f57db9468670f11a1/pom.xml]. Therefore, could you please publish `maven-dependency-plugin:3.2.0` artifacts to the Central Maven repository? Best regards, Sergey Vyacheslavovich Brunov. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[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&focusedCommentId=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.doE
[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&focusedCommentId=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 org.apache.maven.Def
[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&focusedCommentId=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 org.apache.maven
[jira] [Commented] (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&focusedCommentId=17304025#comment-17304025 ] Sergey Brunov commented on MDEP-693: 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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.pl
[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&focusedCommentId=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 org.apache.maven
[jira] [Updated] (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:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Summary: `dependency:analyze-only` goal fails on OpenJDK 14 (was: `analyze-only` goal fails on OpenJDK 14) > `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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke (Method.java:564) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo > (DefaultBuildPluginManager.java:148) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:210) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.jav
[jira] [Updated] (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:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Description: 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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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 org.apache.maven.cli.MavenCli.exe
[jira] [Updated] (MDEP-693) `analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Description: 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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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 org.apache.maven.cli.MavenCli.execute (Maven
[jira] [Updated] (MDEP-693) `analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Description: 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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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 org.apache.maven.cli.MavenCli.execute (Maven
[jira] [Updated] (MDEP-693) `analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Description: 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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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 org.apache.maven.cli.MavenCli.execute (Maven
[jira] [Updated] (MDEP-693) `analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Description: h1. Environment-related information 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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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 org.apache.maven.cli.Mav
[jira] [Updated] (MDEP-693) `analyze-only` goal fails on OpenJDK 14
[ https://issues.apache.org/jira/browse/MDEP-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Brunov updated MDEP-693: --- Description: h1. Environment-related information 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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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 org.apache.maven.cli.Mav
[jira] [Created] (MDEP-693) `analyze-only` goal fails on OpenJDK 14
Sergey Brunov created MDEP-693: -- Summary: `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 h1. Environment-related information 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 {{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 org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: 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.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) 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.LifecycleSta