Skip to content

Commit

Permalink
Fixes Maven publications to use `upmc-enterprises-graceful-shutdown-s…
Browse files Browse the repository at this point in the history
…pring-boot-` as the `artifactId`'s prefix (#4)

For example, the following subprojects would use the listed `artifactId` in Maven:
* `starter` -> `upmc-enterprises-graceful-shutdown-spring-boot-starter`
* `autoconfiguration` -> `upmc-enterprises-graceful-shutdown-spring-boot-autoconfiguration`
  • Loading branch information
billkoch committed Apr 18, 2023
1 parent ec3ad85 commit 0e39a8a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion autoconfiguration/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencyManagement {
}
}

val archivesBaseName = "upmc-enterprises-graceful-shutdown-spring-boot-autoconfiguration"

dependencies {
compileOnly("org.springframework.boot:spring-boot-starter-actuator")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ subprojects {
}
}
afterEvaluate {
artifactId = project.base.archivesName.get()
artifactId = "upmc-enterprises-graceful-shutdown-spring-boot-${project.base.archivesName.get()}"
version = if (project.hasProperty("release")) version else "$version-SNAPSHOT"
}
pom {
Expand Down
2 changes: 0 additions & 2 deletions starter/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
val archivesBaseName = "upmc-enterprises-graceful-shutdown-spring-boot-starter"

dependencies {
implementation(project(":autoconfiguration"))
}

0 comments on commit 0e39a8a

Please sign in to comment.