213 lines
5.2 KiB
XML
213 lines
5.2 KiB
XML
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>dev.kske</groupId>
|
|
<artifactId>undo-redo</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>Undo-Redo</name>
|
|
<description>A Java library for managing changes in an editor history.</description>
|
|
<url>https://git.kske.dev/kske/event-bus</url>
|
|
|
|
<modules>
|
|
<module>core</module>
|
|
<module>javafx</module>
|
|
</modules>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
<comments>A business-friendly OSS license</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>kske</id>
|
|
<name>Kai S. K. Engelbart</name>
|
|
<email>kai@kske.dev</email>
|
|
<url>https://kske.dev</url>
|
|
<roles>
|
|
<role>architect</role>
|
|
<role>developer</role>
|
|
</roles>
|
|
<timezone>Europe/Berlin</timezone>
|
|
</developer>
|
|
<developer>
|
|
<name>Maximilian Käfer</name>
|
|
<email>maxi@kske.dev</email>
|
|
<url>https://git.kske.dev/DieGurke</url>
|
|
<roles>
|
|
<role>architect</role>
|
|
<role>developer</role>
|
|
</roles>
|
|
<timezone>Europe/Berlin</timezone>
|
|
</developer>
|
|
<developer>
|
|
<name>Leon Hofmeister</name>
|
|
<email>leon@kske.dev</email>
|
|
<url>https://git.kske.dev/delvh</url>
|
|
<roles>
|
|
<role>architect</role>
|
|
<role>developer</role>
|
|
</roles>
|
|
<timezone>Europe/Berlin</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<scm>
|
|
<connection>scm:git:https://git.kske.dev/zdm/undo-redo.git</connection>
|
|
<developerConnection>scm:git:ssh://git@git.kske.dev:420/zdm/undo-redo.git</developerConnection>
|
|
<url>https://git.kske.dev/zdm/undo-redo</url>
|
|
</scm>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
</properties>
|
|
|
|
<!-- Configure deployment to OSSRH -->
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>ossrh</id>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<!-- Disable test resource folder -->
|
|
<testResources />
|
|
|
|
<plugins>
|
|
|
|
<!-- Support Java 9 modules -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
</plugin>
|
|
|
|
<!-- Attach sources to JAR -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Attach Javadoc to JAR -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
|
|
<!-- Support JDK-style Javadoc tags -->
|
|
<configuration>
|
|
<tags>
|
|
<tag>
|
|
<name>apiNote</name>
|
|
<placement>a</placement>
|
|
<head>API Note:</head>
|
|
</tag>
|
|
<tag>
|
|
<name>implSpec</name>
|
|
<placement>a</placement>
|
|
<head>Implementation Requirements:</head>
|
|
</tag>
|
|
<tag>
|
|
<name>implNote</name>
|
|
<placement>a</placement>
|
|
<head>Implementation Note:</head>
|
|
</tag>
|
|
</tags>
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- GPG sign JAR -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Run unit tests -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M5</version>
|
|
<configuration>
|
|
<argLine>${argLine} --add-opens dev.kske.undoredo.core/dev.kske.undoredo.core=ALL-UNNAMED</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Generate coverage report -->
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>0.8.7</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</project>
|