functional-patterns
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.ft</groupId>
<artifactId>functional-patterns</artifactId>
<version>2.0.0</version>
</dependency><?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">
<name>Functional Patterns</name>
<description>A collection of functional programming patterns for Java 8+</description>
<url>https://github.com/Financial-Times/functional-patterns</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<developers>
<developer>
<name>Ellis Pritchard</name>
<email>ellis.pritchard@ft.com</email>
<organization>Financial Times</organization>
<organizationUrl>https://github.com/Financial-Times</organizationUrl>
</developer>
</developers>
<modelVersion>4.0.0</modelVersion>
<groupId>com.ft</groupId>
<artifactId>functional-patterns</artifactId>
<version>2.0.0</version>
<scm>
<connection>scm:git:git://github.com/Financial-Times/functional-patterns.git</connection>
<developerConnection>scm:git:ssh://github.com:Financial-Times/functional-patterns.git</developerConnection>
<url>https://github.com/Financial-Times/functional-patterns</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<assertj.version>3.5.2</assertj.version>
<guava.version>18.0</guava.version>
<hamcrest.version>1.3</hamcrest.version>
<jsr305.version>3.0.1</jsr305.version>
<junit.version>4.12</junit.version>
<mockito.version>1.10.19</mockito.version>
<target-jdk>1.8</target-jdk>
<maven-compiler-plugin.version>3.5</maven-compiler-plugin.version>
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
<maven-surefire-plugin.threadCount>1</maven-surefire-plugin.threadCount>
<maven.surefire.plugin.version>2.19.1</maven.surefire.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<prerequisites>
<!-- Versions < 3.2.3 vulnerable to MIM attack on maven central (SSL access to repo) -->
<maven>3.2.3</maven>
</prerequisites>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${hamcrest.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
<version>${assertj.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${target-jdk}</source>
<target>${target-jdk}</target>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[${target-jdk},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.2.3,)</version>
</requireMavenVersion>
<requireReleaseDeps>
<message>Depending on Snapshot Versions in Releases is not allowed!</message>
<onlyWhenRelease>true</onlyWhenRelease>
<failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
</requireReleaseDeps>
<bannedDependencies>
<searchTransitive>true</searchTransitive>
<excludes>
<exclude>*:log4j</exclude>
<exclude>*:commons-logging</exclude>
<exclude>*:slf4j-log4j12</exclude>
<exclude>*:slf4j-jdk14</exclude>
<exclude>*:junit-dep</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<!-- Runs testcases named **/*Test.java or **/*TestCase.java -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<excludes>
<exclude>**/Test*.java</exclude>
</excludes>
<parallel>methods</parallel>
<threadCount>${maven-surefire-plugin.threadCount}</threadCount>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<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-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<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>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>