Update root pom

This commit is contained in:
Erik C. Thauvin 2025-03-16 15:37:59 -07:00
parent b17a4fd588
commit 4cc92e956f
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 8 additions and 2 deletions

View file

@ -18,13 +18,13 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>2.1.0</version>
<version>2.1.10</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20240303</version>
<version>20250107</version>
<scope>compile</scope>
</dependency>
<dependency>

View file

@ -167,6 +167,12 @@ public class JokeApiBuild extends Project {
pomRoot();
}
@Override
public void publishLocal() throws Exception {
super.publishLocal();
pomRoot();
}
@BuildCommand(value = "pom-root", summary = "Generates the POM file in the root directory")
public void pomRoot() throws FileUtilsErrorException {
PomBuilder.generateInto(publishOperation().fromProject(this).info(), dependencies(),