445 lines
15 KiB
XML
445 lines
15 KiB
XML
|
|
<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>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
|
<version>2.3.0.RELEASE</version>
|
||
|
|
<relativePath/>
|
||
|
|
</parent>
|
||
|
|
|
||
|
|
<groupId>com.wx</groupId>
|
||
|
|
<artifactId>recom-gorse-api</artifactId>
|
||
|
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
|
<name>application</name>
|
||
|
|
<description>后端API</description>
|
||
|
|
|
||
|
|
<properties>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
|
<java.version>1.8</java.version>
|
||
|
|
<fastjson.version>1.2.73</fastjson.version>
|
||
|
|
<druid.version>1.1.6</druid.version>
|
||
|
|
<mybatis.plus.version>3.1.2</mybatis.plus.version>
|
||
|
|
<hutool.version>5.8.4</hutool.version>
|
||
|
|
<maven-jar-plugin.version>3.0.0</maven-jar-plugin.version>
|
||
|
|
<jwt.version>0.10.7</jwt.version>
|
||
|
|
<neo4j.ogm.version>3.2.1</neo4j.ogm.version>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter</artifactId>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-api</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-api</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-devtools</artifactId>
|
||
|
|
<scope>runtime</scope>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- redis -->
|
||
|
|
<!-- <dependency>
|
||
|
|
<groupId>org.redisson</groupId>
|
||
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
||
|
|
<version>3.13.1</version>
|
||
|
|
</dependency> -->
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.projectlombok</groupId>
|
||
|
|
<artifactId>lombok</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>mysql</groupId>
|
||
|
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba</groupId>
|
||
|
|
<artifactId>fastjson</artifactId>
|
||
|
|
<version>${fastjson.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba</groupId>
|
||
|
|
<artifactId>druid</artifactId>
|
||
|
|
<version>${druid.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.baomidou</groupId>
|
||
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
|
|
<version>${mybatis.plus.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>cn.hutool</groupId>
|
||
|
|
<artifactId>hutool-all</artifactId>
|
||
|
|
<version>${hutool.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.commons</groupId>
|
||
|
|
<artifactId>commons-lang3</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>commons-lang</groupId>
|
||
|
|
<artifactId>commons-lang</artifactId>
|
||
|
|
<version>2.6</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.guava</groupId>
|
||
|
|
<artifactId>guava</artifactId>
|
||
|
|
<version>28.0-jre</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>junit</groupId>
|
||
|
|
<artifactId>junit</artifactId>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
|
<scope>test</scope>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.junit.vintage</groupId>
|
||
|
|
<artifactId>junit-vintage-engine</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-api</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!--模板生成引擎 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.baomidou</groupId>
|
||
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
||
|
|
<version>3.2.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.velocity</groupId>
|
||
|
|
<artifactId>velocity-engine-core</artifactId>
|
||
|
|
<version>2.1</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.bouncycastle</groupId>
|
||
|
|
<artifactId>bcprov-jdk16</artifactId>
|
||
|
|
<version>1.46</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!--jwt -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
|
<artifactId>jjwt-api</artifactId>
|
||
|
|
<version>${jwt.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
|
<artifactId>jjwt-impl</artifactId>
|
||
|
|
<version>${jwt.version}</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
|
<artifactId>jjwt-jackson</artifactId>
|
||
|
|
<version>${jwt.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- <dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi</artifactId>
|
||
|
|
<version>4.1.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
||
|
|
<version>4.1.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi-ooxml</artifactId>
|
||
|
|
<version>4.1.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi-scratchpad</artifactId>
|
||
|
|
<version>4.1.0</version>
|
||
|
|
</dependency> -->
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi-scratchpad</artifactId>
|
||
|
|
<version>5.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi</artifactId>
|
||
|
|
<version>5.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi-ooxml</artifactId>
|
||
|
|
<version>5.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.xmlbeans</groupId>
|
||
|
|
<artifactId>xmlbeans</artifactId>
|
||
|
|
<version>5.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.poi</groupId>
|
||
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
||
|
|
<version>4.1.2</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>net.sourceforge.javacsv</groupId>
|
||
|
|
<artifactId>javacsv</artifactId>
|
||
|
|
<version>2.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.baomidou</groupId>
|
||
|
|
<artifactId>kaptcha-spring-boot-starter</artifactId>
|
||
|
|
<version>1.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!--腾讯云依赖包-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.tencent.cloud</groupId>
|
||
|
|
<artifactId>cos-sts-java</artifactId>
|
||
|
|
<version>3.0.6</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.qcloud</groupId>
|
||
|
|
<artifactId>cos_api</artifactId>
|
||
|
|
<version>5.6.19</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.zxing</groupId>
|
||
|
|
<artifactId>core</artifactId>
|
||
|
|
<version>3.4.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.zxing</groupId>
|
||
|
|
<artifactId>javase</artifactId>
|
||
|
|
<version>3.4.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.tencentcloudapi</groupId>
|
||
|
|
<artifactId>tencentcloud-sdk-java</artifactId>
|
||
|
|
<version>3.1.37</version><!-- 注:此处仅为示例版本号,请访问 https://mvnrepository.com/artifact/com.tencentcloudapi/tencentcloud-sdk-java 获取最新版本号并替换 -->
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba</groupId>
|
||
|
|
<artifactId>easyexcel</artifactId>
|
||
|
|
<version>2.1.6</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.carrotsearch</groupId>
|
||
|
|
<artifactId>hppc</artifactId>
|
||
|
|
<version>0.8.2</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.vesoft</groupId>
|
||
|
|
<artifactId>client</artifactId>
|
||
|
|
<version>3.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<finalName>recom-gorse</finalName>
|
||
|
|
<!--需要移除的模块 -->
|
||
|
|
<resources>
|
||
|
|
<resource>
|
||
|
|
<directory>src/main/resources</directory>
|
||
|
|
<filtering>true</filtering>
|
||
|
|
<excludes>
|
||
|
|
<exclude>static/css/**</exclude>
|
||
|
|
<exclude>static/data/**</exclude>
|
||
|
|
<exclude>static/docs/**</exclude>
|
||
|
|
<exclude>static/fonts/**</exclude>
|
||
|
|
<exclude>static/img/**</exclude>
|
||
|
|
<exclude>static/plugins/**</exclude>
|
||
|
|
<exclude>static/view/**</exclude>
|
||
|
|
</excludes>
|
||
|
|
</resource>
|
||
|
|
</resources>
|
||
|
|
<plugins>
|
||
|
|
<!--最后一阶段再移除模板包-->
|
||
|
|
<plugin>
|
||
|
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<excludes>
|
||
|
|
<exclude>_templates/**</exclude>
|
||
|
|
</excludes>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<delimiters>
|
||
|
|
<delimiter>@</delimiter>
|
||
|
|
</delimiters>
|
||
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
||
|
|
</configuration>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<!--转移配置-->
|
||
|
|
<id>copy-application-yml</id>
|
||
|
|
<phase>deploy</phase>
|
||
|
|
<goals>
|
||
|
|
<goal>copy-resources</goal>
|
||
|
|
</goals>
|
||
|
|
<configuration>
|
||
|
|
<outputDirectory>${basedir}/target</outputDirectory>
|
||
|
|
<resources>
|
||
|
|
<resource>
|
||
|
|
<directory>src/main/resources</directory>
|
||
|
|
<includes>
|
||
|
|
<include>config.properties</include>
|
||
|
|
</includes>
|
||
|
|
</resource>
|
||
|
|
</resources>
|
||
|
|
</configuration>
|
||
|
|
</execution>
|
||
|
|
<execution>
|
||
|
|
<id>copy-zips</id>
|
||
|
|
<phase>process-sources</phase>
|
||
|
|
<goals>
|
||
|
|
<goal>copy-resources</goal>
|
||
|
|
</goals>
|
||
|
|
<configuration>
|
||
|
|
<outputDirectory>${basedir}/target/classes</outputDirectory>
|
||
|
|
<resources>
|
||
|
|
<!--拷贝点资源文件进jar-->
|
||
|
|
</resources>
|
||
|
|
</configuration>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<target>${java.version}</target>
|
||
|
|
<source>${java.version}</source>
|
||
|
|
<encoding>UTF-8</encoding>
|
||
|
|
<showWarnings>false</showWarnings>
|
||
|
|
<showDeprecation>false</showDeprecation>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<fork>true</fork>
|
||
|
|
</configuration>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<goals>
|
||
|
|
<goal>repackage</goal>
|
||
|
|
</goals>
|
||
|
|
<configuration>
|
||
|
|
<mainClass>com.wx.application.Application</mainClass>
|
||
|
|
</configuration>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
</plugin>
|
||
|
|
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
<profiles>
|
||
|
|
<profile>
|
||
|
|
<id>dev</id>
|
||
|
|
<properties>
|
||
|
|
<jdbc_url>jdbc:mysql://43.139.83.67:13306/dn_nebula</jdbc_url>
|
||
|
|
<db_username>root</db_username>
|
||
|
|
<db_password>AJuSP7F7VTRvm7rk</db_password>
|
||
|
|
<server_port>4026</server_port>
|
||
|
|
<logs_path>./logs/</logs_path>
|
||
|
|
<mybatis_plus_sql_show_format>true</mybatis_plus_sql_show_format>
|
||
|
|
<upload_graph_path>D:/nebulagraph/</upload_graph_path>
|
||
|
|
<zbx_path>D:/myReadCSV/southeastuniversity/jszb/</zbx_path>
|
||
|
|
<nebula_grap>true</nebula_grap>
|
||
|
|
<nebula_session_host>43.139.83.67</nebula_session_host>
|
||
|
|
<nebula_session_port>9669</nebula_session_port>
|
||
|
|
<nebula_session_username>root</nebula_session_username>
|
||
|
|
<nebula_session_password>123456</nebula_session_password>
|
||
|
|
</properties>
|
||
|
|
<activation>
|
||
|
|
<activeByDefault>true</activeByDefault>
|
||
|
|
</activation>
|
||
|
|
</profile>
|
||
|
|
|
||
|
|
</profiles>
|
||
|
|
</project>
|