Skip to content

Commit

Permalink
chore: make POM of watchdog-agent compatible with release requirements (
Browse files Browse the repository at this point in the history
  • Loading branch information
algomaster99 authored Jul 25, 2023
1 parent dc5710e commit 98f22f1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
12 changes: 12 additions & 0 deletions jreleaser.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
}
},

"distributions": {
"watchdog-agent": {
"type": "SINGLE_JAR",
"stereotype": "CLI",
"artifacts": [
{
"path": "watchdog-agent/target/{{distributionName}}-{{projectVersion}}.jar"
}
]
}
},

"signing": {
"active": "ALWAYS",
"armored": true,
Expand Down
9 changes: 5 additions & 4 deletions watchdog-agent/pom.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
<?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">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.algomaster99</groupId>
<artifactId>terminator</artifactId>
<version>0.2.1-SNAPSHOT</version>
</parent>
<artifactId>watchdog-agent</artifactId>
<packaging>jar</packaging>

<name>Runtime Agent</name>
<description>Exits JVM if unknown class is loaded.</description>
<url>${project.parent.url}</url>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
Expand Down Expand Up @@ -106,10 +111,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down

0 comments on commit 98f22f1

Please sign in to comment.