-
-
Save bgawne/389b5f4112faf27e51aa9c5ebe62639a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>au.com.crossbet</groupId> | |
<artifactId>crossbet-api-server</artifactId> | |
<version>1.0</version> | |
<packaging>jar</packaging> | |
<name>crossbet-api-server</name> | |
<developers> | |
<developer> | |
<id>bgawne</id> | |
<name>Brad Gawne</name> | |
</developer> | |
</developers> | |
<parent> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>1.3.3.RELEASE</version> | |
<relativePath/> <!-- lookup parent from repository --> | |
</parent> | |
<properties> | |
<start-class>au.com.crossbet.CrossbetAPIServerApplication</start-class> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<maven.test.skip>true</maven.test.skip> | |
<maven.test.failure.ignore>true</maven.test.failure.ignore> | |
<java.version>1.8</java.version> | |
<my.version>${project.version}</my.version> | |
<my.name>${project.artifactId}</my.name> | |
<wro4j.version>1.7.6</wro4j.version> | |
<!--datastax.version>2.2.0-rc3-SNAPSHOT</datastax.version--> | |
<!--pac4jVersion>1.7.0</pac4jVersion--> | |
<maven.javadoc.failOnError>false</maven.javadoc.failOnError> | |
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory> | |
<!--spring.framework.version>3.2.8.RELEASE</spring.framework.version--> | |
</properties> | |
<repositories> | |
<repository> | |
<id>snapshots</id> | |
<url>https://repository.apache.org/content/repositories/snapshots</url> | |
</repository> | |
<repository> | |
<id>spring-snapshots</id> | |
<name>Spring Snapshots</name> | |
<url>http://repo.spring.io/snapshot</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
<repository> | |
<id>spring-milestones</id> | |
<name>Spring Milestones</name> | |
<url>http://repo.spring.io/milestone</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
<repository> | |
<id>eaio.com</id> | |
<url>http://repo.eaio.com/maven2</url> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>spring-snapshots</id> | |
<url>http://repo.spring.io/snapshot</url> | |
</pluginRepository> | |
<pluginRepository> | |
<id>spring-milestones</id> | |
<url>http://repo.spring.io/milestone</url> | |
</pluginRepository> | |
</pluginRepositories> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>1.3.3.RELEASE</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-starter-parent</artifactId> | |
<version>Brixton.RC1</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<!--dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot</artifactId> | |
<type>jar</type> | |
</dependency--> | |
<dependency> | |
<groupId>au.com.crossbet</groupId> | |
<artifactId>crossbet_resources</artifactId> | |
<version>1.0</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<!--dependency> | |
<groupId>org.projectreactor</groupId> | |
<artifactId>reactor-net</artifactId> | |
<version>2.0.0.M1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.projectreactor.spring</groupId> | |
<artifactId>reactor-spring-context</artifactId> | |
<version>2.0.0.M1</version> | |
</dependency--> | |
<!--dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-devtools</artifactId> | |
<optional>true</optional> | |
</dependency--> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-web</artifactId> | |
<exclusions> | |
<!--exclusion> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-tomcat</artifactId> | |
</exclusion--> | |
<exclusion> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-logging</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-jetty</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-jersey</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-log4j</artifactId> | |
<!--exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
</exclusions--> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-websocket</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-ws</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-test</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-data-rest</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-security</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-social-twitter</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-social-linkedin</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-social-facebook</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-mail</artifactId> | |
</dependency> | |
<!--dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-actuator</artifactId> | |
</dependency--> | |
<!--dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-remote-shell</artifactId> | |
</dependency--> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-data-jpa</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate-entitymanager</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-thymeleaf</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.eaio.uuid</groupId> | |
<artifactId>uuid</artifactId> | |
<version>3.4</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-codec</groupId> | |
<artifactId>commons-codec</artifactId> | |
<version>2.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-compress</artifactId> | |
<version>1.10</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-fileupload</groupId> | |
<artifactId>commons-fileupload</artifactId> | |
<version>2.0.0-SNAPSHOT</version> <!-- makesure correct version here --> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>19.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.security</groupId> | |
<artifactId>spring-security-jwt</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.data</groupId> | |
<artifactId>spring-data-cassandra</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>com.datastax.cassandra</groupId> | |
<artifactId>cassandra-driver-core</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>com.datastax.cassandra</groupId> | |
<artifactId>cassandra-driver-dse</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.datastax.cassandra</groupId> | |
<artifactId>cassandra-driver-core</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.datastax.cassandra</groupId> | |
<artifactId>cassandra-driver-dse</artifactId> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-aop</artifactId> | |
</dependency> | |
<!--dependency> | |
<groupId>org.aspectj</groupId> | |
<artifactId>aspectjweaver</artifactId> | |
<version>1.8.6</version> | |
</dependency--> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>io.jsonwebtoken</groupId> | |
<artifactId>jjwt</artifactId> | |
<version>0.6.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.pac4j</groupId> | |
<artifactId>pac4j-core</artifactId> | |
<version>1.8.5</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.pac4j</groupId> | |
<artifactId>pac4j-oauth</artifactId> | |
<version>1.8.5</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<!--dependency> | |
<groupId>org.pac4j</groupId> | |
<artifactId>spring-security-pac4j</artifactId> | |
<version>1.2.5</version> | |
</dependency--> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-starter-config</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework.cloud</groupId> | |
<artifactId>spring-cloud-starter-eureka</artifactId> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>${my.name}-${my.version}</finalName> | |
<resources> | |
<resource> | |
<directory>src/main/resources</directory> | |
</resource> | |
<resource> | |
<directory>${project.basedir}/src/main/resources</directory> | |
</resource> | |
<resource> | |
<directory>${project.build.directory}/generated-resources</directory> | |
</resource> | |
<resource> | |
<filtering>true</filtering><!-- if it is neccessary --> | |
<directory>${project.basedir}/src/main/resources/scripts</directory><!-- from --> | |
<targetPath>${project.build.directory}</targetPath><!-- to --> | |
<includes><!-- what --> | |
<include>debug-api-server.bat</include> | |
<include>debug-api-server.sh</include> | |
<include>run-api-server.bat</include> | |
<include>run-api-server.sh</include> | |
</includes> | |
</resource> | |
</resources> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>install</phase> | |
<goals> | |
<goal>copy-dependencies</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${project.build.directory}/lib</outputDirectory> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.3</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
<showDeprecation>true</showDeprecation> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<executions> | |
<execution> | |
<!-- Serves *only* to filter the wro.xml so it can get an absolute | |
path for the project --> | |
<id>copy-resources</id> | |
<phase>validate</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${basedir}/target/wro</outputDirectory> | |
<resources> | |
<resource> | |
<directory>src/main/wro</directory> | |
<filtering>true</filtering> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>9.3.7.v20160115</version> | |
<configuration> | |
<webAppConfig> | |
<defaultsDescriptor>jetty-web.xml</defaultsDescriptor> | |
</webAppConfig> | |
</configuration> | |
<!--exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
</exclusion> | |
</exclusions--> | |
</plugin> | |
<!--plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<configuration> | |
<show>private</show> | |
<nohelp>true</nohelp> | |
<excludePackageNames> | |
com.crossbet.apiserver.configurations.* | |
;com.crossbet.apiserver.services.* | |
;com.crossbet.apiserver.validations.* | |
</excludePackageNames> | |
</configuration> | |
<executions> | |
<execution> | |
<id>attach-javadoc</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>attach-javadocinclass</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>javadoc</goal> | |
</goals> | |
<configuration> | |
<reportOutputDirectory>${project.build.directory}/apidocs/</reportOutputDirectory> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin--> | |
<!--plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<finalName>uber-${artifactId}-${version}</finalName> | |
</configuration> | |
</plugin--> | |
<!--plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<includes> | |
<include>**/*Documentation.java</include> | |
</includes> | |
</configuration> | |
</plugin--> | |
<!--plugin> | |
<groupId>org.asciidoctor</groupId> | |
<artifactId>asciidoctor-maven-plugin</artifactId> | |
<version>1.5.2</version> | |
<executions> | |
<execution> | |
<id>generate-docs</id> | |
<phase>package</phase> | |
<goals> | |
<goal>process-asciidoc</goal> | |
</goals> | |
<configuration> | |
<backend>html</backend> | |
<doctype>book</doctype> | |
<attributes> | |
<snippets>${snippetsDirectory}</snippets> | |
</attributes> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin--> | |
<!--plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.7</version> | |
<executions> | |
<execution> | |
<id>copy-resources</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory> | |
${project.build.outputDirectory}/static/docs | |
</outputDirectory> | |
<resources> | |
<resource> | |
<directory> | |
${project.build.directory}/generated-docs | |
</directory> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin--> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment