Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit dce4155

Browse files
authored
build: set org.grails Maven group for Sitemesh3 plugin (#569)
- After discussion it was decided that `org.grails:grails-plugin.sitemesh3` is the most appropriate Maven coords for this artifact. - This commit also adapts the condition on which snapshot repository is chosen for plugins vs libraries.
1 parent 9bbacc3 commit dce4155

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

gradle/publish-config.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apply plugin: 'maven-publish'
22
apply plugin: 'signing'
33

4-
ext.set('isGrailsPlugin', project.group == 'org.grails.plugins')
54
ext.set('signing.keyId', project.findProperty('signing.keyId') ?: System.getenv('SIGNING_KEY'))
65
ext.set('signing.password', project.findProperty('signing.password') ?: System.getenv('SIGNING_PASSPHRASE'))
76
ext.set('signing.secretKeyRingFile', project.findProperty('signing.secretKeyRingFile') ?: "${System.properties['user.home']}${File.separator}.gnupg${File.separator}secring.gpg")
@@ -14,7 +13,7 @@ publishing {
1413
username = System.getenv('ARTIFACTORY_USERNAME') ?: project.findProperty('artifactoryPublishUsername') ?: ''
1514
password = System.getenv('ARTIFACTORY_PASSWORD') ?: project.findProperty('artifactoryPublishPassword') ?: ''
1615
}
17-
url = isGrailsPlugin ?
16+
url = project.findProperty('isGrailsPlugin') ?
1817
'https://repo.grails.org/grails/plugins3-snapshots-local' :
1918
'https://repo.grails.org/grails/libs-snapshots-local'
2019
}

grails-plugin-gsp/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ apply plugin: 'org.grails.grails-plugin'
1717

1818
ext {
1919
artifactId = 'gsp'
20+
isGrailsPlugin = true
2021
testMaxParallelFork = isCiBuild ? 1 : 4
2122
testForkEvery = isCiBuild ? 10 : 20
2223
testJvmArgs = ['-Xmx1536M']

grails-plugin-sitemesh3/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ buildscript {
99
}
1010

1111
version = projectVersion
12-
group = 'org.grails.plugins'
12+
group = 'org.grails'
1313

1414
apply plugin: 'groovy'
1515
apply plugin: 'java-library'
1616
apply plugin: 'org.grails.grails-plugin'
1717

1818
ext {
19+
isGrailsPlugin = true
1920
pomTitle = 'SiteMesh 3 Grails Plugin'
2021
pomDescription = 'SiteMesh is a web-page layout and decoration framework and web- application integration framework to aid in creating sites consisting of many pages for which a consistent look/feel, navigation and layout scheme is required.'
2122
pomDevelopers = [

0 commit comments

Comments
 (0)