2018-04-06 12:46:02 +00:00
|
|
|
<?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>
|
|
|
|
|
|
|
|
<parent>
|
2018-04-25 09:44:53 +00:00
|
|
|
<groupId>com.loafle.maven</groupId>
|
2018-04-06 12:46:02 +00:00
|
|
|
<artifactId>maven_parent_jar</artifactId>
|
|
|
|
<version>1.0.0-RELEASE</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>com.loafle.overflow</groupId>
|
|
|
|
<artifactId>central</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<name>com.loafle.overflow.central</name>
|
|
|
|
|
|
|
|
<properties>
|
2018-04-25 17:22:19 +00:00
|
|
|
<commons.rpc-java.version>1.0.0-SNAPSHOT</commons.rpc-java.version>
|
|
|
|
|
2018-05-14 05:21:03 +00:00
|
|
|
<grpc.version>1.12.0</grpc.version>
|
2018-04-06 12:46:02 +00:00
|
|
|
<jedis.version>2.9.0</jedis.version>
|
|
|
|
<caffeine.version>2.5.6</caffeine.version>
|
2018-05-14 05:21:03 +00:00
|
|
|
<protoc.version>3.5.1</protoc.version>
|
2018-06-05 13:54:12 +00:00
|
|
|
<spring.version>5.0.6.RELEASE</spring.version>
|
2018-06-05 14:49:26 +00:00
|
|
|
<spring.data.commons.version>2.0.7.RELEASE</spring.data.commons.version>
|
2018-06-05 13:54:12 +00:00
|
|
|
<spring.data.jpa.version>2.0.7.RELEASE</spring.data.jpa.version>
|
|
|
|
<spring.data.redis.version>2.0.7.RELEASE</spring.data.redis.version>
|
|
|
|
<spring.crypto.version>5.0.5.RELEASE</spring.crypto.version>
|
2018-06-15 08:18:35 +00:00
|
|
|
<jackson-databind.version>2.9.5</jackson-databind.version>
|
2018-06-05 14:49:26 +00:00
|
|
|
<hibernate.version>5.3.1.Final</hibernate.version>
|
2018-04-06 12:46:02 +00:00
|
|
|
<javax.mail.version>1.4.7</javax.mail.version>
|
|
|
|
<javax.mail-api.version>1.6.0</javax.mail-api.version>
|
|
|
|
<apache.velocity.version>1.7</apache.velocity.version>
|
|
|
|
<docker.registry.name>docker.loafle.net/overflow</docker.registry.name>
|
|
|
|
<googleauth.version>1.1.2</googleauth.version>
|
|
|
|
<fasterxml.uuid.verion>3.1.5</fasterxml.uuid.verion>
|
2018-04-24 10:14:44 +00:00
|
|
|
<httpclient.version>4.5.3</httpclient.version>
|
2018-06-12 09:04:41 +00:00
|
|
|
<seancfoley.ipaddress.version>4.2.0</seancfoley.ipaddress.version>
|
2018-04-06 12:46:02 +00:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2018-06-05 12:56:40 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.loafle.overflow</groupId>
|
|
|
|
<artifactId>central-api</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.loafle.overflow</groupId>
|
|
|
|
<artifactId>commons-java</artifactId>
|
2018-07-02 08:15:11 +00:00
|
|
|
<version>1.0.117-SNAPSHOT</version>
|
2018-06-05 12:56:40 +00:00
|
|
|
</dependency>
|
|
|
|
|
2018-04-25 17:22:19 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.loafle.commons</groupId>
|
|
|
|
<artifactId>rpc-java</artifactId>
|
|
|
|
<version>${commons.rpc-java.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-04-06 12:46:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-netty</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-protobuf</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-stub</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>1.9.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Spring Dependency-->
|
2018-06-05 14:49:26 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-commons</artifactId>
|
|
|
|
<version>${spring.data.jpa.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-04-06 12:46:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
|
|
<version>${spring.data.jpa.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-redis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
|
<artifactId>spring-data-redis</artifactId>
|
|
|
|
<version>${spring.data.redis.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-06-11 12:32:25 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-aspects -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aspects</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-04-06 12:46:02 +00:00
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>9.4-1200-jdbc41</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${hibernate.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-crypto -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-crypto</artifactId>
|
|
|
|
<version>${spring.crypto.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-06-15 08:18:35 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
2018-04-25 17:22:19 +00:00
|
|
|
<dependency>
|
2018-06-15 08:18:35 +00:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson-databind.version}</version>
|
2018-04-24 12:57:05 +00:00
|
|
|
</dependency>
|
|
|
|
|
2018-04-06 12:46:02 +00:00
|
|
|
<!-- Mail -->
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<version>${javax.mail.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>javax.mail-api</artifactId>
|
|
|
|
<version>${javax.mail-api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-04-24 10:14:44 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>${httpclient.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2018-04-06 12:46:02 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
<artifactId>velocity</artifactId>
|
|
|
|
<version>${apache.velocity.version}</version>
|
|
|
|
</dependency>
|
2018-06-05 13:54:12 +00:00
|
|
|
|
2018-04-06 12:46:02 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
<version>1.5</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
<version>${jedis.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
<version>${caffeine.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.warrenstrange</groupId>
|
|
|
|
<artifactId>googleauth</artifactId>
|
|
|
|
<version>${googleauth.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.uuid</groupId>
|
|
|
|
<artifactId>java-uuid-generator</artifactId>
|
|
|
|
<version>${fasterxml.uuid.verion}</version>
|
|
|
|
</dependency>
|
2018-06-12 09:04:41 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.seancfoley</groupId>
|
|
|
|
<artifactId>ipaddress</artifactId>
|
|
|
|
<version>${seancfoley.ipaddress.version}</version>
|
|
|
|
</dependency>
|
2018-04-06 12:46:02 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
2018-06-14 08:53:42 +00:00
|
|
|
<directory>src/main/resources/common</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources/profiles/${activatedProperties}</directory>
|
2018-04-06 12:46:02 +00:00
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
2018-06-15 06:11:14 +00:00
|
|
|
<directory>src/main/resources/common</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/main/resources/profiles/local</directory>
|
2018-04-06 12:46:02 +00:00
|
|
|
<filtering>true</filtering>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
|
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
|
|
<version>1.5.0.Final</version>
|
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<!-- Copy Maven dependencies into target/lib/ -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<includeScope>runtime</includeScope>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
2018-05-14 05:21:03 +00:00
|
|
|
<version>0.5.1</version>
|
2018-04-06 12:46:02 +00:00
|
|
|
<configuration>
|
|
|
|
<protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
|
|
|
|
<pluginId>grpc-java</pluginId>
|
|
|
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>compile-custom</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>${protoc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.loafle.overflow.central.Central</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId>
|
|
|
|
<version>1.3.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>build</id>
|
|
|
|
<goals>
|
|
|
|
<goal>build</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<mainClass>com.loafle.overflow.central.Central</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<repository>${docker.registry.name}/${project.artifactId}</repository>
|
|
|
|
<tag>${project.version}</tag>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!--<plugin>-->
|
|
|
|
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
|
|
|
<!--<artifactId>maven-assembly-plugin</artifactId>-->
|
|
|
|
<!--<version>2.2.1</version>-->
|
|
|
|
<!--<configuration>-->
|
|
|
|
<!--<descriptorRefs>-->
|
|
|
|
<!--<descriptorRef>jar-with-dependencies</descriptorRef>-->
|
|
|
|
<!--</descriptorRefs>-->
|
|
|
|
<!--</configuration>-->
|
|
|
|
<!--</plugin>-->
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>local</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
2018-05-04 07:38:36 +00:00
|
|
|
<activatedProperties>local</activatedProperties>
|
2018-04-06 12:46:02 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>development</id>
|
|
|
|
<properties>
|
2018-05-04 07:38:36 +00:00
|
|
|
<activatedProperties>development</activatedProperties>
|
2018-04-06 12:46:02 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>staging</id>
|
|
|
|
<properties>
|
2018-05-04 07:38:36 +00:00
|
|
|
<activatedProperties>staging</activatedProperties>
|
2018-04-06 12:46:02 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>production</id>
|
|
|
|
<properties>
|
2018-05-04 07:38:36 +00:00
|
|
|
<activatedProperties>production</activatedProperties>
|
2018-04-06 12:46:02 +00:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2018-06-21 10:41:55 +00:00
|
|
|
</project>
|