igipost-useragreements-api-client-java.3.3.0.source-code.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of digipost-useragreements-api-client-java Show documentation
Show all versions of digipost-useragreements-api-client-java Show documentation
Java library for interacting with the Digipost UserAgreements API
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) Posten Norge AS 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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>no.digipost</groupId> <artifactId>digipost-open-super-pom</artifactId> <version>7</version> </parent> <artifactId>digipost-useragreements-api-client-java</artifactId> <version>3.3.0</version> <name>Digipost User Agreements API Client</name> <description>Java library for interacting with the Digipost UserAgreements API</description> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <bouncycastle.version>1.77</bouncycastle.version> <slf4j.version>1.7.36</slf4j.version> <jaxb.version>2.3.2</jaxb.version> </properties> <dependencies> <dependency> <groupId>no.digipost</groupId> <artifactId>digipost-cache</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>${jaxb.version}</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>2.3.2</version> <scope>runtime</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>runtime</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.13</version> <exclusions> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.4.16</version> </dependency> <dependency> <groupId>no.digipost</groupId> <artifactId>http-client-builder3</artifactId> <version>3.0.1</version> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>32.0.1-jre</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.12.0</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk18on</artifactId> <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk18on</artifactId> <version>${bouncycastle.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>java-hamcrest</artifactId> <version>2.0.0.0</version> <scope>test</scope> </dependency> <dependency> <groupId>co.unruly</groupId> <artifactId>java-8-matchers</artifactId> <version>1.6</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>2.18.3</version> <scope>test</scope> </dependency> <dependency> <groupId>io.vavr</groupId> <artifactId>vavr-test</artifactId> <version>0.9.2</version> <scope>test</scope> </dependency> <dependency> <groupId>io.vavr</groupId> <artifactId>vavr</artifactId> <version>0.9.2</version> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>**/user-agent.properties</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <excludes> <exclude>**/user-agent.properties</exclude> </excludes> </resource> </resources> <pluginManagement> <plugins> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> </plugin> <plugin> <groupId>org.jasig.maven</groupId> <artifactId>maven-notice-plugin</artifactId> <version>1.1.0</version> <configuration> <noticeTemplate>${project.basedir}/src/main/notice/NOTICE.template</noticeTemplate> <licenseMapping> <param>${project.basedir}/src/main/notice/license-mappings.xml</param> </licenseMapping> <excludeScopes> <excludeScope>test</excludeScope> </excludeScopes> </configuration> <dependencies> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <version>2.3.2</version> </dependency> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>2.3.2</version> <scope>runtime</scope> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.21.0</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> </plugin> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.5.2</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.0.2</version> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <groupId>com.github.siom79.japicmp</groupId> <artifactId>japicmp-maven-plugin</artifactId> <version>0.11.1</version> <configuration> <newVersion> <file><path>${project.build.directory}/${project.build.finalName}.${project.packaging}</path></file> </newVersion> <parameter> <onlyModified>true</onlyModified> <onlyBinaryIncompatible>true</onlyBinaryIncompatible> <includes> <include>no.digipost</include> </includes> </parameter> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>3.0</version> <configuration> <header>src/main/resources/header.txt</header> <strictCheck>true</strictCheck> <excludes> <exclude>NOTICE</exclude> <exclude>**/NOTICE.template</exclude> <exclude>LICENSE*</exclude> <exclude>**/*.p12</exclude> <exclude>**/user-agent.properties</exclude> <exclude>docs/**</exclude> <exclude>.java-version</exclude> <exclude>.github/**/*.yml</exclude> </excludes> <mapping> <editorconfig>SCRIPT_STYLE</editorconfig> </mapping> </configuration> <executions> <execution> <id>check-license-header</id> <goals> <goal>check</goal> </goals> <phase>test</phase> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <configuration> <includePom>true</includePom> </configuration> <executions> <execution> <id>attach-source</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jasig.maven</groupId> <artifactId>maven-notice-plugin</artifactId> <executions> <execution> <id>check-NOTICE-file</id> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <goals> <goal>analyze-only</goal> </goals> <configuration> <failOnWarning>true</failOnWarning> <ignoreNonCompile>true</ignoreNonCompile> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M1</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <phase>test</phase> <configuration> <rules> <requireMavenVersion> <version>3.0</version> </requireMavenVersion> <bannedDependencies> <excludes> <exclude>*:*:*:jar:compile</exclude> </excludes> <includes> <include>org.bouncycastle:bcprov-jdk18on:${bouncycastle.version}:jar:compile</include> <include>org.bouncycastle:bcpkix-jdk18on:${bouncycastle.version}:jar:compile</include> <include>org.bouncycastle:bcutil-jdk18on:${bouncycastle.version}:jar:compile</include> <include>org.apache.commons:commons-lang3</include> <include>jakarta.xml.bind:jakarta.xml.bind-api</include> <include>jakarta.activation:jakarta.activation-api</include> <include>org.javassist:javassist:*:jar:test</include> <include>org.slf4j:slf4j-api:*:jar:compile</include> <include>org.slf4j:slf4j-simple:*:jar:test</include> <include>no.digipost:digipost-cache</include> <include>com.github.ben-manes.caffeine:caffeine</include> <include>com.google.guava:guava</include> <include>com.google.guava:failureaccess</include> <include>com.google.guava:listenablefuture</include> <include>org.checkerframework:checker-qual</include> <include>com.google.code.findbugs:jsr305</include> <include>com.google.j2objc:j2objc-annotations</include> <include>org.checkerframework:checker-compat-qual</include> <include>org.codehaus.mojo:animal-sniffer-annotations</include> <include>com.google.errorprone:error_prone_annotations</include> <include>no.digipost:http-client-builder3</include> <include>org.apache.httpcomponents:httpclient</include> <include>commons-codec:commons-codec</include> <include>org.apache.httpcomponents:httpcore</include> <include>org.jboss.logging:jboss-logging</include> <include>org.jboss.xnio:xnio-api</include> </includes> <searchTransitive>true</searchTransitive> <message>Maven-avhengigheter har forandret seg. Sjekk at alle lisenser er OK før distribusjon. Husk også å oppdatere fila «NOTICE».</message> </bannedDependencies> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>doclint-java8-disable</id> <activation> <jdk>[1.8,</jdk> </activation> <build> <pluginManagement> <plugins> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> <scm> <connection>scm:git:[email protected]:digipost/digipost-useragreements-api-client-java.git</connection> <developerConnection>scm:git:[email protected]:digipost/digipost-useragreements-api-client-java.git</developerConnection> <url>scm:git:[email protected]:digipost/digipost-useragreements-api-client-java</url> <tag>HEAD</tag> </scm> </project>