123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189 |
- <?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>
- <groupId>com.dragonsoft.dcuc</groupId>
- <artifactId>approve-gateway</artifactId>
- <version>1.0.1-SNAPSHOT</version>
- <name>approve-gateway</name>
- <description>approve-gateway</description>
- <properties>
- <java.version>1.8</java.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <!-- 导入duceap-cloud 2.1 POM定义-->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-cloud-parent</artifactId>
- <version>2.1.0-SNAPSHOT</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <artifactId>approve-common</artifactId>
- <groupId>com.dragonsoft.dcuc</groupId>
- <version>1.0.0-SNAPSHOT</version>
- <exclusions>
- <exclusion>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-boot-starter-web</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-cloud-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-zuul</artifactId>
- <version>2.0.0.M2</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- dcuc登陆 -->
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-security-dcuc</artifactId>
- </dependency>
- <dependency>
- <groupId>com.dragonsoft</groupId>
- <artifactId>duceap-security-dids</artifactId>
- </dependency>
- </dependencies>
- <repositories>
- <repository>
- <id>duceap-releases</id>
- <name>Team Nexus Release Repository</name>
- <url>http://192.168.6.13:8081/nexus/content/groups/public</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- </repositories>
- <distributionManagement>
- <snapshotRepository>
- <id>duceap-snapshots</id>
- <name>Team Nexus Snapshot Repository</name>
- <url>http://192.168.6.13:8081/nexus/content/repositories/duceap-snapshots</url>
- <uniqueVersion>false</uniqueVersion>
- </snapshotRepository>
- </distributionManagement>
- <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>2.1.0-SNAPSHOT</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.approvegateway.ApproveGatewayApplication</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>
|