- <?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>com.ningdatech</groupId>
- <artifactId>project-management</artifactId>
- <version>1.0.0</version>
- </parent>
- <artifactId>pmapi</artifactId>
- <version>1.0.0</version>
- <properties>
- <jjwt.version>0.11.5</jjwt.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
- <dependency>
- <groupId>cn.hutool</groupId>
- <artifactId>hutool-all</artifactId>
- <version>5.8.5</version>
- </dependency>
- <!--lombok-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </dependency>
- <!-- mybatis plus-->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- </dependency>
- <!--Spring boot Redis-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-extension</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.session</groupId>
- <artifactId>spring-session-data-redis</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- </dependency>
- <!--spring boot 集成redis所需common-pool2-->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- <version>${commons-pool2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-validation</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-jdbc</artifactId>
- </dependency>
- <!--实现springboot的热加载-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <optional>true</optional>
- <scope>true</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</artifactId>
- </dependency>
- <!--cache-->
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- </dependency>
- <!-- 阿里云oss -->
- <dependency>
- <groupId>com.aliyun.oss</groupId>
- <artifactId>aliyun-sdk-oss</artifactId>
- <version>3.15.0</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- </dependency>
- <!--Spring boot 测试-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- </dependency>
- <!--引入jwt-->
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>java-jwt</artifactId>
- <version>3.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-log-starter</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-basic</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-swagger2-starter</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-zwdd-starter</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- </exclusions>
- <version>1.0.0</version>
- </dependency>
-
- <!--KingBase-->
- <dependency>
- <groupId>com.kingbase8</groupId>
- <artifactId>kingbase8-8.2.0</artifactId>
- <version>8.2.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/src/lib/kingbase8-8.2.0.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-cache-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-irs-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-yxt-starter</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>easyexcel-core</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-file-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.ningdatech</groupId>
- <artifactId>nd-flowable-starter</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.alibaba</groupId>
- <artifactId>druid-spring-boot-starter</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--浙政钉-->
- <dependency>
- <groupId>com.alibaba.xxpt</groupId>
- <artifactId>zwdd</artifactId>
- <version>1.2.0</version>
- <scope>system</scope>
- <systemPath>${basedir}/src/lib/zwdd-sdk-java-1.2.0.jar</systemPath>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- </dependency>
- <!--状态机-->
- <dependency>
- <groupId>org.springframework.statemachine</groupId>
- <artifactId>spring-statemachine-core</artifactId>
- </dependency>
-
- <!-- PDF生成 -->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itextpdf</artifactId>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>itext-asian</artifactId>
- </dependency>
- <dependency>
- <groupId>com.itextpdf.tool</groupId>
- <artifactId>xmlworker</artifactId>
- </dependency>
- <dependency>
- <groupId>org.xhtmlrenderer</groupId>
- <artifactId>flying-saucer-pdf-itext5</artifactId>
- </dependency>
- <!--将html转换成pdf-->
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>html2pdf</artifactId>
- </dependency>
- <!--导入导出-->
- <dependency>
- <groupId>cn.afterturn</groupId>
- <artifactId>easypoi-base</artifactId>
- </dependency>
- <dependency>
- <groupId>com.agent</groupId>
- <artifactId>agent-boot</artifactId>
- <version>1.3.22</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/agent-boot-1.3.22.0215.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.agent</groupId>
- <artifactId>agent-boot</artifactId>
- <version>1.3.22</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/agent-boot-1.3.22.0215.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.suwell</groupId>
- <artifactId>suwell-agent-http</artifactId>
- <version>1.7</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/suwell-agent-http-1.7.220630.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.suwell</groupId>
- <artifactId>suwell-agent-wrapper</artifactId>
- <version>1.6</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/suwell-agent-wrapper-1.6.221208.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.29</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/slf4j-api-1.7.29.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.httpclient</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5.13</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/httpclient-4.5.13.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.httpcore</groupId>
- <artifactId>httpcore</artifactId>
- <version>4.4.13</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/httpcore-4.4.13.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.httpmime</groupId>
- <artifactId>httpmime</artifactId>
- <version>4.5.13</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/httpmime-4.5.13.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.jbArchivesTools</groupId>
- <artifactId>jbArchivesTools</artifactId>
- <version>1.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/jbArchivesTools-1.0-SNAPSHOT.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.suwell</groupId>
- <artifactId>suwell-convert-base</artifactId>
- <version>1.5.19</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/suwell-convert-base-1.5.19.0408.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.8.0</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/gson-2.8.0.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.suwell</groupId>
- <artifactId>suwell-rpc-manager-client</artifactId>
- <version>2.7</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/suwell-rpc-manager-client-2.7.211125.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.suwell</groupId>
- <artifactId>suwell-packet-wrapper</artifactId>
- <version>1.21</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/suwell-packet-wrapper-1.21.230306.jar</systemPath>
- </dependency>
-
- <dependency>
- <groupId>com.dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>2.0.2</version>
- <scope>system</scope>
- <systemPath>${project.basedir}/lib/dom4j-2.0.2.jar</systemPath>
- </dependency>
-
- </dependencies>
- <!-- 打包 -->
- <!--配置环境的profile-->
- <profiles>
- <profile>
- <id>dev</id>
- <properties>
- <!--使用${environment}获取值-->
- <environment>dev</environment>
- </properties>
- </profile>
- <profile>
- <id>test</id>
- <properties>
- <environment>test</environment>
- </properties>
- </profile>
- <profile>
- <id>pre</id>
- <properties>
- <environment>pre</environment>
- </properties>
- </profile>
- <profile>
- <id>prod</id>
- <properties>
- <environment>prod</environment>
- </properties>
- </profile>
- </profiles>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/java</directory>
- <includes>
- <include>**/*.xml</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/lib</directory>
- <targetPath>BOOT-INF/lib/</targetPath>
- <includes>
- <include>**/*.jar</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <targetPath>BOOT-INF/classes/</targetPath>
- </resource>
- </resources>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>2.6.8</version>
- <configuration>
- <includeSystemScope>true</includeSystemScope>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- 跳过单元测试 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- </project>
|