Skip to content

Commit cd967d1

Browse files
authored
Merge pull request #115 from boschglobal/fix-113
Add missing pom information
2 parents ce67b98 + 05ec8f9 commit cd967d1

File tree

2 files changed

+54
-38
lines changed

2 files changed

+54
-38
lines changed

docs/RELEASE.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
## Releasing a version
22

3-
Releasing a version is mostly automated. However since the CHANGELOG.md + version information are part of the git history and need to be committed, some manual steps are still needed. These steps are also there to check for errors which may have been made in the git history via the [Conventionalcommits standard](https://www.conventionalcommits.org/en/v1.0.0/) format.
3+
Releasing a version is mostly automated. However since the CHANGELOG.md + version information are part of the git
4+
history and need to be committed, some manual steps are still needed. These steps are also there to check for errors
5+
which may have been made in the git history via
6+
the [Conventionalcommits standard](https://www.conventionalcommits.org/en/v1.0.0/) format.
47

5-
The NPM package [Commit-And-Tag](https://github.com/absolute-version/commit-and-tag-version) is used to streamline the release process.
8+
The NPM package [Commit-And-Tag](https://github.com/absolute-version/commit-and-tag-version) is used to streamline the
9+
release process.
610

711
### Preparing a release
812

@@ -17,12 +21,16 @@ The following convenience NPM scripts are available for use here:
1721
}
1822
```
1923

20-
1) Execute `npm run commit-release` to prepare the release. This will automatically bump the version to the next correct semantic version, create a CHANGELOG.md file and make a commit.
24+
1) Execute `npm run commit-release` to prepare the release. This will automatically bump the version to the next correct
25+
semantic version, create a CHANGELOG.md file and make a commit.
2126
2) Check the CHANGELOG.md for wrong entries which may have been committed in the history - We are human after all! :)
22-
3) Push the commit, create a PR and wait for the merge.
27+
3) Push the commit, create a PR and wait for the merge.
2328

2429
### Deploying a release
2530

2631
1) Execute `npm run tag-release` on the main branch after the above merge.
27-
2) Push the tag via 'git push --follow-tags origin feature-x'. The command should be shown in the terminal after step 1. A push of a release tag with the correct format will automatically trigger an official release GitHub workflow.
28-
3) Check if the GitHub package was uploaded successfully.
32+
2) Push the tag via 'git push origin feature-x'. "Origin" may differ if working with forks. The command should be shown
33+
in the terminal after step 1. A push of a release tag with the correct format will automatically trigger an official
34+
release GitHub workflow.
35+
3) Check if the artifacts were uploaded successfully to the Nexus repository.
36+
4) Close the uploaded staging repository and check the activity tab if all steps were successful.

vss-processor-plugin/build.gradle.kts

+40-32
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ plugins {
3434
// caching so the cache does not know about this. The issue will be ignored as a warning for now.
3535
//
3636
// Similar issue: https://github.com/gradle/gradle/issues/27940
37+
val pluginDescription = "Vehicle Signal Specification (VSS) Plugin of the KUKSA SDK. This is used in combination " +
38+
"with the KSP processor component 'KUKSA VSS Processor'. The plugin is configured to provide " +
39+
"VSS Files to KSP processor. This is mandatory to use the 'KUKSA VSS Processor' component."
40+
3741
val versionPath = "$rootDir/../$VERSION_FILE_DEFAULT_NAME"
3842
val semanticVersion = SemanticVersion(versionPath)
3943
version = semanticVersion.versionName
@@ -42,15 +46,14 @@ group = "org.eclipse.kuksa"
4246
gradlePlugin {
4347
website.set("https://github.com/eclipse-kuksa/kuksa-android-sdk")
4448
vcsUrl.set("https://github.com/eclipse-kuksa/kuksa-android-sdk")
49+
4550
plugins {
4651
create("VssProcessorPlugin") {
4752
id = "org.eclipse.kuksa.vss-processor-plugin"
4853
implementationClass = "org.eclipse.kuksa.vssprocessor.plugin.VssProcessorPlugin"
4954
displayName = "VSS Processor Plugin"
5055
tags.set(listOf("KUKSA", "Vehicle Signal Specification", "VSS", "Android", "Kotlin"))
51-
description = "Vehicle Signal Specification (VSS) Plugin of the KUKSA SDK. This is used in combination " +
52-
"with the KSP processor component 'KUKSA VSS Processor'. The plugin is configured to provide " +
53-
"VSS Files to KSP processor. This is mandatory to use the 'KUKSA VSS Processor' component."
56+
description = pluginDescription
5457
}
5558
}
5659
}
@@ -73,38 +76,43 @@ afterEvaluate {
7376
// automatic timestamps / build number being added as a postfix to the files.
7477
}
7578
publications {
76-
getByName<MavenPublication>("pluginMaven") {
77-
pom {
78-
licenses {
79-
license {
80-
name.set("The Apache Software License, Version 2.0")
81-
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
79+
all {
80+
with((this as MavenPublication)) {
81+
pom {
82+
name = "${project.group}:${project.name}"
83+
description = pluginDescription
84+
url = "https://github.com/eclipse-kuksa/kuksa-android-sdk"
85+
licenses {
86+
license {
87+
name.set("The Apache Software License, Version 2.0")
88+
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
89+
}
8290
}
83-
}
84-
developers {
85-
developer {
86-
name.set("Mark Hüsers")
87-
email.set("mark.huesers@etas.com")
88-
organization.set("ETAS GmbH")
89-
organizationUrl.set("https://www.etas.com")
91+
developers {
92+
developer {
93+
name.set("Mark Hüsers")
94+
email.set("mark.huesers@etas.com")
95+
organization.set("ETAS GmbH")
96+
organizationUrl.set("https://www.etas.com")
97+
}
98+
developer {
99+
name.set("Sebastian Schildt")
100+
email.set("sebastian.schildt@etas.com")
101+
organization.set("ETAS GmbH")
102+
organizationUrl.set("https://www.etas.com")
103+
}
104+
developer {
105+
name.set("Andre Weber")
106+
email.set("andre.weber3@etas.com")
107+
organization.set("ETAS GmbH")
108+
organizationUrl.set("https://www.etas.com")
109+
}
90110
}
91-
developer {
92-
name.set("Sebastian Schildt")
93-
email.set("sebastian.schildt@etas.com")
94-
organization.set("ETAS GmbH")
95-
organizationUrl.set("https://www.etas.com")
111+
scm {
112+
connection.set("scm:git:github.com/eclipse-kuksa/kuksa-android-sdk.git")
113+
developerConnection.set("scm:git:ssh://github.com/eclipse-kuksa/kuksa-android-sdk.git")
114+
url.set("https://github.com/eclipse-kuksa/kuksa-android-sdk/tree/main")
96115
}
97-
developer {
98-
name.set("Andre Weber")
99-
email.set("andre.weber3@etas.com")
100-
organization.set("ETAS GmbH")
101-
organizationUrl.set("https://www.etas.com")
102-
}
103-
}
104-
scm {
105-
connection.set("scm:git:github.com/eclipse-kuksa/kuksa-android-sdk.git")
106-
developerConnection.set("scm:git:ssh://github.com/eclipse-kuksa/kuksa-android-sdk.git")
107-
url.set("https://github.com/eclipse-kuksa/kuksa-android-sdk/tree/main")
108116
}
109117
}
110118
}

0 commit comments

Comments
 (0)