File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ jobs:
183
183
tools/samm-cli/target/lib/
184
184
185
185
release :
186
+ name : Release
186
187
needs : [build-linux, build-windows]
187
188
runs-on : ubuntu-latest
188
189
steps :
@@ -220,7 +221,14 @@ jobs:
220
221
- name : Release to OSSRH/Maven Central
221
222
if : ${{ !contains( github.event.inputs.release_version, '-M' ) }}
222
223
run : |
223
- mvn nexus-staging:deploy-staged-repository -DrepositoryDirectory=nexus-staging -Prelease-build
224
+ mkdir deploy
225
+ mv nexus-staging deploy
226
+ cd deploy
227
+ mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy-staged-repository \
228
+ -DnexusUrl=https://oss.sonatype.org/ \
229
+ -DserverId=ossrh \
230
+ -DrepositoryDirectory=nexus-staging \
231
+ -DstagingProfileId=org.eclipse.esmf
224
232
env :
225
233
OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
226
234
OSSRH_TOKEN : ${{ secrets.OSSRH_TOKEN }}
Original file line number Diff line number Diff line change @@ -155,4 +155,6 @@ core/esmf-aspect-model-jackson/src/main/java/org/eclipse/esmf/test
155
155
.attach_pid *
156
156
157
157
# MacOS
158
- .DS_Store
158
+ .DS_Store
159
+
160
+ /deploy
Original file line number Diff line number Diff line change 133
133
<maven-surefire-plugin-version >3.0.0-M8</maven-surefire-plugin-version >
134
134
<maven-surefire-report-plugin-version >3.0.0-M8</maven-surefire-report-plugin-version >
135
135
<native-maven-plugin-version >0.9.10</native-maven-plugin-version >
136
- <nexus-staging-maven-plugin-version >1.6.9 </nexus-staging-maven-plugin-version >
136
+ <nexus-staging-maven-plugin-version >1.6.13 </nexus-staging-maven-plugin-version >
137
137
138
138
<!-- General settings -->
139
139
<testreports .surefire>surefire-report</testreports .surefire>
728
728
<repository >
729
729
<id >ossrh</id >
730
730
<name >OSSRH</name >
731
- <url >https://s01. oss.sonatype.org/service/local/staging/deploy/maven2/</url >
731
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
732
732
</repository >
733
733
</distributionManagement >
734
734
<build >
746
746
<extensions >true</extensions >
747
747
<configuration >
748
748
<serverId >ossrh</serverId >
749
- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
749
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
750
+ <stagingProfileId >org.eclipse.esmf</stagingProfileId >
750
751
<autoReleaseAfterClose >false</autoReleaseAfterClose >
751
752
</configuration >
752
753
</plugin >
You can’t perform that action at this time.
0 commit comments