190 lines
6.8 KiB
XML
190 lines
6.8 KiB
XML
<?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.maven</groupId>
|
|
<artifactId>maven_parent_jar</artifactId>
|
|
<version>1.0.0-RELEASE</version>
|
|
</parent>
|
|
|
|
<groupId>com.loafle.overflow</groupId>
|
|
<artifactId>container_general</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>com.loafle.overflow.container_general</name>
|
|
<description>container_general project</description>
|
|
|
|
<properties>
|
|
<server-java.version>1.0.0-SNAPSHOT</server-java.version>
|
|
<rpc-java.version>1.0.0-SNAPSHOT</rpc-java.version>
|
|
|
|
<overflow.commons-java.version>1.0.0-SNAPSHOT</overflow.commons-java.version>
|
|
<overflow.crawler-java.version>1.0.0-SNAPSHOT</overflow.crawler-java.version>
|
|
<overflow.container-java.version>1.0.0-SNAPSHOT</overflow.container-java.version>
|
|
|
|
<netty.version>4.1.17.Final</netty.version>
|
|
<gson.version>2.8.2</gson.version>
|
|
<spring.version>5.0.5.RELEASE</spring.version>
|
|
|
|
<mysql-connector-java.version>6.0.6</mysql-connector-java.version>
|
|
<postgresql.version>42.1.4</postgresql.version>
|
|
<mssql-jdbc.version>6.2.2.jre8</mssql-jdbc.version>
|
|
|
|
<jacob.version>1.18</jacob.version>
|
|
|
|
<jedis.version>2.9.0</jedis.version>
|
|
|
|
<mongo-java-driver.version>3.6.0</mongo-java-driver.version>
|
|
|
|
<snmp4j.version>2.5.8</snmp4j.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.loafle.commons</groupId>
|
|
<artifactId>server-java</artifactId>
|
|
<version>${server-java.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.loafle.commons</groupId>
|
|
<artifactId>rpc-java</artifactId>
|
|
<version>${rpc-java.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.loafle.overflow</groupId>
|
|
<artifactId>commons-java</artifactId>
|
|
<version>${overflow.commons-java.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.loafle.overflow</groupId>
|
|
<artifactId>crawler-java</artifactId>
|
|
<version>${overflow.crawler-java.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.loafle.overflow</groupId>
|
|
<artifactId>container-java</artifactId>
|
|
<version>${overflow.container-java.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
<version>${netty.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${gson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
|
|
<!-- SQL -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql-connector-java.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresql.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>${mssql-jdbc.version}</version>
|
|
</dependency>
|
|
|
|
<!-- WMI -->
|
|
<dependency>
|
|
<groupId>com.hynnet</groupId>
|
|
<artifactId>jacob</artifactId>
|
|
<version>${jacob.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Redis -->
|
|
<dependency>
|
|
<groupId>redis.clients</groupId>
|
|
<artifactId>jedis</artifactId>
|
|
<version>${jedis.version}</version>
|
|
</dependency>
|
|
|
|
<!-- MongoDB -->
|
|
<dependency>
|
|
<groupId>org.mongodb</groupId>
|
|
<artifactId>mongo-java-driver</artifactId>
|
|
<version>${mongo-java-driver.version}</version>
|
|
</dependency>
|
|
|
|
<!-- SNMP -->
|
|
<dependency>
|
|
<groupId>org.snmp4j</groupId>
|
|
<artifactId>snmp4j</artifactId>
|
|
<version>${snmp4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<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.apache.maven.plugins</groupId>-->
|
|
<!--<artifactId>maven-jar-plugin</artifactId>-->
|
|
<!--<configuration>-->
|
|
<!--<archive>-->
|
|
<!--<manifest>-->
|
|
<!--<mainClass>com.loafle.overflow.container.general.Container</mainClass>-->
|
|
<!--</manifest>-->
|
|
<!--</archive>-->
|
|
<!--</configuration>-->
|
|
<!--</plugin>-->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.loafle.overflow.container.general.Container</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project> |