|
@@ -0,0 +1,326 @@
|
|
|
|
+<?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>
|
|
|
|
+ <repositories>
|
|
|
|
+ <repository>
|
|
|
|
+ <id>jiayue-group</id>
|
|
|
|
+ <name>jiayue maven</name>
|
|
|
|
+ <url>http://49.4.68.219:8888/repository/jiayue-group/</url>
|
|
|
|
+ <releases>
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
+ </releases>
|
|
|
|
+ <snapshots>
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
+ </snapshots>
|
|
|
|
+ </repository>
|
|
|
|
+ </repositories>
|
|
|
|
+
|
|
|
|
+ <groupId>com.jiayue.ipfcst</groupId>
|
|
|
|
+ <artifactId>ipfcst-upload</artifactId>
|
|
|
|
+
|
|
|
|
+ <version>3.3.0</version>
|
|
|
|
+
|
|
|
|
+ <properties>
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
+ <java.version>1.8</java.version>
|
|
|
|
+ <ipfcst.version>3.0</ipfcst.version>
|
|
|
|
+ <aviator.version>5.0.0</aviator.version>
|
|
|
|
+ <fastjson.version>1.2.60</fastjson.version>
|
|
|
|
+ <commons-dbcp2.version>2.5.0</commons-dbcp2.version>
|
|
|
|
+ <jasypt-boot.version>2.1.1</jasypt-boot.version>
|
|
|
|
+ <reflections.version>0.9.10</reflections.version>
|
|
|
|
+ <rxtx.version>18.12.07</rxtx.version>
|
|
|
|
+ <modbus4j.version>3.0.5</modbus4j.version>
|
|
|
|
+ <commons.fileupload.version>1.3</commons.fileupload.version>
|
|
|
|
+ <commons.net.version>3.3</commons.net.version>
|
|
|
|
+ <velocity.version>1.7</velocity.version>
|
|
|
|
+ <netty.version>4.1.22.Final</netty.version>
|
|
|
|
+ <jodatime.version>2.9.9</jodatime.version>
|
|
|
|
+ </properties>
|
|
|
|
+
|
|
|
|
+ <dependencyManagement>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.jiayue.ipfcst</groupId>
|
|
|
|
+ <artifactId>ipfcst</artifactId>
|
|
|
|
+ <version>3.0.0</version>
|
|
|
|
+ <type>pom</type>
|
|
|
|
+ <scope>import</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ </dependencyManagement>
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!--配置文件处理器-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
+ <optional>true</optional>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--jasypt配置文件加解密-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.github.ulisesbocchio</groupId>
|
|
|
|
+ <artifactId>jasypt-spring-boot-starter</artifactId>
|
|
|
|
+ <version>${jasypt-boot.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--Lombok-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
+ <scope>provided</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--测试依赖-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
+ <scope>test</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
|
+ <version>5.3.5</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
|
+ <artifactId>spring-mock</artifactId>
|
|
|
|
+ <version>2.0.8</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.jiayue.ipfcst</groupId>
|
|
|
|
+ <artifactId>ipfcst-common-data</artifactId>
|
|
|
|
+ <version>3.0.0</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.jiayue.ipfcst</groupId>
|
|
|
|
+ <artifactId>ipfcst-common-security</artifactId>
|
|
|
|
+ <version>3.0.0</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
|
+ <artifactId>commons-dbcp2</artifactId>
|
|
|
|
+ <version>${commons-dbcp2.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.googlecode.aviator/aviator -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.googlecode.aviator</groupId>
|
|
|
|
+ <artifactId>aviator</artifactId>
|
|
|
|
+ <version>${aviator.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.reflections</groupId>
|
|
|
|
+ <artifactId>reflections</artifactId>
|
|
|
|
+ <version>${reflections.version}</version>
|
|
|
|
+ <exclusions>
|
|
|
|
+ <exclusion>
|
|
|
|
+ <artifactId>javassist</artifactId>
|
|
|
|
+ <groupId>org.javassist</groupId>
|
|
|
|
+ </exclusion>
|
|
|
|
+ </exclusions>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
|
+ <artifactId>commons-lang3</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>net.sf.ehcache</groupId>
|
|
|
|
+ <artifactId>ehcache</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-undertow</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
|
+ <version>${commons.fileupload.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.velocity</groupId>
|
|
|
|
+ <artifactId>velocity</artifactId>
|
|
|
|
+ <version>${velocity.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
|
+ <artifactId>netty-all</artifactId>
|
|
|
|
+ <version>${netty.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>joda-time</groupId>
|
|
|
|
+ <artifactId>joda-time</artifactId>
|
|
|
|
+ <version>${jodatime.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!--ftp上传下载依赖包-->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>commons-net</groupId>
|
|
|
|
+ <artifactId>commons-net</artifactId>
|
|
|
|
+ <version>${commons.net.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>net.sourceforge.jexcelapi</groupId>
|
|
|
|
+ <artifactId>jxl</artifactId>
|
|
|
|
+ <version>2.6.10</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- SSH安全连接所使用的类库 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.jcraft</groupId>
|
|
|
|
+ <artifactId>jsch</artifactId>
|
|
|
|
+ <version>0.1.55</version>
|
|
|
|
+ <scope>compile</scope>
|
|
|
|
+ <optional>true</optional>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
|
+ <artifactId>commons-compress</artifactId>
|
|
|
|
+ <version>1.5</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.syjy</groupId>
|
|
|
|
+ <artifactId>calculation-spring-boot-starter</artifactId>
|
|
|
|
+ <version>0.0.28</version>
|
|
|
|
+
|
|
|
|
+ <exclusions>
|
|
|
|
+ <exclusion>
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
+ </exclusion>
|
|
|
|
+ </exclusions>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+
|
|
|
|
+ <profiles> <!--考虑到window 和linux环境 npm命令格式的问题,使用maven的profile实现动态指定命令-->
|
|
|
|
+ <profile>
|
|
|
|
+ <id>window</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <npm>npm.cmd</npm>
|
|
|
|
+ </properties>
|
|
|
|
+
|
|
|
|
+ <activation>
|
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
|
+ </activation>
|
|
|
|
+
|
|
|
|
+ </profile>
|
|
|
|
+ <profile>
|
|
|
|
+ <id>linux</id>
|
|
|
|
+ <properties>
|
|
|
|
+ <npm>npm</npm>
|
|
|
|
+ </properties>
|
|
|
|
+ </profile>
|
|
|
|
+ </profiles>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
|
+ <resources>
|
|
|
|
+ <resource>
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
+ <filtering>true</filtering>
|
|
|
|
+ <excludes>
|
|
|
|
+ <exclude>*.keystore</exclude>
|
|
|
|
+ </excludes>
|
|
|
|
+ </resource>
|
|
|
|
+ <resource>
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
+ <includes>
|
|
|
|
+ <include>*.keystore</include>
|
|
|
|
+ </includes>
|
|
|
|
+ </resource>
|
|
|
|
+ </resources>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <version>3.7.0</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${java.version}</source>
|
|
|
|
+ <target>${java.version}</target>
|
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
+ <!--<compilerArgs>-->
|
|
|
|
+ <!--<!– 过期的方法的警告–>-->
|
|
|
|
+ <!--<arg>-Xlint:deprecation</arg>-->
|
|
|
|
+ <!--</compilerArgs>-->
|
|
|
|
+ <compilerArguments>
|
|
|
|
+ <!-- 是否输出所有的编译信息(包括类的加载等)-->
|
|
|
|
+ <!--<verbose />-->
|
|
|
|
+ <!-- 解决maven命令编译报错,因为rt.jar 和jce.jar在jre的lib下面,不在jdk的lib下面,
|
|
|
|
+ 导致maven找不到(java7以后会出现这个问题),将这2个jar包拷贝到jdk的lib下面估计也好使-->
|
|
|
|
+ <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar</bootclasspath>
|
|
|
|
+ </compilerArguments>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <!--跳过test类-->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <version>2.21.0</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <skipTests>true</skipTests>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <!-- 插件maven-clean-plugin,用于在编译前,清除之前编译的文件、文件夹等,避免残留之前的内容 -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
|
+ <version>3.1.0</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <filesets>
|
|
|
|
+ <fileset>
|
|
|
|
+ <!-- 前端资源目录,即:存放前端包目录-->
|
|
|
|
+ <directory>src/main/resources/static</directory>
|
|
|
|
+ </fileset>
|
|
|
|
+ <fileset>
|
|
|
|
+ <!-- Vue项目打包自动生成的dist目录 -->
|
|
|
|
+ <directory>${basedir}/dist</directory>
|
|
|
|
+ </fileset>
|
|
|
|
+ </filesets>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+ <!--上传配置 必须 -->
|
|
|
|
+ <distributionManagement>
|
|
|
|
+ <repository>
|
|
|
|
+ <id>jiayue-releases</id>
|
|
|
|
+ <name>Nexus Release Repository</name>
|
|
|
|
+ <url>http://49.4.68.219:8888/repository/jiayue-releases/</url>
|
|
|
|
+ </repository>
|
|
|
|
+ <snapshotRepository>
|
|
|
|
+ <id>jiayue-snapshots</id>
|
|
|
|
+ <name>Nexus Snapshot Repository</name>
|
|
|
|
+ <url>http://49.4.68.219:8888/repository/jiayue-snapshots/</url>
|
|
|
|
+ </snapshotRepository>
|
|
|
|
+ </distributionManagement>
|
|
|
|
+</project>
|