|
@@ -1,169 +1,168 @@
|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
- <parent>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>2.1.2.RELEASE</version>
|
|
|
- <relativePath/> <!-- lookup parent from repository -->
|
|
|
- </parent>
|
|
|
- <groupId>com.lantone.qc.kernel</groupId>
|
|
|
- <artifactId>kernel</artifactId>
|
|
|
- <version>0.0.1</version>
|
|
|
- <name>kernel</name>
|
|
|
- <description>Demo project for Spring Boot</description>
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <parent>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
+ <version>2.1.2.RELEASE</version>
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ </parent>
|
|
|
+ <groupId>com.lantone.qc.kernel</groupId>
|
|
|
+ <artifactId>kernel</artifactId>
|
|
|
+ <version>0.0.1</version>
|
|
|
+ <name>kernel</name>
|
|
|
+ <description>Demo project for Spring Boot</description>
|
|
|
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
- <java.version>1.8</java.version>
|
|
|
- <swagger2.version>2.7.0</swagger2.version>
|
|
|
- <slf4j.version>1.7.2</slf4j.version>
|
|
|
- <commons-lang3.version>3.1</commons-lang3.version>
|
|
|
- <commons-io.version>2.4</commons-io.version>
|
|
|
- </properties>
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <swagger2.version>2.7.0</swagger2.version>
|
|
|
+ <slf4j.version>1.7.2</slf4j.version>
|
|
|
+ <commons-lang3.version>3.1</commons-lang3.version>
|
|
|
+ <commons-io.version>2.4</commons-io.version>
|
|
|
+ </properties>
|
|
|
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>com.lantone.qc</groupId>
|
|
|
- <artifactId>public</artifactId>
|
|
|
- <version>1.0</version>
|
|
|
- </dependency>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.lantone.qc</groupId>
|
|
|
+ <artifactId>public</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.lantone.qc</groupId>
|
|
|
- <artifactId>security</artifactId>
|
|
|
- <version>1.0</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.lantone.qc</groupId>
|
|
|
+ <artifactId>security</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.lantone.qc</groupId>
|
|
|
- <artifactId>nlp</artifactId>
|
|
|
- <version>1.0</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.lantone.qc</groupId>
|
|
|
+ <artifactId>nlp</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>com.lantone.qc</groupId>
|
|
|
- <artifactId>trans</artifactId>
|
|
|
- <version>1.0</version>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.lantone.qc</groupId>
|
|
|
+ <artifactId>trans</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- LOGGING begin -->
|
|
|
- <!-- 代码直接调用commons-logging会被桥接到slf4j -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>jcl-over-slf4j</artifactId>
|
|
|
- <version>${slf4j.version}</version>
|
|
|
- </dependency>
|
|
|
+ <!-- LOGGING begin -->
|
|
|
+ <!-- 代码直接调用commons-logging会被桥接到slf4j -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>jcl-over-slf4j</artifactId>
|
|
|
+ <version>${slf4j.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>jul-to-slf4j</artifactId>
|
|
|
- <version>${slf4j.version}</version>
|
|
|
- </dependency>
|
|
|
+ <!-- 代码直接调用java.util.logging会被桥接到slf4j -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>jul-to-slf4j</artifactId>
|
|
|
+ <version>${slf4j.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-swagger2</artifactId>
|
|
|
- <version>${swagger2.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-swagger-ui</artifactId>
|
|
|
- <version>${swagger2.version}</version>
|
|
|
- </dependency>
|
|
|
- <!-- 开启feign-->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
- <version>2.1.0.RELEASE</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
- </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger2</artifactId>
|
|
|
+ <version>${swagger2.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger-ui</artifactId>
|
|
|
+ <version>${swagger2.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 开启feign-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
+ <version>2.1.0.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
- <groupId>net.sourceforge.jexcelapi</groupId>
|
|
|
- <artifactId>jxl</artifactId>
|
|
|
- <version>2.6.10</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.oracle</groupId>
|
|
|
- <artifactId>ojdbc6</artifactId>
|
|
|
- <version>11.2.0.3</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sourceforge.jexcelapi</groupId>
|
|
|
+ <artifactId>jxl</artifactId>
|
|
|
+ <version>2.6.10</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.oracle</groupId>
|
|
|
+ <artifactId>ojdbc6</artifactId>
|
|
|
+ <version>11.2.0.3</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
|
|
|
- <!-- 私有仓库 -->
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>nexus-releases</id>
|
|
|
- <name>Nexus Release Repository</name>
|
|
|
- <url>http://192.168.2.236:8081/repository/maven-releases/</url>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
- <!-- 私有仓库 -->
|
|
|
- <pluginRepositories>
|
|
|
- <pluginRepository>
|
|
|
- <id>nexus-releases</id>
|
|
|
- <name>Nexus Release Repository</name>
|
|
|
- <url>http://192.168.2.236:8081/repository/maven-releases/</url>
|
|
|
- <releases>
|
|
|
- <enabled>true</enabled>
|
|
|
- </releases>
|
|
|
- <snapshots>
|
|
|
- <enabled>true</enabled>
|
|
|
- </snapshots>
|
|
|
- </pluginRepository>
|
|
|
- </pluginRepositories>
|
|
|
+ <!-- 私有仓库 -->
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>nexus-releases</id>
|
|
|
+ <name>Nexus Release Repository</name>
|
|
|
+ <url>http://192.168.2.236:8081/repository/maven-releases/</url>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+ <!-- 私有仓库 -->
|
|
|
+ <pluginRepositories>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>nexus-releases</id>
|
|
|
+ <name>Nexus Release Repository</name>
|
|
|
+ <url>http://192.168.2.236:8081/repository/maven-releases/</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </pluginRepository>
|
|
|
+ </pluginRepositories>
|
|
|
+ <distributionManagement>
|
|
|
+ <repository>
|
|
|
+ <id>nexus-releases</id>
|
|
|
+ <name>Nexus Release Repository</name>
|
|
|
+ <url>http://192.168.2.236:8081/repository/maven-releases/</url>
|
|
|
+ </repository>
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>nexus-snapshots</id>
|
|
|
+ <name>Nexus Snapshot Repository</name>
|
|
|
+ <url>http://192.168.2.236:8081/repository/maven-snapshots/</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ </distributionManagement>
|
|
|
|
|
|
- <distributionManagement>
|
|
|
- <repository>
|
|
|
- <id>nexus-releases</id>
|
|
|
- <name>Nexus Release Repository</name>
|
|
|
- <url>http://192.168.2.236:8081/repository/maven-releases/</url>
|
|
|
- </repository>
|
|
|
- <snapshotRepository>
|
|
|
- <id>nexus-snapshots</id>
|
|
|
- <name>Nexus Snapshot Repository</name>
|
|
|
- <url>http://192.168.2.236:8081/repository/maven-snapshots/</url>
|
|
|
- </snapshotRepository>
|
|
|
- </distributionManagement>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/java</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.properties</include>
|
|
|
+ <include>**/*.xml</include>
|
|
|
+ <include>**/*.json</include>
|
|
|
+ </includes>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.*</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <finalName>qc-web</finalName>
|
|
|
+ </build>
|
|
|
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>src/main/java</directory>
|
|
|
- <includes>
|
|
|
- <include>**/*.properties</include>
|
|
|
- <include>**/*.xml</include>
|
|
|
- <include>**/*.json</include>
|
|
|
- </includes>
|
|
|
- <filtering>false</filtering>
|
|
|
- </resource>
|
|
|
- <resource>
|
|
|
- <directory>src/main/resources</directory>
|
|
|
- <includes>
|
|
|
- <include>**/*.*</include>
|
|
|
- </includes>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- <finalName>qc-web</finalName>
|
|
|
- </build>
|
|
|
-
|
|
|
-</project>
|
|
|
+</project>
|