Clean up the POM in preparation for the ossrh repo.
This commit is contained in:
parent
ca8f2bfec7
commit
c63ce409a8
1 changed files with 81 additions and 50 deletions
131
pom.xml
131
pom.xml
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<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">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
@ -11,13 +12,17 @@
|
||||||
<groupId>ch.fritteli.a-maze-r</groupId>
|
<groupId>ch.fritteli.a-maze-r</groupId>
|
||||||
<artifactId>maze-server</artifactId>
|
<artifactId>maze-server</artifactId>
|
||||||
<version>0.0.7-SNAPSHOT</version>
|
<version>0.0.7-SNAPSHOT</version>
|
||||||
|
|
||||||
<description>The A-Maze-R server, offering a REST endpoint to access the Maze Generator.</description>
|
<description>The A-Maze-R server, offering a REST endpoint to access the Maze Generator.</description>
|
||||||
<url>https://manuel.friedli.info/maze.html</url>
|
<url>https://manuel.friedli.info/maze.html</url>
|
||||||
|
<inceptionYear>2022</inceptionYear>
|
||||||
|
|
||||||
<properties>
|
<licenses>
|
||||||
<maze-generator.version>0.1.0</maze-generator.version>
|
<license>
|
||||||
<undertow.version>2.3.5.Final</undertow.version>
|
<name>GNU Affero General Public License</name>
|
||||||
</properties>
|
<url>https://www.gnu.org/licenses/agpl-3.0.html</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
|
@ -35,6 +40,27 @@
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
|
<scm>
|
||||||
|
<connection>scm:git:https://gittr.ch/java/maze-server.git</connection>
|
||||||
|
<developerConnection>scm:git:ssh://git@gittr.ch/java/maze-server.git</developerConnection>
|
||||||
|
<url>https://gittr.ch/java/maze-server</url>
|
||||||
|
<tag>HEAD</tag>
|
||||||
|
</scm>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<snapshotRepository>
|
||||||
|
<id>ossrh</id>
|
||||||
|
<name>Sonatype Maven Repository - Snapshots</name>
|
||||||
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
|
</snapshotRepository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<maze-generator.version>0.1.0</maze-generator.version>
|
||||||
|
<maven-site-plugin.version>4.0.0-M8</maven-site-plugin.version>
|
||||||
|
<undertow.version>2.3.5.Final</undertow.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ch.fritteli.a-maze-r</groupId>
|
<groupId>ch.fritteli.a-maze-r</groupId>
|
||||||
|
@ -79,7 +105,8 @@
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<transformers>
|
<transformers>
|
||||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
<transformer
|
||||||
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||||
<mainClass>ch.fritteli.maze.server.Main</mainClass>
|
<mainClass>ch.fritteli.maze.server.Main</mainClass>
|
||||||
</transformer>
|
</transformer>
|
||||||
</transformers>
|
</transformers>
|
||||||
|
@ -117,51 +144,55 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
|
<version>${maven-site-plugin.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<scm>
|
|
||||||
<connection>scm:git:https://gittr.ch/java/maze-server.git</connection>
|
<profiles>
|
||||||
<developerConnection>scm:git:ssh://git@gittr.ch/java/maze-server.git</developerConnection>
|
<profile>
|
||||||
<url>https://gittr.ch/java/maze-server</url>
|
<id>release</id>
|
||||||
<tag>HEAD</tag>
|
<build>
|
||||||
</scm>
|
<plugins>
|
||||||
<distributionManagement>
|
<plugin>
|
||||||
<repository>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<id>repo.gittr.ch</id>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<name>gittr.ch</name>
|
<executions>
|
||||||
<url>https://repo.gittr.ch/releases/</url>
|
<execution>
|
||||||
</repository>
|
<id>attach-sources</id>
|
||||||
<snapshotRepository>
|
<goals>
|
||||||
<id>repo.gittr.ch</id>
|
<goal>jar-no-fork</goal>
|
||||||
<name>gittr.ch</name>
|
</goals>
|
||||||
<url>https://repo.gittr.ch/snapshots/</url>
|
</execution>
|
||||||
</snapshotRepository>
|
</executions>
|
||||||
</distributionManagement>
|
</plugin>
|
||||||
<repositories>
|
<plugin>
|
||||||
<repository>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<id>repo.gittr.ch.releases</id>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<url>https://repo.gittr.ch/releases/</url>
|
<executions>
|
||||||
<releases>
|
<execution>
|
||||||
<enabled>true</enabled>
|
<id>attach-javadocs</id>
|
||||||
<updatePolicy>never</updatePolicy>
|
<goals>
|
||||||
</releases>
|
<goal>jar</goal>
|
||||||
<snapshots>
|
</goals>
|
||||||
<enabled>false</enabled>
|
</execution>
|
||||||
<updatePolicy>never</updatePolicy>
|
</executions>
|
||||||
</snapshots>
|
</plugin>
|
||||||
</repository>
|
<plugin>
|
||||||
<repository>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<id>repo.gittr.ch.snapshots</id>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
<url>https://repo.gittr.ch/snapshots/</url>
|
<executions>
|
||||||
<releases>
|
<execution>
|
||||||
<enabled>false</enabled>
|
<id>sign-artifacts</id>
|
||||||
<updatePolicy>never</updatePolicy>
|
<phase>verify</phase>
|
||||||
</releases>
|
<goals>
|
||||||
<snapshots>
|
<goal>sign</goal>
|
||||||
<enabled>true</enabled>
|
</goals>
|
||||||
<updatePolicy>always</updatePolicy>
|
</execution>
|
||||||
</snapshots>
|
</executions>
|
||||||
</repository>
|
</plugin>
|
||||||
</repositories>
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue