123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295 |
- <?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">
- <parent>
- <artifactId>approve-core</artifactId>
- <groupId>com.dragoninfo.dcuc</groupId>
- <version>1.3.0-tjdsj-SNAPSHOT</version>
- </parent>
- <artifactId>approve-core-service</artifactId>
- <modelVersion>4.0.0</modelVersion>
- <dependencies>
- <!--配置 duceap 开始-->
- <!-- 引入duceap-cloud核心包-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-cloud-starter</artifactId>
- <exclusions>
- <exclusion>
- <artifactId>HdrHistogram</artifactId>
- <groupId>org.hdrhistogram</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--基础-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-boot-starter</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-core-repository-jpa</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--flyway模块-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-boot-starter-flyway</artifactId>
- </dependency>
- <!--配置中心-->
- <dependency>
- <groupId>com.dragoninfo</groupId>
- <artifactId>dcuc-duceap-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-cloud-starter-config-apollo</artifactId>
- </dependency>
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-boot-starter-swagger</artifactId>
- </dependency>
- <!--MyBatis-Plus-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-boot-starter-mybatis</artifactId>
- </dependency>
- <!--配置 duceap 结束-->
- <!--配置第三方组件开始-->
- <!--mysql 引入-->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- <!--配置第三方组件结束-->
- <!--配置 spring 开始-->
- <!--配置处理-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <optional>true</optional>
- </dependency>
- <!--kafka审计需要用到-->
- <dependency>
- <groupId>org.springframework.kafka</groupId>
- <artifactId>spring-kafka</artifactId>
- </dependency>
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>sm-tools-api</artifactId>
- </dependency>
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>sm-tools-local</artifactId>
- </dependency>
- <!--对接审计-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>auditlog-qm-tj</artifactId>
- <exclusions>
- <exclusion>
- <artifactId>joda-time</artifactId>
- <groupId>joda-time</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!--对接审计-->
- <!--测试-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <!--配置 spring 结束-->
- <!--redis-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- <version>2.1.8.RELEASE</version>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>2.9.3</version>
- </dependency>
- <dependency>
- <groupId>com.auth0</groupId>
- <artifactId>java-jwt</artifactId>
- <version>3.10.3</version>
- </dependency>
- <!--redis结束-->
- <dependency>
- <groupId>com.dragoninfo.dcuc</groupId>
- <artifactId>approve-api</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>com.dragoninfo</groupId>
- <artifactId>dcuc-app-api</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- </dependency>
- <!--工作流-->
- <!--nosql api依赖开始-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>dcms-mq-client-model</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <!--nosql api依赖结束-->
- <!--kafka-->
- <dependency>
- <groupId>com.dragoninfo</groupId>
- <artifactId>dcuc-duceap-model</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.rholder</groupId>
- <artifactId>guava-retrying</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.dreamhead</groupId>
- <artifactId>moco-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.github.dreamhead</groupId>
- <artifactId>moco-junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>it.ozimov</groupId>
- <artifactId>embedded-redis</artifactId>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <artifactId>slf4j-simple</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>jar</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <properties>
- <project.packaging>jar</project.packaging>
- </properties>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>copy-libs</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <!--<excludeScope>provided</excludeScope>-->
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <!--取消依赖包的时间戳-->
- <useBaseVersion>true</useBaseVersion>
- <!--排除licenseignore包,用来禁用许可开关,防止生产环境通过关闭开关,绕过许可-->
- <!-- <excludeArtifactIds>duceap-support-licenseignore</excludeArtifactIds>-->
- </configuration>
- </execution>
- <execution>
- <id>unpack</id>
- <phase>package</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-base</artifactId>
- <!--根据框架版本修改-->
- <version>${duceap.version}</version>
- <!--<version>2.1.0-SNAPSHOT</version>-->
- <outputDirectory>${project.build.directory}/temp</outputDirectory>
- <!--加入平台的启动脚本-->
- <includes>META-INF/scripts/**</includes>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.5.5</version>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>${project.name}-${project.version}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <!--配置描述文件路径-->
- <descriptor>src/main/assembly/assembly.xml</descriptor>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <archive>
- <manifest>
- <!--运行jar包时运行的主类,要求类全名-->
- <mainClass>com.dragonsoft.dcuc.approve.ApproveApplication</mainClass>
- <addClasspath>true</addClasspath>
- <!--取消MANIFEST.MF中classpath下的时间戳-->
- <useUniqueVersions>false</useUniqueVersions>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.6.0</version>
- <configuration>
- <source>8</source>
- <target>8</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
|