maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Castle <onyxr...@gmail.com>
Subject Re: dependency:tree erroring with cxf boot starter
Date Tue, 20 Feb 2018 16:37:35 GMT
Confirmed. No issues with 3.5.2.

Thanks!

On Mon, Feb 19, 2018 at 3:56 PM, Robert Scholte <rfscholte@apache.org>
wrote:

> I think you're hitting https://issues.apache.org/jira/browse/MNG-6280
> It is fixed in Maven 3.5.2
>
> thanks,
> Robert
>
> On Mon, 19 Feb 2018 20:34:22 +0100, castlec <onyxrook@gmail.com> wrote:
>
> Hello all. I'm not sure if there is an error in my pom, in the cxf pom, or
>> in
>> the dependency plugin. I'm able to get a tree from within eclipse but not
>> from command line.
>>
>> Relevant info is below. Suggestions much appreciated.
>>
>> Apache Maven 3.5.0
>> Maven home: /usr/share/maven
>> Java version: 1.8.0_151, vendor: Oracle Corporation
>> Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family:
>> "unix"
>>
>>
>>         <parent>
>>                 <groupId>org.springframework.boot</groupId>
>>                 <artifactId>spring-boot-starter-parent</artifactId>
>>                 <version>1.5.10.RELEASE</version>
>>         </parent>
>>
>>        <dependency>
>>                         <groupId>org.apache.cxf</groupId>
>>                         <artifactId>cxf-spring-boot-st
>> arter-jaxrs</artifactId>
>>                         <version>3.1.12</version>
>>         </dependency>
>>
>>
>> [DEBUG] Goal:
>> org.apache.maven.plugins:maven-dependency-plugin:3.0.2:tree (default-cli)
>> [DEBUG] Style:         Regular
>> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
>> <configuration>
>>   <appendOutput default-value="false">${appendOutput}</appendOutput>
>>   <excludes>${excludes}</excludes>
>>   <includes>${includes}</includes>
>>   <outputFile>${outputFile}</outputFile>
>>   <outputType default-value="text">${outputType}</outputType>
>>   <project default-value="${project}"/>
>>   <reactorProjects default-value="${reactorProjects}"/>
>>   <scope>${scope}</scope>
>>   <session default-value="${session}"/>
>>   <skip default-value="false">${skip}</skip>
>>   <tokens default-value="standard">${tokens}</tokens>
>>   <verbose default-value="false">${verbose}</verbose>
>> </configuration>
>> [DEBUG]
>> =======================================================================
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 0.741 s
>> [INFO] Finished at: 2018-02-19T14:30:45-05:00
>> [INFO] Final Memory: 16M/607M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] 15782
>> java.lang.ArrayIndexOutOfBoundsException: 15782
>>     at org.codehaus.plexus.util.xml.pull.MXParser.parsePI
>> (MXParser.java:2502)
>>     at org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog
>> (MXParser.java:1604)
>>     at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl
>> (MXParser.java:1434)
>>     at org.codehaus.plexus.util.xml.pull.MXParser.next
>> (MXParser.java:1131)
>>     at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
>> (MavenXpp3Reader.java:4133)
>>     at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read
>> (MavenXpp3Reader.java:872)
>>     at org.apache.maven.model.io.DefaultModelReader.read
>> (DefaultModelReader.java:109)
>>     at org.apache.maven.model.io.DefaultModelReader.read
>> (DefaultModelReader.java:82)
>>     at org.apache.maven.model.building.DefaultModelProcessor.read
>> (DefaultModelProcessor.java:81)
>>     at org.apache.maven.model.building.DefaultModelBuilder.readModel
>> (DefaultModelBuilder.java:535)
>>     at org.apache.maven.model.building.DefaultModelBuilder.build
>> (DefaultModelBuilder.java:275)
>>     at
>> org.apache.maven.repository.internal.DefaultArtifactDescript
>> orReader.loadPom
>> (DefaultArtifactDescriptorReader.java:321)
>>     at
>> org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.
>> readArtifactDescriptor
>> (DefaultArtifactDescriptorReader.java:199)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> resolveCachedArtifactDescriptor
>> (DefaultDependencyCollector.java:539)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> getArtifactDescriptorResult
>> (DefaultDependencyCollector.java:524)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> processDependency
>> (DefaultDependencyCollector.java:412)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> processDependency
>> (DefaultDependencyCollector.java:365)
>>     at org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> process
>> (DefaultDependencyCollector.java:353)
>>     at org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> doRecurse
>> (DefaultDependencyCollector.java:507)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> processDependency
>> (DefaultDependencyCollector.java:460)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> processDependency
>> (DefaultDependencyCollector.java:365)
>>     at org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> process
>> (DefaultDependencyCollector.java:353)
>>     at org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> doRecurse
>> (DefaultDependencyCollector.java:507)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> processDependency
>> (DefaultDependencyCollector.java:460)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> processDependency
>> (DefaultDependencyCollector.java:365)
>>     at org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> process
>> (DefaultDependencyCollector.java:353)
>>     at
>> org.eclipse.aether.internal.impl.DefaultDependencyCollector.
>> collectDependencies
>> (DefaultDependencyCollector.java:256)
>>     at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.col
>> lectDependencies
>> (DefaultRepositorySystem.java:282)
>>     at org.apache.maven.project.DefaultProjectDependenciesResolver.
>> resolve
>> (DefaultProjectDependenciesResolver.java:169)
>>     at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResol
>> ver.getDependencies
>> (LifecycleDependencyResolver.java:195)
>>     at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResol
>> ver.resolveProjectDependencies
>> (LifecycleDependencyResolver.java:128)
>>     at
>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDepen
>> denciesAreResolved
>> (MojoExecutor.java:246)
>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:200)
>>     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.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 sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>     at java.lang.reflect.Method.invoke (Method.java:498)
>>     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)
>> [ERROR]
>>
>>
>>
>>
>> --
>> Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message