mvn dependency:analyze fails with IllegalArgumentException

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

mvn dependency:analyze fails with IllegalArgumentException

Henrik Eriksson
Hello,

Running mvn dependency:analyze fails with the follwing exception:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
(default-cli) on project utils: Execution default-cli of goal
org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.:
IllegalArgumentException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
(default-cli) on project utils: Execution default-cli of goal
org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
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)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
default-cli of goal
org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at
org.apache.maven.shared.dependency.analyzer.asm.DependencyClassFileVisitor.visitClass(DependencyClassFileVisitor.java:65)
at
org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.visitClass(ClassFileVisitorUtils.java:163)
at
org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.acceptDirectory(ClassFileVisitorUtils.java:143)
at
org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.accept(ClassFileVisitorUtils.java:71)
at
org.apache.maven.shared.dependency.analyzer.asm.ASMDependencyAnalyzer.analyze(ASMDependencyAnalyzer.java:50)
at
org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.java:211)
at
org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.java:198)
at
org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.analyze(DefaultProjectDependencyAnalyzer.java:74)
at
org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeMojo.checkDependencies(AbstractAnalyzeMojo.java:298)
at
org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeMojo.execute(AbstractAnalyzeMojo.java:250)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

mvn --verison
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T21:39:06+02:00)
Maven home: /home/omit/bin/maven
Java version: 9.0.4, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-9-oracle
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.13.0-37-generic", arch: "amd64", family:
"unix"

Does anyone know what that might be?

/H
Reply | Threaded
Open this post in threaded view
|

Re: mvn dependency:analyze fails with IllegalArgumentException

Karl Heinz Marbaise-3
Hi Henrik,

can you try to add the following to your pom configuration (just a try
to see if I'm on the right path):


<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-dependency-plugin</artifactId>
   <dependencies>
      <dependency>
       <groupId>org.ow2.asm</groupId>
       <artifactId>asm</artifactId>
       <version>6.1</version>
     </dependency>
   </dependencies>
</plugin>

and just give a try to rerun it...

Kind regards
Karl Heinz Marbaise

On 21/03/18 23:02, Henrik Eriksson wrote:

> Hello,
>
> Running mvn dependency:analyze fails with the follwing exception:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
> (default-cli) on project utils: Execution default-cli of goal
> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.:
> IllegalArgumentException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
> (default-cli) on project utils: Execution default-cli of goal
> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> 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)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
> default-cli of goal
> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 20 more
> Caused by: java.lang.IllegalArgumentException
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at
> org.apache.maven.shared.dependency.analyzer.asm.DependencyClassFileVisitor.visitClass(DependencyClassFileVisitor.java:65)
> at
> org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.visitClass(ClassFileVisitorUtils.java:163)
> at
> org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.acceptDirectory(ClassFileVisitorUtils.java:143)
> at
> org.apache.maven.shared.dependency.analyzer.ClassFileVisitorUtils.accept(ClassFileVisitorUtils.java:71)
> at
> org.apache.maven.shared.dependency.analyzer.asm.ASMDependencyAnalyzer.analyze(ASMDependencyAnalyzer.java:50)
> at
> org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.java:211)
> at
> org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.java:198)
> at
> org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzer.analyze(DefaultProjectDependencyAnalyzer.java:74)
> at
> org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeMojo.checkDependencies(AbstractAnalyzeMojo.java:298)
> at
> org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeMojo.execute(AbstractAnalyzeMojo.java:250)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> ... 21 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> mvn --verison
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T21:39:06+02:00)
> Maven home: /home/omit/bin/maven
> Java version: 9.0.4, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-9-oracle
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.13.0-37-generic", arch: "amd64", family:
> "unix"
>
> Does anyone know what that might be?
>
> /H
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: mvn dependency:analyze fails with IllegalArgumentException

Henrik Eriksson
Hi Karl,
That worked!

Regards Henrik

2018-03-23 19:35 GMT+01:00 Karl Heinz Marbaise <[hidden email]>:

