Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions build.savant
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2023, Inversoft Inc., All Rights Reserved
* Copyright (c) 2015-2025, Inversoft Inc., All Rights Reserved
*/
project(group: "com.inversoft", name: "java-error", version: "2.2.3", licenses: ["ApacheV2_0"]) {
workflow {
Expand Down Expand Up @@ -35,6 +35,7 @@ file = loadPlugin(id: "org.savantbuild.plugin:file:2.0.0")
java = loadPlugin(id: "org.savantbuild.plugin:java:2.0.0")
idea = loadPlugin(id: "org.savantbuild.plugin:idea:2.0.0")
release = loadPlugin(id: "org.savantbuild.plugin:release-git:2.0.0")
pom = loadPlugin(id: "org.savantbuild.plugin:pom:2.0.0")

java.settings.javaVersion = "1.8"

Expand All @@ -59,7 +60,7 @@ target(name: "doc", description: "Generate the project's JavaDoc", dependsOn: ["
java.document()
}

target(name: "int", description: "Releases a local integration build of the project", dependsOn: ["test"]) {
target(name: "int", description: "Releases a local integration build of the project", dependsOn: ["test", "pom"]) {
dependency.integrate()
}

Expand All @@ -75,6 +76,10 @@ target(name: "idea", description: "Updates the IntelliJ IDEA module file") {
idea.iml()
}

target(name: "pom", description: "Updates the pom.xml file") {
pom.update()
}

target(name: "publish", description: "Publish to MVN repo", dependsOn: ["clean", "test"]) {
if (new ProcessBuilder('mvn', 'deploy', '-Prelease').inheritIO().start().waitFor() != 0) {
fail("deploy failed")
Expand Down
50 changes: 28 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--
~ Copyright (c) 2025, Inversoft Inc., All Rights Reserved
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.inversoft</groupId>
Expand All @@ -15,13 +14,16 @@

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<name>Central Portal Snapshots</name>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<developers>
Expand All @@ -41,8 +43,9 @@

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<name>Apache-2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>

Expand All @@ -61,11 +64,17 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.10.1</version>
<type>jar</type>
<scope>compile</scope>
<optional>false</optional>
</dependency>
<dependency>
<groupId>com.inversoft</groupId>
<artifactId>jackson5</artifactId>
<version>2.4.4</version>
<type>jar</type>
<scope>compile</scope>
<optional>false</optional>
</dependency>
</dependencies>

Expand All @@ -83,7 +92,7 @@
<goal>sign</goal>
</goals>
<configuration>
<keyname>Inversoft</keyname>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -123,14 +132,13 @@
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
<plugin>
Expand All @@ -156,6 +164,4 @@
</profile>
</profiles>

</project>


</project>