maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MDEP-571) JDK9: Issue with list goal fails with java.lang.NoSuchMethodException
Date Fri, 16 Jun 2017 18:50:00 GMT

     [ https://issues.apache.org/jira/browse/MDEP-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karl Heinz Marbaise updated MDEP-571:
-------------------------------------
    Affects Version/s: 3.0.1

> JDK9: Issue with list goal fails with java.lang.NoSuchMethodException
> ---------------------------------------------------------------------
>
>                 Key: MDEP-571
>                 URL: https://issues.apache.org/jira/browse/MDEP-571
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> Maven home: /usr/local/maven
> Java version: 9-ea, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.9.0_ea+174.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
>            Reporter: Karl Heinz Marbaise
>            Priority: Blocker
>
> Calling: 
> {{mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.1:list}}
> Fails with the following:
> {code}
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO]
> [INFO] parent
> [INFO] domain
> [INFO] service-client
> [INFO] webgui
> [INFO] service
> [INFO] app
> [INFO] appasm
> [INFO] shade
> [INFO] assembly
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building parent 3.4.6-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:3.0.1:list (default-cli) @ parent ---
> [INFO]
> [INFO] The following files have been resolved:
> [INFO]    none
> [INFO]
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building domain 3.4.6-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:3.0.1:list (default-cli) @ domain ---
> java.lang.NoSuchMethodException: jdk.internal.module.ModuleReferenceImpl.descriptor()
> 	at java.base/java.lang.Class.getDeclaredMethod(Class.java:2451)
> 	at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.getModuleDescriptor(DependencyStatusSets.java:272)
> 	at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.buildArtifactListOutput(DependencyStatusSets.java:227)
> 	at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.getOutput(DependencyStatusSets.java:165)
> 	at org.apache.maven.plugins.dependency.resolvers.ResolveDependenciesMojo.doExecute(ResolveDependenciesMojo.java:90)
> 	at org.apache.maven.plugins.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:143)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
> 	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:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [INFO]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message