Re: 401 error on snapshot deploy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: 401 error on snapshot deploy

Romain Manni-Bucau
Hi Elliotte,

I just did it without issue so it is likely that your settings does not
contain your current asf username/password under apache.snapshots.https (I
don't think you are not in the right org since you do a lot).

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le jeu. 16 juil. 2020 à 15:47, Elliotte Rusty Harold <[hidden email]> a
écrit :

> 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
> [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: 401 error on snapshot deploy

Elliotte Rusty Harold
Thank you. That was it. I had a password in settings.xml but it was
outdated and I hadn't noticed.

On Thu, Jul 16, 2020 at 9:52 AM Romain Manni-Bucau
<[hidden email]> wrote:

>
> Hi Elliotte,
>
> I just did it without issue so it is likely that your settings does not
> contain your current asf username/password under apache.snapshots.https (I
> don't think you are not in the right org since you do a lot).
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <https://www.packtpub.com/application-development/java-ee-8-high-performance>
>
>
> Le jeu. 16 juil. 2020 à 15:47, Elliotte Rusty Harold <[hidden email]> a
> écrit :
>
> > 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
> > [hidden email]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >



--
Elliotte Rusty Harold
[hidden email]

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