<?xml version="1.0" encoding="UTF-8"?> <!--suppress MavenModelInspection --> <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/maven-v4_0_0.xsd"> <parent> <artifactId>hls-support</artifactId> <groupId>com.hand.hls</groupId> <version>1.0-RELEASE</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>core</artifactId> <packaging>war</packaging> <name>core</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>com.hand.hls</groupId> <artifactId>postmsg-ump</artifactId> <version>5.1</version> </dependency> <!-- cmb需要的base64 --> <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec --> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.15</version> </dependency> <dependency> <groupId>com.chinapay.secss</groupId> <artifactId>chinapaysecure1_5</artifactId> <version>1.5</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/chinapaysecure1_5.jar </systemPath> </dependency> <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.54</version> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <!-- https://mvnrepository.com/artifact/dom4j/dom4j --> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.5</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.hand</groupId> <artifactId>hap</artifactId> <type>war</type> <version>${hap.version}</version> </dependency> <dependency> <groupId>com.hand</groupId> <artifactId>hap</artifactId> <version>${hap.version}</version> <classifier>classes</classifier> <scope>provided</scope> </dependency> <!-- jinge electronic signature--> <dependency> <groupId>com.eleSign</groupId> <artifactId>aelectronic-Signature</artifactId> <version>1.0.0</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/API.jar </systemPath> </dependency> <dependency> <groupId>xom</groupId> <artifactId>xom</artifactId> <version>1.2.5</version> </dependency> <!--com.alibaba--> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.83</version> </dependency> <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.9.2</version> </dependency> <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.9.9</version> </dependency> <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.9.9</version> </dependency> <dependency> <groupId>com.github.binarywang</groupId> <artifactId>weixin-java-cp</artifactId> <version>2.9.0</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/weixin-java-cp-2.9.0.jar</systemPath> </dependency> <dependency> <groupId>com.github.binarywang</groupId> <artifactId>weixin-java-mp</artifactId> <version>2.9.0</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.4.3</version> </dependency> <dependency> <groupId>net.coobird</groupId> <artifactId>thumbnailator</artifactId> <version>0.4.8</version> </dependency> <!-- e签宝快捷签依赖--> <dependency> <groupId>com.timevale</groupId> <artifactId>esign-sdk</artifactId> <version>2.0.19</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/tech-sdk-2.0.19.jar </systemPath> </dependency> <dependency> <groupId>com.timevale</groupId> <artifactId>tgtext</artifactId> <version>3.2.0</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/tgtext-3.2.0.jar </systemPath> </dependency> <dependency> <groupId>com.timevale</groupId> <artifactId>utils</artifactId> <version>3.0.6-SANPSHOT</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/utils-3.0.6-SNAPSHOT.jar </systemPath> </dependency> <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcmail-jdk15on --> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcmail-jdk15on</artifactId> <version>1.47</version> </dependency> <!-- https://mvnrepository.com/artifact/com.google.zxing/javase --> <dependency> <groupId>com.google.zxing</groupId> <artifactId>javase</artifactId> <version>3.3.0</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.5.2</version> </dependency> <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.2.4</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox --> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.4</version> </dependency> <!-- end e签宝--> <dependency> <groupId>com.hand.hls</groupId> <artifactId>ems-send</artifactId> <version>1.2.8</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/ems-send.jar</systemPath> </dependency> <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>1.4.15</version> </dependency> <dependency> <groupId>com.hand.hls</groupId> <artifactId>postmsg-ump</artifactId> <version>5.1</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/postmsg-ump-5.1.jar</systemPath> </dependency> <dependency> <groupId>com.hand.hls</groupId> <artifactId>api-sdk</artifactId> <version>1.9.89</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/api-sdk-1.9.89.jar</systemPath> </dependency> <!--ftp --> <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>0.1.51</version> </dependency> <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>3.2.3</version> </dependency> <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-dysmsapi</artifactId> <version>1.0.0-SANPSHOT</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/aliyun-java-sdk-dysmsapi-1.0.0-SANPSHOT.jar </systemPath> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> <version>1.65.01</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/bcprov-jdk15on-1.65.01.jar </systemPath> </dependency> <dependency> <groupId>com.rfp</groupId> <artifactId>rfsp-api</artifactId> <version>1.6</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/rfsp-api-1.6.jar </systemPath> </dependency> <dependency> <groupId>com.chinapay.secss</groupId> <artifactId>chinapaysecure1_5</artifactId> <version>1.5</version> <scope>system</scope> <systemPath> ${project.basedir}/src/main/webapp/WEB-INF/lib/chinapaysecure1_5.jar </systemPath> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>RELEASE</version> </dependency> <dependency> <groupId>com.baidu.aip</groupId> <artifactId>java-sdk</artifactId> <version>4.12.0</version> </dependency> <!--Spring--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>4.3.29.RELEASE</version> </dependency> <!-- websocket --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-websocket</artifactId> <version>4.3.29.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-messaging</artifactId> <version>4.3.29.RELEASE</version> </dependency> <!-- <dependency> <groupId>com.hand</groupId> <artifactId>hap-db</artifactId> <version>${hap.version}</version> </dependency> --> </dependencies> <build> <finalName>core</finalName> <resources> <resource> <directory>src/main/java/</directory> <filtering>true</filtering> <includes> <include>**/*.groovy</include> <include>**/*.xml</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>**/*.xml</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> <include>**/*.properties</include> </includes> </resource> <resource> <directory>src/main/resources/profiles/${profile.env}</directory> <filtering>true</filtering> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.liquibase</groupId> <artifactId>liquibase-maven-plugin</artifactId> <version>3.4.2</version> <configuration> <skip>${skipLiquibaseRun}</skip> </configuration> <dependencies> <!-- http://mvnrepository.com/artifact/com.oracle/ojdbc14 --> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc7</artifactId> <version>12.1.0.1.0</version> </dependency> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <version>4.2</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.34</version> </dependency> <dependency> <groupId>org.liquibase</groupId> <artifactId>liquibase-groovy-dsl</artifactId> <version>1.2.1</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-xml</artifactId> <version>2.4.6</version> </dependency> <dependency> <groupId>com.hand</groupId> <artifactId>hap-db</artifactId> <version>${hap.version}</version> </dependency> <dependency> <groupId>com.hand.hls</groupId> <artifactId>core-db</artifactId> <version>1.0-RELEASE</version> </dependency> </dependencies> <executions> <execution> <id>clearCheckSums</id> <phase>process-resources</phase> <configuration> <driver>${db.driver}</driver> <url>${db.url}</url> <username>${db.user}</username> <password>${db.password}</password> <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase> </configuration> <goals> <goal>clearCheckSums</goal> </goals> </execution> <execution> <id>update</id> <phase>process-resources</phase> <configuration> <changeLogFile>hls/support/core/db/liquibase.groovy</changeLogFile> <driver>${db.driver}</driver> <url>${db.url}</url> <username>${db.user}</username> <password>${db.password}</password> <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase> </configuration> <goals> <goal>update</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.6</version> <configuration> <attachClasses>true</attachClasses> <overlays> <overlay> <groupId>com.hand</groupId> <artifactId>hap</artifactId> <excludes> <exclude>WEB-INF/lib/httpclient-4.3.6.jar</exclude> <exclude>WEB-INF/lib/httpcore-4.3.3.jar</exclude> <exclude>WEB-INF/lib/xstream-1.4.1.jar</exclude> <exclude>WEB-INF/lib/jackson-databind-2.8.8.jar</exclude> <exclude>WEB-INF/lib/jackson-core-2.8.8.jar</exclude> <exclude>WEB-INF/lib/jackson-annotations-2.8.8.jar</exclude> <exclude>WEB-INF/lib/spring-aop-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-beans-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-context-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-context-support-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-core-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-expression-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-jdbc-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-messaging-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-test-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-tx-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-web-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-webmvc-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/spring-websocket-4.3.11.RELEASE.jar</exclude> <exclude>WEB-INF/lib/bcprov-jdk15on-1.47.jar</exclude> <exclude>WEB-INF/lib/bcprov-jdk15-1.45.jar</exclude> </excludes> </overlay> </overlays> </configuration> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>9.2.11.v20150529</version> <configuration> <webAppConfig> <allowDuplicateFragmentNames>true</allowDuplicateFragmentNames> </webAppConfig> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>dev</id> <activation> </activation> <properties> <profile.env>dev</profile.env> </properties> </profile> <profile> <id>sit</id> <activation> </activation> <properties> <profile.env>sit</profile.env> </properties> </profile> <profile> <id>uat</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <profile.env>uat</profile.env> </properties> </profile> </profiles> </project>