Paypal Declares Latest Release Pom in Maven Central

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

Paypal Declares Latest Release Pom in Maven Central

Petar Tahchiev
Hi devs,

the official paypal merchantsdk-java pom.xml here:
https://repo1.maven.org/maven2/com/paypal/sdk/merchantsdk/2.15.122/merchantsdk-2.15.122.pom
declares the following dependency:

<dependencies>
<dependency>
<groupId>com.paypal.sdk</groupId>
<artifactId>paypal-core</artifactId>
<version>LATEST</version>
</dependency>
</dependencies>

It also lists this repository:
<repositories>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</repositories>

which is password protected. As a result every time I build a project with
the merchantsdk dependency I get the following super  annoying warnings:
---------------------------------------
Downloading from sonatype-nexus-staging:
https://oss.sonatype.org/service/local/staging/deploy/maven2/com/paypal/sdk/paypal-core/maven-metadata.xml
[WARNING] Could not transfer metadata
com.paypal.sdk:paypal-core/maven-metadata.xml from/to
sonatype-nexus-staging (
https://oss.sonatype.org/service/local/staging/deploy/maven2/): Not
authorized
[WARNING] Failure to transfer com.paypal.sdk:paypal-core/maven-metadata.xml
from https://oss.sonatype.org/service/local/staging/deploy/maven2/ was
cached in the local repository, resolution will not be reattempted until
the update interval of sonatype-nexus-staging has elapsed or updates are
forced. Original error: Could not transfer metadata
com.paypal.sdk:paypal-core/maven-metadata.xml from/to
sonatype-nexus-staging (
https://oss.sonatype.org/service/local/staging/deploy/maven2/): Not
authorized
----------------------------------------
Moreover when my network is down the build takes eternity before it fails
with exception. And then I have to tell all my colleagues to build it with
-o

Is there any way to tell Paypal to update their pom.xml and upload a new
version?
There's a 2-year old issue here:
https://github.com/paypal/merchant-sdk-java/issues/46
but nobody seems to take a notice.
Is there any official way to contact Paypal and ask them to fix it?

--
Regards, Petar!
Karlovo, Bulgaria.
---
Public PGP Key at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
Reply | Threaded
Open this post in threaded view
|

Re: Paypal Declares Latest Release Pom in Maven Central

Elliotte Rusty Harold
That's up to paypal. There's nothing Maven can do about it.

On Thu, Jan 16, 2020 at 4:33 AM Petar Tahchiev <[hidden email]> wrote:

>
> Hi devs,
>
> the official paypal merchantsdk-java pom.xml here:
> https://repo1.maven.org/maven2/com/paypal/sdk/merchantsdk/2.15.122/merchantsdk-2.15.122.pom
> declares the following dependency:
>
> <dependencies>
> <dependency>
> <groupId>com.paypal.sdk</groupId>
> <artifactId>paypal-core</artifactId>
> <version>LATEST</version>
> </dependency>
> </dependencies>
>
> It also lists this repository:
> <repositories>
> <repository>
> <id>sonatype-nexus-staging</id>
> <name>Nexus Release Repository</name>
> <url>
> https://oss.sonatype.org/service/local/staging/deploy/maven2/
> </url>
> </repository>
> </repositories>
>
> which is password protected. As a result every time I build a project with
> the merchantsdk dependency I get the following super  annoying warnings:
> ---------------------------------------
> Downloading from sonatype-nexus-staging:
> https://oss.sonatype.org/service/local/staging/deploy/maven2/com/paypal/sdk/paypal-core/maven-metadata.xml
> [WARNING] Could not transfer metadata
> com.paypal.sdk:paypal-core/maven-metadata.xml from/to
> sonatype-nexus-staging (
> https://oss.sonatype.org/service/local/staging/deploy/maven2/): Not
> authorized
> [WARNING] Failure to transfer com.paypal.sdk:paypal-core/maven-metadata.xml
> from https://oss.sonatype.org/service/local/staging/deploy/maven2/ was
> cached in the local repository, resolution will not be reattempted until
> the update interval of sonatype-nexus-staging has elapsed or updates are
> forced. Original error: Could not transfer metadata
> com.paypal.sdk:paypal-core/maven-metadata.xml from/to
> sonatype-nexus-staging (
> https://oss.sonatype.org/service/local/staging/deploy/maven2/): Not
> authorized
> ----------------------------------------
> Moreover when my network is down the build takes eternity before it fails
> with exception. And then I have to tell all my colleagues to build it with
> -o
>
> Is there any way to tell Paypal to update their pom.xml and upload a new
> version?
> There's a 2-year old issue here:
> https://github.com/paypal/merchant-sdk-java/issues/46
> but nobody seems to take a notice.
> Is there any official way to contact Paypal and ask them to fix it?
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
> ---
> Public PGP Key at:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611
> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611



--
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: Paypal Declares Latest Release Pom in Maven Central

Mykola Nikishov-2
In reply to this post by Petar Tahchiev
Petar Tahchiev <[hidden email]> writes:

[...]

> Is there any way to tell Paypal to update their pom.xml and upload a
> new version?

Voting with your $$$ aside, try this:

https://github.com/paypal/merchant-sdk-java/commit/62fc5b74bc964fb3cf5f69c70e2a25ab70064e66.patch

--
Mykola

Libre/Free Java Software Developer
https://manandbytes.gitlab.io/


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