<?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> <artifactId>attendance-performance-manager</artifactId> <packaging>jar</packaging> <description>考勤绩效管理平台</description> <parent> <groupId>com.mortals.xhx</groupId> <artifactId>attendance-performance-platform</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <properties> <!-- 默认值 --> <profiles.server.debug></profiles.server.debug> <profiles.server.port>17500</profiles.server.port> <profiles.server.path>/attendance</profiles.server.path> <profiles.log.path>/home/mortals/app/logs</profiles.log.path> <profiles.log.level>info</profiles.log.level> <profiles.publish.path>/home/publish</profiles.publish.path> <profiles.hik.host></profiles.hik.host> <profiles.hik.protocol></profiles.hik.protocol> <profiles.hik.appKey></profiles.hik.appKey> <profiles.hik.appSecret></profiles.hik.appSecret> <profiles.dingtalk.domain></profiles.dingtalk.domain> <profiles.dingtalk.oaScheme></profiles.dingtalk.oaScheme> <profiles.dingtalk.oaUrl></profiles.dingtalk.oaUrl> <profiles.dingtalk.agentId></profiles.dingtalk.agentId> <profiles.dingtalk.appKey></profiles.dingtalk.appKey> <profiles.dingtalk.appSecret></profiles.dingtalk.appSecret> <profiles.dingtalk.aesKey></profiles.dingtalk.aesKey> <profiles.dingtalk.token></profiles.dingtalk.token> <profiles.dingtalk.opUserId></profiles.dingtalk.opUserId> <profiles.webUrl></profiles.webUrl> <package.environment>build</package.environment> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> </properties> <profiles> <profile> <id>develop</id> <properties> <profiles.active>develop</profiles.active> <profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr> <profiles.sms.smsSendUrl>http://127.0.0.1:8089/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>k6BVS1PEbyzcJAE4</profiles.sms.apiId> <skipUi>ture</skipUi> </properties> </profile> <profile> <id>test</id> <properties> <profiles.active>test</profiles.active> <profiles.server.debug>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=51750</profiles.server.debug> <profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.sms.smsSendUrl>http://sms.wx3.com.cn/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>ADsUXLrS81vZDU95</profiles.sms.apiId> <profiles.hik.host>8.136.255.30:8001</profiles.hik.host> <profiles.hik.protocol>http://</profiles.hik.protocol> <profiles.hik.appKey>25128371</profiles.hik.appKey> <profiles.hik.appSecret>2m9RcPJOKq5j2QPQM4v5</profiles.hik.appSecret> <profiles.dingtalk.domain>https://oapi.dingtalk.com</profiles.dingtalk.domain> <profiles.dingtalk.oaScheme>https</profiles.dingtalk.oaScheme> <profiles.dingtalk.oaUrl>api.dingtalk.com</profiles.dingtalk.oaUrl> <profiles.dingtalk.agentId>2652674890</profiles.dingtalk.agentId> <profiles.dingtalk.appKey>dingpqzradgfr4efdi2j</profiles.dingtalk.appKey> <profiles.dingtalk.appSecret>bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd</profiles.dingtalk.appSecret> <profiles.dingtalk.aesKey>1QcPYuSpAc98OS3qQwwx5HPH85CZDidxF95yBGad2fJ</profiles.dingtalk.aesKey> <profiles.dingtalk.token>m3WeuVx5kcTY76kh22uWZOTSu0XjvcwNhd</profiles.dingtalk.token> <profiles.dingtalk.opUserId>254868153920685466</profiles.dingtalk.opUserId> <profiles.webUrl>http://8.136.255.30:11039/attendance</profiles.webUrl> <skipUi>ture</skipUi> </properties> </profile> <profile> <id>product</id> <properties> <profiles.active>product</profiles.active> <profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.sms.smsSendUrl>http://127.0.0.1:8089/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>k6BVS1PEbyzcJAE4</profiles.sms.apiId> <profiles.hik.host>8.136.255.30:8001</profiles.hik.host> <profiles.hik.protocol>http://</profiles.hik.protocol> <profiles.hik.appKey>25128371</profiles.hik.appKey> <profiles.hik.appSecret>2m9RcPJOKq5j2QPQM4v5</profiles.hik.appSecret> <profiles.dingtalk.domain>https://oapi.dingtalk.com</profiles.dingtalk.domain> <profiles.dingtalk.oaUrl>api.dingtalk.com</profiles.dingtalk.oaUrl> <profiles.dingtalk.agentId>2652674890</profiles.dingtalk.agentId> <profiles.dingtalk.appKey>dingpqzradgfr4efdi2j</profiles.dingtalk.appKey> <profiles.dingtalk.appSecret>bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd</profiles.dingtalk.appSecret> <profiles.dingtalk.aesKey>1QcPYuSpAc98OS3qQwwx5HPH85CZDidxF95yBGad2fJ</profiles.dingtalk.aesKey> <profiles.dingtalk.token>m3WeuVx5kcTY76kh22uWZOTSu0XjvcwNhd</profiles.dingtalk.token> <profiles.dingtalk.opUserId>254868153920685466</profiles.dingtalk.opUserId> <profiles.webUrl>http://8.136.255.30:21039/attendance</profiles.webUrl> <package.environment>build</package.environment> <skipUi>ture</skipUi> </properties> </profile> <profile> <id>yibin</id> <properties> <profiles.active>yibin</profiles.active> <profiles.nacos.server-addr>172.15.28.120:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.sms.smsSendUrl>http://172.15.28.113:8901/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>ADsUXLrS81vZDU95</profiles.sms.apiId> <profiles.hik.host>10.12.177.245:443</profiles.hik.host> <profiles.hik.protocol>https://</profiles.hik.protocol> <profiles.hik.appKey>25128371</profiles.hik.appKey> <profiles.hik.appSecret>2m9RcPJOKq5j2QPQM4v5</profiles.hik.appSecret> <profiles.dingtalk.domain>http://172.15.28.113:8918</profiles.dingtalk.domain> <profiles.dingtalk.oaScheme>http</profiles.dingtalk.oaScheme> <profiles.dingtalk.oaUrl>172.15.28.113:8919</profiles.dingtalk.oaUrl> <profiles.dingtalk.agentId>2652674890</profiles.dingtalk.agentId> <profiles.dingtalk.appKey>dingpqzradgfr4efdi2j</profiles.dingtalk.appKey> <profiles.dingtalk.appSecret>bF2WALmo5_Wuj3hg5gXeWqezrYnZChUJ88HjzNWpkA9ivdOxfBDGOGYcfVRfB3vd</profiles.dingtalk.appSecret> <profiles.dingtalk.aesKey>1QcPYuSpAc98OS3qQwwx5HPH85CZDidxF95yBGad2fJ</profiles.dingtalk.aesKey> <profiles.dingtalk.token>m3WeuVx5kcTY76kh22uWZOTSu0XjvcwNhd</profiles.dingtalk.token> <profiles.dingtalk.opUserId>254868153920685466</profiles.dingtalk.opUserId> <profiles.webUrl>https://ybswxxcx.zwfwhfgjjfzj.yibin.gov.cn/performance-h5</profiles.webUrl> <package.environment>build</package.environment> <skipUi>ture</skipUi> </properties> </profile> <profile> <id>reg</id> <properties> <profiles.active>reg</profiles.active> <profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.sms.smsSendUrl>http://sms.wx3.com.cn/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>ADsUXLrS81vZDU95</profiles.sms.apiId> <profiles.hik.host>10.207.153.105:443</profiles.hik.host> <profiles.hik.protocol>https://</profiles.hik.protocol> <profiles.hik.appKey>25594054</profiles.hik.appKey> <profiles.hik.appSecret>K12IkZoSLxpsJjrUPtfV</profiles.hik.appSecret> <package.environment>build</package.environment> <skipUi>true</skipUi> </properties> </profile> <profile> <id>yanyuan</id> <properties> <profiles.active>yanyuan</profiles.active> <profiles.nacos.server-addr>172.16.30.245:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.sms.smsSendUrl>http://sms.wx3.com.cn/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>ADsUXLrS81vZDU95</profiles.sms.apiId> <profiles.hik.host>172.16.30.240:443</profiles.hik.host> <profiles.hik.protocol>https://</profiles.hik.protocol> <profiles.hik.appKey>25444489</profiles.hik.appKey> <profiles.hik.appSecret>QoBF7sD2zrKHabqmeoEP</profiles.hik.appSecret> <package.environment>build</package.environment> <skipUi>true</skipUi> </properties> </profile> <profile> <id>pengxi</id> <properties> <profiles.active>pengxi</profiles.active> <profiles.nacos.server-addr>192.168.106.6:8848</profiles.nacos.server-addr> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.sms.smsSendUrl>http://sms.wx3.com.cn/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>ADsUXLrS81vZDU95</profiles.sms.apiId> <skipUi>true</skipUi> </properties> </profile> <profile> <id>bzjkq</id> <properties> <profiles.active>bzjkq</profiles.active> <profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr> <profiles.sms.smsSendUrl>http://sms.wx3.com.cn/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.apiId>ADsUXLrS81vZDU95</profiles.sms.apiId> </properties> </profile> </profiles> <dependencies> <dependency> <groupId>com.mortals.xhx</groupId> <artifactId>common-lib</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> <version>2.5.2</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-redis</artifactId> </dependency> <!--Token生成与解析--> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> </dependency> <dependency> <groupId>com.hikvision.ga</groupId> <artifactId>artemis-http-client</artifactId> <version>1.1.8</version> <!-- <systemPath>${project.basedir}/src/main/resources/lib/artemis-http-client-1.1.8.jar</systemPath>--> </dependency> <!--dingdingtalk sdk--> <dependency> <groupId>com.aliyun</groupId> <artifactId>dingtalk</artifactId> <version>2.0.22</version> </dependency> <!--dingdingtalk service sdk--> <dependency> <groupId>com.aliyun</groupId> <artifactId>alibaba-dingtalk-service-sdk</artifactId> <version>2.0.0</version> </dependency> <dependency> <groupId>com.mortals</groupId> <artifactId>jna</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.mortals</groupId> <artifactId>json</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.mortals</groupId> <artifactId>examples</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> <configuration> <skipTests>true</skipTests> <!--默认关掉单元测试 --> </configuration> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${java.version}</source> <target>${java.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> <id>copy-bin</id> <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <encoding>UTF-8</encoding> <outputDirectory>target/bin </outputDirectory> <resources> <resource> <directory>src/main/bin/</directory> <excludes> <exclude>deploy.sh</exclude> </excludes> <filtering>true</filtering> </resource> </resources> </configuration> </execution> <execution> <id>copy-deploy</id> <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <encoding>UTF-8</encoding> <outputDirectory>${project.parent.basedir}/dist/${project.artifactId}/ </outputDirectory> <resources> <resource> <directory>src/main/bin</directory> <includes> <include>deploy.sh</include> </includes> <filtering>true</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <finalName>${project.artifactId}</finalName> <appendAssemblyId>false</appendAssemblyId> <descriptors> <descriptor>../assembly/assembly.xml</descriptor> </descriptors> <outputDirectory>${project.parent.basedir}/dist/${project.artifactId}</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>