> Hi Henrik,
>
> can you try to add the following to your pom configuration (just a try to
> see if I'm on the right path):
>
>
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-dependency-plugin</artifactId>
>   <dependencies>
>      <dependency>
>       <groupId>org.ow2.asm</groupId>
>       <artifactId>asm</artifactId>
>       <version>6.1</version>
>     </dependency>
>   </dependencies>
> </plugin>
>
> and just give a try to rerun it...
>
> Kind regards
> Karl Heinz Marbaise
>
>
> On 21/03/18 23:02, Henrik Eriksson wrote:
>
>> Hello,
>>
>> Running mvn dependency:analyze fails with the follwing exception:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
>> (default-cli) on project utils: Execution default-cli of goal
>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.:
>> IllegalArgumentException -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
>> (default-cli) on project utils: Execution default-cli of goal
>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:213)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:154)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:146)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>> uildProject(LifecycleModuleBuilder.java:117)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>> uildProject(LifecycleModuleBuilder.java:81)
>> at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.S
>> ingleThreadedBuilder.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.invo
>> ke(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.launchEnha
>> nced(Launcher.java:289)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(
>> Launcher.java:229)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx
>> itCode(Launcher.java:415)
>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(
>> Launcher.java:356)
>> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
>> default-cli of goal
>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj
>> o(DefaultBuildPluginManager.java:145)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>> oExecutor.java:208)
>> ... 20 more
>> Caused by: java.lang.IllegalArgumentException
>> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
>> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
>> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
>> at
>> org.apache.maven.shared.dependency.analyzer.asm.DependencyCl
>> assFileVisitor.visitClass(DependencyClassFileVisitor.java:65)
>> at
>> org.apache.maven.shared.dependency.analyzer.ClassFileVisitor
>> Utils.visitClass(ClassFileVisitorUtils.java:163)
>> at
>> org.apache.maven.shared.dependency.analyzer.ClassFileVisitor
>> Utils.acceptDirectory(ClassFileVisitorUtils.java:143)
>> at
>> org.apache.maven.shared.dependency.analyzer.ClassFileVisitor
>> Utils.accept(ClassFileVisitorUtils.java:71)
>> at
>> org.apache.maven.shared.dependency.analyzer.asm.ASMDependenc
>> yAnalyzer.analyze(ASMDependencyAnalyzer.java:50)
>> at
>> org.apache.maven.shared.dependency.analyzer.DefaultProjectDe
>> pendencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.
>> java:211)
>> at
>> org.apache.maven.shared.dependency.analyzer.DefaultProjectDe
>> pendencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.
>> java:198)
>> at
>> org.apache.maven.shared.dependency.analyzer.DefaultProjectDe
>> pendencyAnalyzer.analyze(DefaultProjectDependencyAnalyzer.java:74)
>> at
>> org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeM
>> ojo.checkDependencies(AbstractAnalyzeMojo.java:298)
>> at
>> org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeM
>> ojo.execute(AbstractAnalyzeMojo.java:250)
>> at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj
>> o(DefaultBuildPluginManager.java:134)
>> ... 21 more
>> [ERROR]
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>>
>> mvn --verison
>> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
>> 2017-04-03T21:39:06+02:00)
>> Maven home: /home/omit/bin/maven
>> Java version: 9.0.4, vendor: Oracle Corporation
>> Java home: /usr/lib/jvm/java-9-oracle
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "4.13.0-37-generic", arch: "amd64", family:
>> "unix"
>>
>> Does anyone know what that might be?
>>
>> /H
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: mvn dependency:analyze fails with IllegalArgumentException

Karl Heinz Marbaise-3
Hi Henrik,

So I created a ticket for that:

https://issues.apache.org/jira/browse/MDEP-603

So thanks for reporting this here...and of course for you feedback.


Kind regards
Karl Heinz Marbaise

On 24/03/18 11:14, Henrik Eriksson wrote:

