279 lines
7.8 KiB
XML
279 lines
7.8 KiB
XML
<?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>
|
||
<parent>
|
||
<groupId>com.cmcc.hy</groupId>
|
||
<artifactId>phoenix-boot</artifactId>
|
||
<version>0.0.3</version>
|
||
<relativePath />
|
||
</parent>
|
||
<groupId>com.cmcc.hy.aq</groupId>
|
||
<artifactId>phoenix-data</artifactId>
|
||
<version>1.0.0</version>
|
||
<name>phoenix-data</name>
|
||
<description>Demo project for Spring Boot</description>
|
||
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<java.version>1.8</java.version>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
<scope>runtime</scope>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.tomcat.embed</groupId>
|
||
<artifactId>tomcat-embed-core</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.tomcat</groupId>
|
||
<artifactId>tomcat-annotations-api</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
<version>9.0.31</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<scope>runtime</scope>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-swagger2</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-swagger-ui</artifactId>
|
||
</dependency>
|
||
<!--mysql -->
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
</dependency>
|
||
<!--mybatis -->
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-dbcp2</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>oro</groupId>
|
||
<artifactId>oro</artifactId>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>joda-time</groupId>
|
||
<artifactId>joda-time</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
</dependency>
|
||
<!-- 通用Mapper -->
|
||
<dependency>
|
||
<groupId>tk.mybatis</groupId>
|
||
<artifactId>mapper-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 分页助手 -->
|
||
<dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.cmcc</groupId>
|
||
<artifactId>enc.dec</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-codec</groupId>
|
||
<artifactId>commons-codec</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>redis.clients</groupId>
|
||
<artifactId>jedis</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.objenesis</groupId>
|
||
<artifactId>objenesis</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.protostuff</groupId>
|
||
<artifactId>protostuff-core</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.protostuff</groupId>
|
||
<artifactId>protostuff-runtime</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.protobuf</groupId>
|
||
<artifactId>protobuf-java</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.powermock</groupId>
|
||
<artifactId>powermock-api-mockito2</artifactId>
|
||
<version>2.0.5</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.powermock</groupId>
|
||
<artifactId>powermock-module-junit4</artifactId>
|
||
<version>2.0.5</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson</artifactId>
|
||
<version>3.12.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.el</groupId>
|
||
<artifactId>javax.el-api</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.glassfish.web</groupId>
|
||
<artifactId>javax.el</artifactId>
|
||
<version>2.2.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.axis2</groupId>
|
||
<artifactId>axis2-adb</artifactId>
|
||
<version>1.7.9</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.cxf</groupId>
|
||
<artifactId>cxf-spring-boot-starter-jaxws</artifactId>
|
||
<version>3.3.6</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.cxf</groupId>
|
||
<artifactId>cxf-rt-ws-security</artifactId>
|
||
<version>3.3.6</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>phoenix-data</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<configuration>
|
||
<!-- 单独将dao打出jar包,供其它组件使用 -->
|
||
<includes>
|
||
<include>com/cmcc/hy/phoenix/mapper/*</include>
|
||
<include>com/cmcc/hy/phoenix/pojo/entity/*</include>
|
||
<include>com/cmcc/hy/phoenix/manager/*</include>
|
||
<include>com/cmcc/hy/phoenix/redis/*</include>
|
||
<include>mappers/*</include>
|
||
</includes>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<configuration>
|
||
<attach>true</attach>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<phase>compile</phase>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</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>pl.project13.maven</groupId>
|
||
<artifactId>git-commit-id-plugin</artifactId>
|
||
<version>4.0.0</version>
|
||
<executions>
|
||
<execution>
|
||
<id>get-the-git-infos</id>
|
||
<goals>
|
||
<goal>revision</goal>
|
||
</goals>
|
||
<phase>initialize</phase>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
||
<verbose>true</verbose>
|
||
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
|
||
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
||
<generateGitPropertiesFilename>${project.basedir}/src/main/resources/git.properties</generateGitPropertiesFilename>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|