blog-software-java/pom.xml

155 lines
5.7 KiB
XML
Raw Normal View History

2025-01-07 11:41:30 +01:00
<?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/xsd/maven-4.0.0.xsd">
2025-01-07 11:41:30 +01:00
<modelVersion>4.0.0</modelVersion>
<groupId>eu.m724</groupId>
<artifactId>blog</artifactId>
<version>0.0.2-SNAPSHOT</version>
2025-01-07 11:41:30 +01:00
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
2025-01-07 11:41:30 +01:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2025-01-08 18:40:11 +01:00
<exec.mainClass>eu.m724.blog.Main</exec.mainClass>
<jarsigner.keystore>${project.basedir}/testkeystore.jks</jarsigner.keystore>
<jarsigner.alias>testkey</jarsigner.alias>
<jarsigner.storepass>123456</jarsigner.storepass>
2025-01-07 11:41:30 +01:00
</properties>
<dependencies>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.9.0</version>
<optional>true</optional>
2025-01-07 11:41:30 +01:00
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>7.1.0.202411261347-r</version>
</dependency>
<dependency>
2025-01-08 18:40:11 +01:00
<groupId>io.pebbletemplates</groupId>
<artifactId>pebble</artifactId>
<version>3.2.3</version>
2025-01-07 11:41:30 +01:00
</dependency>
<dependency>
<groupId>org.snakeyaml</groupId>
<artifactId>snakeyaml-engine</artifactId>
<version>2.9</version>
2025-01-07 11:41:30 +01:00
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.18.0</version>
2025-01-07 11:41:30 +01:00
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.16</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.16</version>
</dependency>
2025-01-07 11:41:30 +01:00
</dependencies>
2025-01-13 13:32:25 +01:00
<build>
<plugins>
2025-01-18 21:36:25 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
2025-01-18 21:41:31 +01:00
<mainClass>${exec.mainClass}</mainClass>
2025-01-18 21:36:25 +01:00
</manifest>
</archive>
</configuration>
</plugin>
2025-01-20 17:34:01 +01:00
2025-01-13 13:32:25 +01:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<createDependencyReducedPom>false</createDependencyReducedPom>
<shadedArtifactAttached>true</shadedArtifactAttached>
2025-01-18 21:43:18 +01:00
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
2025-01-13 13:32:25 +01:00
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<keystore>${jarsigner.keystore}</keystore>
<alias>${jarsigner.alias}</alias>
<storepass>${jarsigner.storepass}</storepass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.1.1</version>
</plugin>
2025-01-13 13:32:25 +01:00
</plugins>
</build>
<distributionManagement>
<repository>
<id>m724-repo</id>
<url>https://git.m724.eu/api/packages/Minecon724/maven</url>
</repository>
<snapshotRepository>
<id>m724-repo</id>
<url>https://git.m724.eu/api/packages/Minecon724/maven</url>
</snapshotRepository>
</distributionManagement>
<scm>
<developerConnection>scm:git:git@git.m724.eu:Minecon724/blog-software-java.git</developerConnection>
<tag>HEAD</tag>
</scm>
2025-01-07 11:41:30 +01:00
</project>