> Hi Karl,
> That worked!
>
> Regards Henrik
>
> 2018-03-23 19:35 GMT+01:00 Karl Heinz Marbaise <[hidden email]>:
>
>> Hi Henrik,
>>
>> can you try to add the following to your pom configuration (just a try to
>> see if I'm on the right path):
>>
>>
>> <plugin>
>>    <groupId>org.apache.maven.plugins</groupId>
>>    <artifactId>maven-dependency-plugin</artifactId>
>>    <dependencies>
>>       <dependency>
>>        <groupId>org.ow2.asm</groupId>
>>        <artifactId>asm</artifactId>
>>        <version>6.1</version>
>>      </dependency>
>>    </dependencies>
>> </plugin>
>>
>> and just give a try to rerun it...
>>
>> Kind regards
>> Karl Heinz Marbaise
>>
>>
>> On 21/03/18 23:02, Henrik Eriksson wrote:
>>
>>> Hello,
>>>
>>> Running mvn dependency:analyze fails with the follwing exception:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
>>> (default-cli) on project utils: Execution default-cli of goal
>>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.:
>>> IllegalArgumentException -> [Help 1]
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>>> goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze
>>> (default-cli) on project utils: Execution default-cli of goal
>>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:213)
>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:154)
>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:146)
>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>>> uildProject(LifecycleModuleBuilder.java:117)
>>> at
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.b
>>> uildProject(LifecycleModuleBuilder.java:81)
>>> at
>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.S
>>> ingleThreadedBuilder.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.invo
>>> ke(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.launchEnha
>>> nced(Launcher.java:289)
>>> at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(
>>> Launcher.java:229)
>>> at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithEx
>>> itCode(Launcher.java:415)
>>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(
>>> Launcher.java:356)
>>> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
>>> default-cli of goal
>>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze failed.
>>> at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj
>>> o(DefaultBuildPluginManager.java:145)
>>> at
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(Moj
>>> oExecutor.java:208)
>>> ... 20 more
>>> Caused by: java.lang.IllegalArgumentException
>>> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
>>> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
>>> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.asm.DependencyCl
>>> assFileVisitor.visitClass(DependencyClassFileVisitor.java:65)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.ClassFileVisitor
>>> Utils.visitClass(ClassFileVisitorUtils.java:163)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.ClassFileVisitor
>>> Utils.acceptDirectory(ClassFileVisitorUtils.java:143)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.ClassFileVisitor
>>> Utils.accept(ClassFileVisitorUtils.java:71)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.asm.ASMDependenc
>>> yAnalyzer.analyze(ASMDependencyAnalyzer.java:50)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.DefaultProjectDe
>>> pendencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.
>>> java:211)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.DefaultProjectDe
>>> pendencyAnalyzer.buildDependencyClasses(DefaultProjectDependencyAnalyzer.
>>> java:198)
>>> at
>>> org.apache.maven.shared.dependency.analyzer.DefaultProjectDe
>>> pendencyAnalyzer.analyze(DefaultProjectDependencyAnalyzer.java:74)
>>> at
>>> org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeM
>>> ojo.checkDependencies(AbstractAnalyzeMojo.java:298)
>>> at
>>> org.apache.maven.plugins.dependency.analyze.AbstractAnalyzeM
>>> ojo.execute(AbstractAnalyzeMojo.java:250)
>>> at
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMoj
>>> o(DefaultBuildPluginManager.java:134)
>>> ... 21 more
>>> [ERROR]
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>>
>>> mvn --verison
>>> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
>>> 2017-04-03T21:39:06+02:00)
>>> Maven home: /home/omit/bin/maven
>>> Java version: 9.0.4, vendor: Oracle Corporation
>>> Java home: /usr/lib/jvm/java-9-oracle
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "4.13.0-37-generic", arch: "amd64", family:
>>> "unix"
>>>
>>> Does anyone know what that might be?
>>>
>>> /H
>>>
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]