<?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>
<parent>
<artifactId>components</artifactId>
<groupId>com.ai.bss</groupId>
<version>2.1.5-SNAPSHOT</version>
</parent>
<groupId>com.ai.bss</groupId>
<artifactId>location-rescue-service</artifactId>
<name>location-rescue-service</name>
<!-- <properties>-->
<!-- <start-class>com.ai.bss.location.rescue.LocationRescueApp</start-class>-->
<!-- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
<!-- <jdk>1.8</jdk>-->
<!-- </properties>-->
<dependencies>
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.0.3</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
</dependency>
<dependency>
<groupId>com.ai.bss</groupId>
<artifactId>work-tool-service-api</artifactId>
<version>2.1.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ai.bss</groupId>
<artifactId>work-tool-service</artifactId>
<version>2.1.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ai.bss</groupId>
<artifactId>worker-service</artifactId>
<version>2.1.5-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>
spring-boot-starter-security
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.ai.bss</groupId>
<artifactId>characteristic-spec-service</artifactId>
<version>2.1.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ai.bss</groupId>
<artifactId>work-attendance-service-api</artifactId>
<version>2.1.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.ai.bss</groupId>
<artifactId>system-user-service</artifactId>
<version>2.1.5-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>
spring-boot-starter-security
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- uspa登录拦截效验-->
<!-- <dependency>
<groupId>com.ai.bss</groupId>
<artifactId>sso-util</artifactId>
<version>1.0.0-RELEASE</version>
</dependency>-->
<dependency>
<groupId>com.wframe</groupId>
<artifactId>sso-util</artifactId>
<version>1.2</version>
</dependency>
<!-- <dependency>
<groupId>com.ai.ipu</groupId>
<artifactId>ipu-data</artifactId>
<version>3.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.ai.ipu</groupId>
<artifactId>ipu-basic</artifactId>
<version>3.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.ai.wade</groupId>
<artifactId>wade-common</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.ai.ipu</groupId>
<artifactId>ipu-common</artifactId>
<version>3.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.14</version>
<scope>compile</scope>
</dependency>-->
<!-- 缓存 -->
<dependency>
<groupId>com.ai.ipu</groupId>
<artifactId>ipu-cache</artifactId>
<version>3.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- IPU 镜屏 -->
<dependency>
<groupId>com.ai.ipu.server</groupId>
<artifactId>iot-stomp-server</artifactId>
<version>3.1-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
<id>mgpd</id>
<name>mgpd</name>
<url>http://maven.cst.asiainfo.com/repository/mgpd-group/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>mgpd</id>
<name>mgpd</name>
<url>http://maven.cst.asiainfo.com/repository/mgpd-group/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!-- The configuration of maven-jar-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<!-- The configuration of the plugin -->
<configuration>
<!-- Configuration of the archiver -->
<archive>
<!--生成的jar中,不要包含pom.xml和pom.properties这两个文件-->
<addMavenDescriptor>false</addMavenDescriptor>
<!-- Manifest specific configuration -->
<manifest>
<!--是否要把第三方jar放到manifest的classpath中-->
<addClasspath>true</addClasspath>
<!--生成的manifest中classpath的前缀,因为要把第三方jar放到lib目录下,所以classpath的前缀是lib/-->
<classpathPrefix>lib/</classpathPrefix>
<!--应用的main class-->
<mainClass>com.ai.bss.location.rescue.LocationRescueApp</mainClass>
</manifest>
<manifestEntries>
<Class-Path>./config/</Class-Path>
</manifestEntries>
</archive>
<!--过滤掉不希望包含在jar中的文件-->
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/*.xml</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- The configuration of maven-assembly-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<!-- The configuration of the plugin -->
<configuration>
<!-- Specifies the configuration file of the assembly plugin -->
<descriptors>
<descriptor>src/main/assembly/package.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
<finalName>${project.artifactId}</finalName>
</build>
</project>
|