Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
All works now. Removed INFRA from cc. I'd like to ask the Maven developers that if the sonatype plugin is deprecated, is there some alternatives in the community? `mvn deploy` seems limited or hard to use (works well for pure java project, I agree) at least I don't know how to release multi class

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
I get it now because we don't use a -SNAPSHOT suffix so the logic changes.. Let me workaround for the SNAPSHOT now and see if the formal release cause a 403. Best, tison. tison 于2023年6月25日周日 18:47写道: > Or the question can be - I have a Maven project having multiple > classifier variants to de

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
Or the question can be - I have a Maven project having multiple classifier variants to deploy. I can build them separately on different machine. How can I finish the last mile to deploy it to Apache Nexus server. (for snapshots now). Best, tison. tison 于2023年6月25日周日 16:41写道: > Aha..Unfortunate

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
Aha..Unfortunately not. I use sonatype plugin and follow Netty's practice. It seems for snapshot, previously (the same version of plugin) it can auto set nexusUrl and serverId. But now it cannot: $ cat .index org/apache/opendal/opendal-java/0.2.0-SNAPSHOT/opendal-java-0.2.0-SNAPSHOT.jar=org.apache

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread Tamás Cservenák
Hm, I remember your use case as we discussed it here: https://lists.apache.org/thread/vqgbdp61y5jg5fgdhmgx4zycl4ps39s8 I had a feeling you sorted it out, and did it without the aforementioned plugin... T On Sun, Jun 25, 2023 at 10:20 AM tison wrote: > And I remember that when I add the nexus

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
And I remember that when I add the nexusUrl just as suggested above, the action run failed with 403: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (default-cli) on project opendal-java: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-pl

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
Thanks for your information! Then I can I achieve the similar target? I need to build staging artifacts in different platforms and then merge it and deploy. Best, tison. Tamás Cservenák 于2023年6月25日周日 16:13写道: > For RAO it is https://repository.apache.org/ > > But using this plugin is really n

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread Tamás Cservenák
For RAO it is https://repository.apache.org/ But using this plugin is really not recommended, even Sonatype abandoned it. Hth T On Sun, Jun 25, 2023, 10:11 tison wrote: > After restore the action, it fails now. May I ask what is the proper > nexusUrl for apache snapshot? > > Best, > tison. > >

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
After restore the action, it fails now. May I ask what is the proper nexusUrl for apache snapshot? Best, tison. tison 于2023年6月25日周日 15:51写道: > Suspected related code[1]. > > and cc dev@opendal.a.o > > Best, > tison. > > [1] > https://github.com/sonatype/nexus-maven-plugins/blame/d36fd861662d56

Re: nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
Suspected related code[1]. and cc dev@opendal.a.o Best, tison. [1] https://github.com/sonatype/nexus-maven-plugins/blame/d36fd861662d566071390ff75dae79846f46901c/staging/maven-plugin/src/main/java/org/sonatype/nexus/maven/staging/remote/Parameters.java#L95 tison 于2023年6月25日周日 15:50写道: > Hi,

nexusUrl checked even skipRemoteStaging specified to true

2023-06-25 Thread tison
Hi, I don't know if it's a Maven issue or INFRA issue or plugin issue (as I saw the related part is written by the current Maven PMC chair, I posted it here). The question is, when I stage a package for multiple platforms, I use a local staging flavor that specifies -DskipRemoteStaging=true. It