Skip to content

Commit

Permalink
Fix missing metadata in POM
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanai committed Nov 1, 2022
1 parent 4f16b81 commit 90f796a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@ Release process:
4. Commit those changes if you haven't already.
5. Push those changes to master
6. Tag the release version.
7. In GitHub:
7. Push the release tag to origin - GitHub will start the build at this point.
8. In GitHub:
- In Releases, create a new release
- Name the release with the version of the tag
- Paste the changes for the version into the description
- Save the new release. GitHub will automatically publish the release.
- Publish the release
9. In Sonatype:
- Go to Staging Repositories
- Select the repository and click Close

**TODO: CHECK EVERYTHING BELOW THIS POINT!**

Expand Down
12 changes: 6 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ tasks.jar {
publishing {
publications {
register("mavenJava", MavenPublication::class) {
// groupId = project.group.toString()
// artifactId = project.name
// version = project.version.toString()

from(components["java"])

pom {
description.set(project.description)

licenses {
name.set("The Apache Software License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
license {
name.set("The Apache Software License, Version 2.0")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}

scm {
Expand Down

0 comments on commit 90f796a

Please sign in to comment.