Skip to content

Commit b78c09a

Browse files
committed
Merge branch '6.3.x'
Closes gh-66
2 parents 7dba210 + 9bc1dae commit b78c09a

File tree

5 files changed

+43
-21
lines changed

5 files changed

+43
-21
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ jobs:
5757
env:
5858
SECRING_FILE: ${{ secrets.SECRING_FILE }}
5959
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
60-
- name: Publish to Sonatype OSSRH
60+
- name: Publish to Maven Central Portal
6161
id: publish
6262
env:
63-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
64-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
65-
SONATYPE_NEXUS_URL: ${{ secrets.SONATYPE_NEXUS_URL }}
66-
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
63+
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
64+
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
6765
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
6866
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
6967
SECRING_FILE: ${{ secrets.SECRING_FILE }}

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,12 @@ jobs:
6969
env:
7070
SECRING_FILE: ${{ secrets.SECRING_FILE }}
7171
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
72-
- name: Publish to Sonatype OSSRH
72+
- name: Publish to Maven Central Portal
7373
id: publish
7474
if: steps.secring.outcome == 'success'
7575
env:
76-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
77-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
78-
SONATYPE_NEXUS_URL: ${{ secrets.SONATYPE_NEXUS_URL }}
79-
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
76+
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
77+
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
8078
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
8179
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
8280
SECRING_FILE: ${{ secrets.SECRING_FILE }}

build.gradle

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ buildscript {
44
gradlePluginPortal()
55
if (project.projectVersion.endsWith('-SNAPSHOT')) {
66
maven {
7-
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
7+
name = 'Maven Central Portal Snapshots'
8+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
9+
10+
content {
11+
includeGroup 'org.graceframework'
12+
}
13+
mavenContent {
14+
snapshotsOnly()
15+
}
816
}
917
}
1018
}
@@ -32,14 +40,12 @@ apply plugin: 'org.graceframework.grace-doc'
3240
nexusPublishing {
3341
repositories {
3442
sonatype {
35-
def ossUser = System.getenv("SONATYPE_USERNAME") ?: project.hasProperty("sonatypeOssUsername") ? project.sonatypeOssUsername : ''
36-
def ossPass = System.getenv("SONATYPE_PASSWORD") ?: project.hasProperty("sonatypeOssPassword") ? project.sonatypeOssPassword : ''
37-
def ossStagingProfileId = System.getenv("SONATYPE_STAGING_PROFILE_ID") ?: project.hasProperty("sonatypeOssStagingProfileId") ? project.sonatypeOssStagingProfileId : ''
38-
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
39-
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
40-
username = ossUser
41-
password = ossPass
42-
stagingProfileId = ossStagingProfileId
43+
def mavenUser = System.getenv("MAVEN_CENTRAL_USER") ?: project.hasProperty("mavenCentralUsername") ? project.mavenCentralUsername : ''
44+
def mavenPass = System.getenv("MAVEN_CENTRAL_PASSWORD") ?: project.hasProperty("mavenCentralPassword") ? project.mavenCentralPassword : ''
45+
nexusUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/")
46+
snapshotRepositoryUrl = uri("https://central.sonatype.com/repository/maven-snapshots/")
47+
username = mavenUser
48+
password = mavenPass
4349
}
4450
}
4551
}
@@ -49,7 +55,15 @@ allprojects {
4955
mavenCentral()
5056
if (project.projectVersion.endsWith('-SNAPSHOT')) {
5157
maven {
52-
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
58+
name = 'Maven Central Portal Snapshots'
59+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
60+
61+
content {
62+
includeGroup 'org.graceframework'
63+
}
64+
mavenContent {
65+
snapshotsOnly()
66+
}
5367
}
5468
}
5569
}
@@ -108,7 +122,15 @@ subprojects { project->
108122
mavenCentral()
109123
if (project.projectVersion.endsWith('-SNAPSHOT')) {
110124
maven {
111-
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
125+
name = 'Maven Central Portal Snapshots'
126+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
127+
128+
content {
129+
includeGroup 'org.graceframework'
130+
}
131+
mavenContent {
132+
snapshotsOnly()
133+
}
112134
}
113135
}
114136
}

grace-plugin-scaffolding/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
group = "org.graceframework.plugins"
2+
13
dependencies {
24
api project(":grace-scaffolding-core")
35
compileOnly "jakarta.servlet:jakarta.servlet-api"

grace-scaffolding-core/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
group = "org.graceframework"
2+
13
dependencies {
24
implementation "org.graceframework:grace-core"
35
implementation "org.graceframework:grace-datastore-core:$gormVersion"

0 commit comments

Comments
 (0)