We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982e8cf commit 36586e6Copy full SHA for 36586e6
.github/workflows/maven-central.yml
@@ -72,6 +72,20 @@ jobs:
72
</settings>
73
EOF
74
75
+ - name: Verify Sonatype Credentials
76
+ run: |
77
+ echo "Verifying Sonatype credentials..."
78
+ echo "Username: ${{ secrets.OSSRH_USERNAME_TOKEN }}"
79
+ echo "Password length: ${#OSSRH_PASSWORD_TOKEN}"
80
+
81
+ # Test connection to Sonatype
82
+ curl -v -u "${{ secrets.OSSRH_USERNAME_TOKEN }}:${{ secrets.OSSRH_PASSWORD_TOKEN }}" \
83
+ https://s01.oss.sonatype.org/service/local/user/profile
84
85
+ # Test Maven connection
86
+ mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout
87
+ mvn help:evaluate -Dexpression=settings.servers -q -DforceStdout
88
89
- name: Build and Publish
90
env:
91
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME_TOKEN }}
0 commit comments