Pom of com.github.robozonky:robozonky-api:4.1.0

Back to com.github.robozonky:robozonky-api:4.1.0

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2017 The RoboZonky Project
  ~
  ~ 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
  ~
  ~     http://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.
  -->

<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">
  <parent>
    <artifactId>robozonky</artifactId>
    <groupId>com.github.robozonky</groupId>
    <version>4.1.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>

  <artifactId>robozonky-api</artifactId>
  <name>RoboZonky: Public, stable APIs</name>

  <dependencies>
    <dependency>
      <groupId>org.jboss.spec.javax.ws.rs</groupId>
      <artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>jaxb-runtime</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jboss.resteasy</groupId>
      <artifactId>resteasy-jackson2-provider</artifactId>
    </dependency>
    <dependency>
      <groupId>org.ini4j</groupId>
      <artifactId>ini4j</artifactId>
      <version>0.5.4</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
    </dependency>
    <dependency>
      <groupId>org.junit.vintage</groupId>
      <artifactId>junit-vintage-engine</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.assertj</groupId>
      <artifactId>assertj-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.github.stefanbirkner</groupId>
      <artifactId>system-rules</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jcl-over-slf4j</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.revapi</groupId>
        <artifactId>revapi-maven-plugin</artifactId>
        <version>0.9.2</version>
        <dependencies>
          <dependency>
            <groupId>org.revapi</groupId>
            <artifactId>revapi-java</artifactId>
            <version>0.14.1</version>
          </dependency>
        </dependencies>
        <configuration>
          <versionFormat>[1-9]+\.[0-9]+\.[0-9]+</versionFormat>
          <analysisConfiguration><![CDATA[
            {
              "revapi": {
                "java": {
                  "filter": {
                    "packages": {
                      "regex": true,
                      "exclude": ["com\\.github\\.robozonky\\.internal(\\..+)?"]
                    }
                  }
                },
                "ignore": [
                  {
                    "code": "java.method.removed",
                    "old": "method com.github.robozonky.api.remote.entities.Statistics com.github.robozonky.api.remote.PortfolioApi::statistics()",
                    "package": "com.github.robozonky.api.remote",
                    "classSimpleName": "PortfolioApi",
                    "methodName": "statistics",
                    "elementKind": "method",
                    "justification": "Zonky moved this API and we don't need it anymore."
                  },
                  {
                    "code": "java.class.removed",
                    "old": "class com.github.robozonky.api.remote.entities.Statistics",
                    "package": "com.github.robozonky.api.remote.entities",
                    "classSimpleName": "Statistics",
                    "elementKind": "class",
                    "justification": "Zonky moved this API and we don't need it anymore."
                  },{
                    "code": "java.method.parameterTypeChanged",
                    "old": "parameter java.util.Optional<T> com.github.robozonky.api.Refreshable<T>::getLatest(===java.time.temporal.TemporalAmount===)",
                    "new": "parameter java.util.Optional<T> com.github.robozonky.api.Refreshable<T>::getLatest(===java.time.Duration===)",
                    "oldType": "java.time.temporal.TemporalAmount",
                    "newType": "java.time.Duration",
                    "package": "com.github.robozonky.api",
                    "classSimpleName": "Refreshable",
                    "methodName": "getLatest",
                    "parameterIndex": "0",
                    "elementKind": "parameter",
                    "justification": "Use of TemporalAmount discouraged by the JDK."
                  }, {
                    "code": "java.method.removed",
                    "old": "method T com.github.robozonky.api.Refreshable<T>::getLatestBlocking()",
                    "package": "com.github.robozonky.api",
                    "classSimpleName": "Refreshable",
                    "methodName": "getLatestBlocking",
                    "elementKind": "method",
                    "justification": "No longer used anywhere in the code."
                  }
                ]
              }
            }
          ]]></analysisConfiguration>
        </configuration>
        <executions>
          <execution>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>