I'm attempting to build and deploy a snapshot of
maven-dependency-analyzer 1.11.2 per instructions on
https://infra.apache.org/publishing-maven-artifacts.html

I get as far as maven deploy and then it dies with

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
(default-deploy) on project maven-dependency-analyzer: Failed to
deploy artifacts: Could not transfer artifact
org.apache.maven.shared:maven-dependency-analyzer:jar:1.11.2-20200716.133206-42
from/to apache.snapshots.https
(https://repository.apache.org/content/repositories/snapshots): Failed
to transfer file
https://repository.apache.org/content/repositories/snapshots/org/apache/maven/shared/maven-dependency-analyzer/1.11.2-SNAPSHOT/maven-dependency-analyzer-1.11.2-20200716.133206-42.jar
with status code 401 -> [Help 1]

The web page suggests a couple of possibilities here: one involving
servers in settings.xml and one involving LICENSE and NOTICE files in
the jar. As best i can tell, my settings.xml is configured for like
the web page suggests and the g LICENSE and NOTICE files are in the
jar:

~/maven-dependency-analyzer/target$ jar tvf
maven-dependency-analyzer-1.11.2-SNAPSHOT.jar
   372 Sat Apr 04 09:04:00 EDT 2020 META-INF/MANIFEST.MF
...
 11358 Sat Apr 04 09:04:00 EDT 2020 META-INF/LICENSE
   189 Sat Apr 04 09:04:00 EDT 2020 META-INF/NOTICE

Does anyone have any other ideas? Most critically is this something I
should be able to do with committer privs, or will a PMC member need
to manage this? Thanks.

-- 
Elliotte Rusty Harold
[email protected]

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

Reply via email to