overflow_server/pom.xml

292 lines
11 KiB
XML
Raw Normal View History

2017-06-28 05:19:04 +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>
<groupId>com.loafle</groupId>
<artifactId>maven_parent_jar</artifactId>
<version>1.0.0-RELEASE</version>
</parent>
<groupId>com.loafle.overflow</groupId>
<artifactId>overflow_server</artifactId>
<packaging>jar</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>com.loafle.overflow.overflow_server</name>
<properties>
<grpc.version>1.2.0</grpc.version>
<protoc.version>3.2.0</protoc.version>
2017-06-28 08:55:11 +00:00
<spring.version>4.3.9.RELEASE</spring.version>
<spring.data.jpa.version>1.11.4.RELEASE</spring.data.jpa.version>
<spring.crypto.version>4.2.3.RELEASE</spring.crypto.version>
<hibernate.version>5.2.10.Final</hibernate.version>
<javax.mail.version>1.4.7</javax.mail.version>
<jackson.mapper.version>1.9.13</jackson.mapper.version>
2017-07-28 05:59:18 +00:00
<docker.registry.name></docker.registry.name><!-- leave empty for docker hub; use e.g. "localhost:5000/" for a local docker registry -->
<docker.repository.name>${docker.registry.name}phauer/${project.artifactId}</docker.repository.name>
2017-06-28 05:19:04 +00:00
</properties>
<dependencies>
<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-->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
2017-06-28 08:55:11 +00:00
<version>${spring.data.jpa.version}</version>
2017-06-28 05:19:04 +00:00
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
2017-06-28 08:55:11 +00:00
<version>${spring.version}</version>
2017-06-28 05:19:04 +00:00
<scope>test</scope>
</dependency>
2017-06-28 08:55:11 +00:00
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.version}</version>
</dependency>
2017-06-28 05:19:04 +00:00
<!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.4-1200-jdbc41</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
2017-06-28 08:55:11 +00:00
<version>${jackson.mapper.version}</version>
2017-06-28 05:19:04 +00:00
</dependency>
<!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-entitymanager -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
2017-06-28 08:55:11 +00:00
<version>${hibernate.version}</version>
2017-06-28 05:19:04 +00:00
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
2017-06-28 08:55:11 +00:00
<version>${hibernate.version}</version>
2017-06-28 05:19:04 +00:00
</dependency>
2017-06-28 05:33:51 +00:00
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-crypto -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-crypto</artifactId>
2017-06-28 08:55:11 +00:00
<version>${spring.crypto.version}</version>
</dependency>
<!-- Mail -->
<!-- https://mvnrepository.com/artifact/javax.mail/mail -->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>${javax.mail.version}</version>
2017-06-28 05:33:51 +00:00
</dependency>
2017-08-29 09:35:52 +00:00
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.5</version>
</dependency>
2017-06-28 08:59:33 +00:00
<dependency>
<groupId>com.loafle</groupId>
<artifactId>overflow_api_server</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
2017-08-29 07:43:22 +00:00
<dependency>
<groupId>com.loafle.overflow</groupId>
<artifactId>crawler</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
2017-06-28 05:19:04 +00:00
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<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>
2017-07-31 02:27:39 +00:00
<!-- Copy Maven dependencies into target/lib/ -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
2017-08-09 02:30:33 +00:00
<phase>package</phase>
2017-07-31 02:27:39 +00:00
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<overWriteReleases>false</overWriteReleases>
<includeScope>runtime</includeScope>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
2017-06-28 05:19:04 +00:00
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.5.0</version>
<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>
2017-07-03 09:45:05 +00:00
<plugin>
<groupId>cz.habarta.typescript-generator</groupId>
<artifactId>typescript-generator-maven-plugin</artifactId>
<version>1.25.322</version>
<executions>
<execution>
<id>generate</id>
<goals>
<goal>generate</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<jsonLibrary>jackson2</jsonLibrary>
<classPatterns>
<classPattern>com.loafle.overflow.module.**.model.*</classPattern>
</classPatterns>
<outputKind>module</outputKind>
<outputFileType>implementationFile</outputFileType>
</configuration>
</plugin>
2017-07-28 05:59:18 +00:00
2017-08-07 10:43:20 +00:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>com.loafle.overflow.OFMain</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
2017-07-28 05:59:18 +00:00
<plugin>
<groupId>com.spotify</groupId>
2017-07-31 02:27:39 +00:00
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.3.4</version>
<executions>
<execution>
<id>build</id>
<goals>
<goal>build</goal>
</goals>
<configuration>
2017-08-07 10:43:20 +00:00
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>com.loafle.overflow.OFMain</mainClass>
</manifest>
</archive>
2017-08-07 10:00:15 +00:00
<repository>docker.loafle.net/overflow/${project.artifactId}</repository>
2017-07-31 02:27:39 +00:00
<tag>${project.version}</tag>
</configuration>
</execution>
2017-08-07 10:00:15 +00:00
<!--<execution>-->
<!--<id>tag</id>-->
<!--<goals>-->
<!--<goal>tag</goal>-->
<!--</goals>-->
<!--<configuration>-->
<!--<repository>docker.loafle.net/overflow/${project.artifactId}</repository>-->
<!--<tag>${project.version}</tag>-->
<!--</configuration>-->
<!--</execution>-->
2017-07-31 02:27:39 +00:00
</executions>
2017-07-28 06:05:24 +00:00
</plugin>
2017-07-28 05:59:18 +00:00
2017-07-31 02:27:39 +00:00
<!--<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>-->
2017-07-28 06:05:24 +00:00
2017-06-28 05:19:04 +00:00
</plugins>
</build>
</project>