WestFarmer created MDEP-704:
-------------------------------
Summary: download latest artifact failed
Key: MDEP-704
URL: https://issues.apache.org/jira/browse/MDEP-704
Project: Maven Dependency Plugin
Issue Type: Bug
Components: copy
Affects Versions: 3.1.2
Environment: Apache Maven 3.6.3
(cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/ggfan/1-install/maven/apache-maven-3.6.3
Java version: 1.8.0_252, vendor: Oracle Corporation, runtime:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-0.fc31.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.5.9-200.fc31.x86_64", arch: "amd64", family:
"unix"
Reporter: WestFarmer
{noformat}
{noformat}
*[ggfan@localhost nexus]$ mvn
org.apache.maven.plugins:maven-dependency-plugin:3.1.2:get
-Dartifact=org.sonatype.nexus.plugins:nexus-repository-apk:LATEST:kar:bundle*
*[INFO] Scanning for projects...*
*[INFO]*
*[INFO] ------------------< org.apache.maven:standalone-pom
>-------------------*
*[INFO] Building Maven Stub Project (No POM) 1*
*[INFO] --------------------------------[ pom
]---------------------------------*
*[INFO]*
*[INFO] --- maven-dependency-plugin:3.1.2:get (default-cli) @ standalone-pom
---*
*[INFO] Resolving
org.sonatype.nexus.plugins:nexus-repository-apk:kar:bundle:LATEST with
transitive dependencies*
*[INFO]
------------------------------------------------------------------------*
*[INFO] BUILD FAILURE*
*[INFO]
------------------------------------------------------------------------*
*[INFO] Total time: 0.948 s*
*[INFO] Finished at: 2020-06-16T22:07:07+08:00*
*[INFO]
------------------------------------------------------------------------*
*[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:3.1.2:get (default-cli) on
project standalone-pom: Couldn't download artifact:
org.eclipse.aether.resolution.DependencyResolutionException: Failed to read
artifact descriptor for
org.sonatype.nexus.plugins:nexus-repository-apk:kar:bundle:LATEST: Failed to
resolve version for
org.sonatype.nexus.plugins:nexus-repository-apk:kar:bundle:LATEST -> [Help 1]*
*[ERROR]*
*[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.*
*[ERROR] Re-run Maven using the -X switch to enable full debug logging.*
*[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/MojoExecutionException*
*[ggfan@localhost nexus]$ mvn
org.apache.maven.plugins:maven-dependency-plugin:3.1.2:get
-Dartifact=org.sonatype.nexus.plugins:nexus-repository-apk:0.0.10:kar:bundle*
*[INFO] Scanning for projects...*
*[INFO]*
*[INFO] ------------------< org.apache.maven:standalone-pom
>-------------------*
*[INFO] Building Maven Stub Project (No POM) 1*
*[INFO] --------------------------------[ pom
]---------------------------------*
*[INFO]*
*[INFO] --- maven-dependency-plugin:3.1.2:get (default-cli) @ standalone-pom
---*
*[INFO] Resolving
org.sonatype.nexus.plugins:nexus-repository-apk:kar:bundle:0.0.10 with
transitive dependencies*
*[INFO]
------------------------------------------------------------------------*
*[INFO] BUILD SUCCESS*
*[INFO]
------------------------------------------------------------------------*
*[INFO] Total time: 0.925 s*
*[INFO] Finished at: 2020-06-16T22:07:23+08:00*
*[INFO]
------------------------------------------------------------------------*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)