Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Release 2.0.0.Alpha1 #85

Closed
ppalaga opened this issue Feb 8, 2023 · 9 comments
Closed

Release 2.0.0.Alpha1 #85

ppalaga opened this issue Feb 8, 2023 · 9 comments

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Feb 8, 2023

The release workflow cannot upload the artifacts to s01.oss.sontatype.org:

[INFO] [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ quarkus-xmlsec-parent ---
[INFO] [INFO] Uploading to oss.sonatype: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/io/quarkiverse/xmlsec/quarkus-xmlsec-parent/2.0.0.Alpha1/quarkus-xmlsec-parent-2.0.0.Alpha1.pom
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary for Quarkus - XMLSec - Parent 2.0.0.Alpha1:
[INFO] [INFO] 
[INFO] [INFO] Quarkus - XMLSec - Parent .......................... FAILURE [  3.207 s]
[INFO] [INFO] Quarkus - XMLSec - BOM ............................. SKIPPED
[INFO] [INFO] Quarkus - XMLSec ................................... SKIPPED
[INFO] [INFO] Quarkus - XMLSec - Deployment ...................... SKIPPED
[INFO] [INFO] Quarkus - XMLSec - Integration Tests ............... SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time:  3.491 s
[INFO] [INFO] Finished at: 2023-02-08T09:10:10Z
[INFO] [INFO] ------------------------------------------------------------------------
Error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project quarkus-xmlsec-parent: Failed to deploy artifacts: Could not transfer artifact io.quarkiverse.xmlsec:quarkus-xmlsec-parent:pom:2.0.0.Alpha1 from/to oss.sonatype (https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/): authentication failed for https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/io/quarkiverse/xmlsec/quarkus-xmlsec-parent/2.0.0.Alpha1/quarkus-xmlsec-parent-2.0.0.Alpha1.pom, status: 401 Unauthorized -> [Help 1]
@ppalaga
Copy link
Contributor Author

ppalaga commented Feb 8, 2023

Any idea why this happens @gastaldi ?

Maybe the secrets need to be set differently, now that I started relying on settings.xml set up by actions/setup-java@v3?

@gastaldi
Copy link
Member

gastaldi commented Feb 8, 2023

@ppalaga that's weird, maybe because ./mvnw is being used instead? I've updated the scripts in #86 to the latest actions and settings. Hopefully that should work

@gastaldi
Copy link
Member

gastaldi commented Feb 8, 2023

@gastaldi gastaldi closed this as completed Feb 8, 2023
@ppalaga
Copy link
Contributor Author

ppalaga commented Feb 9, 2023

@gastaldi thanks, it worked. I dared to move the attributes.adoc to a separate commit before the release, so that we do not need to do the manual tag juggling: https://github.com/quarkiverse/quarkus-xmlsec/blob/main/.github/workflows/release.yml#L55-L61

@gastaldi
Copy link
Member

gastaldi commented Feb 9, 2023

@ppalaga
Copy link
Contributor Author

ppalaga commented Feb 9, 2023

Here is the PR: quarkusio/quarkus#31046

@gsmet
Copy link
Member

gsmet commented Feb 9, 2023

I might miss something but how is the version in the attributes updated given the version will be set later by release:prepare?

@gastaldi
Copy link
Member

gastaldi commented Feb 9, 2023

@gsmet The version is taken from the project.yml, not the pom.xml

@ppalaga
Copy link
Contributor Author

ppalaga commented Feb 9, 2023

Yes, there is a plugin in doc module reading project.yaml and setting Maven properties out of it that are then used by the resources filtering.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants