894 lines
24 KiB
XML
894 lines
24 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>org.springframework.hateoas</groupId>
|
|
<artifactId>spring-hateoas</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
|
|
<name>Spring HATEOAS</name>
|
|
<url>https://github.com/SpringSource/spring-hateoas</url>
|
|
<description>
|
|
Library to support implementing representations for
|
|
hyper-text driven REST web services.
|
|
</description>
|
|
|
|
<inceptionYear>2012-2019</inceptionYear>
|
|
|
|
<organization>
|
|
<name>Pivotal, Inc.</name>
|
|
<url>https://www.spring.io</url>
|
|
</organization>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>ogierke</id>
|
|
<name>Oliver Gierke</name>
|
|
<email>ogierke(at)pivotal.io</email>
|
|
<organization>Pivotal Software, Inc.</organization>
|
|
<roles>
|
|
<role>Project lead</role>
|
|
</roles>
|
|
<timezone>+1</timezone>
|
|
</developer>
|
|
<developer>
|
|
<id>gturnquist</id>
|
|
<name>Greg Turnquist</name>
|
|
<email>gturnquist(at)pivotal.io</email>
|
|
<organization>Pivotal Software, Inc.</organization>
|
|
<roles>
|
|
<role>Contributor</role>
|
|
</roles>
|
|
<timezone>-6</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<comments>
|
|
Copyright 2011-2019 the original author or authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<source.level>1.8</source.level>
|
|
<docs.resources.version>0.1.0.RELEASE</docs.resources.version>
|
|
<evo.version>1.2.2</evo.version>
|
|
<logback.version>1.2.3</logback.version>
|
|
<jacoco>0.7.9</jacoco>
|
|
<jacoco.destfile>${project.build.directory}/jacoco.exec</jacoco.destfile>
|
|
<jackson.version>2.9.9</jackson.version>
|
|
<java-module-name>spring.hateoas</java-module-name>
|
|
<jsonpath.version>2.4.0</jsonpath.version>
|
|
<junit.version>5.4.2</junit.version>
|
|
<reactor-bom.version>Dysprosium-M1</reactor-bom.version>
|
|
<slf4j.version>1.7.26</slf4j.version>
|
|
<spring.version>5.2.0.M2</spring.version>
|
|
<spring-plugin.version>2.0.0.M1</spring-plugin.version>
|
|
<kotlin.version>1.3.31</kotlin.version>
|
|
</properties>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
<id>spring-next</id>
|
|
<properties>
|
|
<reactor-bom.version>Dysprosium-BUILD-SNAPSHOT</reactor-bom.version>
|
|
<spring.version>5.2.0.BUILD-SNAPSHOT</spring.version>
|
|
<spring-plugin.version>2.0.0.BUILD-SNAPSHOT</spring-plugin.version>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!-- Profile to be run on the CI server, JARs JavaDocs -->
|
|
|
|
<id>ci</id>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-javadoc-jar</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!-- Profile for SonarQube -->
|
|
|
|
<id>sonarqube</id>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco}</version>
|
|
<configuration>
|
|
<destFile>${jacoco.destfile}</destFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>jacoco-initialize</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!--
|
|
Profile to be activated when building the distribution artifacts.
|
|
|
|
Generates reference documentation, aggregates JavaDoc etc.
|
|
-->
|
|
|
|
<id>distribute</id>
|
|
|
|
<properties>
|
|
<shared.resources>${project.build.directory}/shared-resources</shared.resources>
|
|
<maven.install.skip>true</maven.install.skip>
|
|
<skipTests>true</skipTests>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.spring.docresources</groupId>
|
|
<artifactId>spring-doc-resources</artifactId>
|
|
<version>${docs.resources.version}</version>
|
|
<type>zip</type>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!--
|
|
Unpacks the content of spring-data-build-resources into the shared resources folder.
|
|
-->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>unpack-doc-resources</id>
|
|
<goals>
|
|
<goal>unpack-dependencies</goal>
|
|
</goals>
|
|
<phase>prepare-package</phase>
|
|
<configuration>
|
|
<includeGroupIds>io.spring.docresources</includeGroupIds>
|
|
<includeArtifactIds>spring-doc-resources</includeArtifactIds>
|
|
<outputDirectory>${project.build.directory}/refdocs/</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<includeTypes>zip</includeTypes>
|
|
<excludeTransitive>true</excludeTransitive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-asciidoc-resources</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/refdocs/</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/asciidoc</directory>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
|
<version>1.5.7.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctorj-pdf</artifactId>
|
|
<version>1.5.0-alpha.16</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.asciidoctor</groupId>
|
|
<artifactId>asciidoctorj-diagram</artifactId>
|
|
<version>1.5.10</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
|
|
<execution>
|
|
<id>html</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<backend>html5</backend>
|
|
<sourceHighlighter>highlight.js</sourceHighlighter>
|
|
<outputDirectory>${project.reporting.outputDirectory}/reference/html</outputDirectory>
|
|
<sectids>false</sectids>
|
|
<attributes>
|
|
<code-dir>${basedir}/src/docs/java/org/springframework/hateoas</code-dir>
|
|
<resource-dir>${basedir}/src/docs/resources/org/springframework/hateoas</resource-dir>
|
|
<docinfo>shared</docinfo>
|
|
<linkcss>true</linkcss>
|
|
<icons>font</icons>
|
|
<sectanchors>true</sectanchors>
|
|
<stylesdir>css/</stylesdir>
|
|
<stylesheet>spring.css</stylesheet>
|
|
<highlightjsdir>js/highlight</highlightjsdir>
|
|
<highlightjs-theme>atom-one-dark-reasonable</highlightjs-theme>
|
|
</attributes>
|
|
<requires>
|
|
<require>asciidoctor-diagram</require>
|
|
</requires>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>pdf</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>process-asciidoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<backend>pdf</backend>
|
|
<sourceHighlighter>coderay</sourceHighlighter>
|
|
<attributes>
|
|
<code-dir>${basedir}/src/docs/java/org/springframework/hateoas</code-dir>
|
|
</attributes>
|
|
</configuration>
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
<sourceDirectory>${project.build.directory}/refdocs/</sourceDirectory>
|
|
<sourceDocumentName>index.adoc</sourceDocumentName>
|
|
<doctype>book</doctype>
|
|
<attributes>
|
|
<version>${project.version}</version>
|
|
<projectName>${project.name}</projectName>
|
|
<projectVersion>${project.version}</projectVersion>
|
|
<allow-uri-read>true</allow-uri-read>
|
|
<toclevels>4</toclevels>
|
|
<numbered>true</numbered>
|
|
<baseDir>${project.basedir}</baseDir>
|
|
</attributes>
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!--
|
|
Configures JavaDoc generation.
|
|
-->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>javadoc</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>javadoc</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<reportOutputDirectory>${project.reporting.outputDirectory}/api</reportOutputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
|
|
<execution>
|
|
<id>copy-documentation-resources</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<copy todir="${project.reporting.outputDirectory}/reference/html/images">
|
|
<fileset dir="${basedir}/src/main/asciidoc" erroronmissingdir="false">
|
|
<include name="**/*.png" />
|
|
<include name="**/*.gif" />
|
|
<include name="**/*.jpg" />
|
|
</fileset>
|
|
<flattenmapper />
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>rename-reference-docs</id>
|
|
<phase>prepare-package</phase>
|
|
<configuration>
|
|
<target>
|
|
<copy file="${project.build.directory}/generated-docs/index.pdf" tofile="${project.reporting.outputDirectory}/reference/pdf/${project.artifactId}-reference.pdf" />
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>copy-changelog</id>
|
|
<phase>prepare-package</phase>
|
|
<configuration>
|
|
<target>
|
|
<copy file="${basedir}/src/main/resources/changelog.txt" tofile="${project.reporting.outputDirectory}/changelog.txt" />
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>wagon-maven-plugin</artifactId>
|
|
<configuration>
|
|
<fromDir>${project.build.directory}</fromDir>
|
|
<serverId>static-dot-s2</serverId>
|
|
<url>scp://docs.af.pivotal.io</url>
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<!-- Distribute static resources -->
|
|
|
|
<execution>
|
|
<id>upload-static-resources</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>upload</goal>
|
|
</goals>
|
|
<configuration>
|
|
<fromDir>${project.reporting.outputDirectory}</fromDir>
|
|
<includes>**</includes>
|
|
<toDir>/var/www/domains/spring.io/www/htdocs/autorepo/docs/spring-hateoas/${project.version}</toDir>
|
|
<optimize>true</optimize>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<!-- Makes sure resources can be overriden by others -->
|
|
<execution>
|
|
<id>make-resources-group-writable</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>sshexec</goal>
|
|
</goals>
|
|
<configuration> <!-- Prevent reformatting, wrap with CDATA -->
|
|
<commands>
|
|
<command>
|
|
<![CDATA[
|
|
if [ -d /var/www/domains/spring.io/www/htdocs/autorepo/docs/spring-hateoas/${project.version}/ ]
|
|
then
|
|
find /var/www/domains/spring.io/www/htdocs/autorepo/docs/spring-hateoas/${project.version}/ ! -perm -g=w -exec chmod g+w {} \;
|
|
fi
|
|
]]>
|
|
</command>
|
|
</commands>
|
|
</configuration>
|
|
</execution>
|
|
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.10</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-zip</id>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${project.build.directory}/${project.artifactId}-${project.version}.zip</file>
|
|
<type>zip</type>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
-->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-bom</artifactId>
|
|
<version>${reactor-bom.version}</version>
|
|
<scope>import</scope>
|
|
<type>pom</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit</groupId>
|
|
<artifactId>junit-bom</artifactId>
|
|
<version>${junit.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<!-- Kotlin extension -->
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-reflect</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webflux</artifactId>
|
|
<version>${spring.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.plugin</groupId>
|
|
<artifactId>spring-plugin-core</artifactId>
|
|
<version>${spring-plugin.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
<artifactId>json-path</artifactId>
|
|
<version>${jsonpath.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.atteo</groupId>
|
|
<artifactId>evo-inflector</artifactId>
|
|
<version>${evo.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<version>2.23.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.11.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>2.9.9</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.jadler</groupId>
|
|
<artifactId>jadler-all</artifactId>
|
|
<version>1.3.0</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.projectreactor.netty</groupId>
|
|
<artifactId>reactor-netty</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.projectreactor</groupId>
|
|
<artifactId>reactor-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.projectreactor.addons</groupId>
|
|
<artifactId>reactor-extra</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Needs to be after Jadler to make sure it sees the Servlet 3.0 dependency pulled in for testing -->
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.tngtech.archunit</groupId>
|
|
<artifactId>archunit</artifactId>
|
|
<version>0.9.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
<version>3.0.0</version>
|
|
</extension>
|
|
</extensions>
|
|
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.4</version>
|
|
<configuration>
|
|
<breakiterator>true</breakiterator>
|
|
<header>${project.name}</header>
|
|
<source>${source.level}</source>
|
|
<quiet>true</quiet>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
<links>
|
|
<link>https://docs.spring.io/spring/docs/5.1.x/javadoc-api</link>
|
|
<link>https://docs.oracle.com/javase/8/docs/api</link>
|
|
</links>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>add-docs-source</id>
|
|
<phase>generate-test-sources</phase>
|
|
<goals>
|
|
<goal>add-test-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/docs/java</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>add-docs-resources</id>
|
|
<phase>generate-test-resources</phase>
|
|
<goals>
|
|
<goal>add-test-resource</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/docs/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
<configuration>
|
|
<source>${source.level}</source>
|
|
<target>${source.level}</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Implementation-Title>${project.name}</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<Automatic-Module-Name>${java-module-name}</Automatic-Module-Name>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.0.0-M3</version>
|
|
<configuration>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<configuration>
|
|
<jvmTarget>${source.level}</jvmTarget>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
|
|
<sourceDir>${project.basedir}/src/main/java</sourceDir>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirs>
|
|
<sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
|
|
<sourceDir>${project.basedir}/src/test/java</sourceDir>
|
|
</sourceDirs>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>2.8.2</version>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-plugins-release</id>
|
|
<url>https://repo.spring.io/plugins-release</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-libs-snapshot</id>
|
|
<url>https://repo.spring.io/libs-snapshot</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<scm>
|
|
<url>https://github.com/spring-projects/spring-hateoas</url>
|
|
<connection>scm:git:git://github.com/spring-projects/spring-hateoas.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com:spring-projects/spring-hateoas.git</developerConnection>
|
|
</scm>
|
|
|
|
</project>
|