123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?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>
- <groupId>com.gct.common</groupId>
- <artifactId>microarch_bg_common</artifactId>
- <version>0.0.3-SNAPSHOT</version>
- <name>microarch_bg_common</name>
- <description>公共模块</description>
- <packaging>pom</packaging>
- <modules>
- <module>common-core</module>
- <module>common-security</module>
- <module>common-util</module>
- </modules>
- <properties>
- <java.version>1.8</java.version>
- <spring-cloud.version>Hoxton.SR3</spring-cloud.version>
- <spring-cloud-alibaba.version>2.2.1.RELEASE</spring-cloud-alibaba.version>
- <mybatis-plus.version>3.3.1</mybatis-plus.version>
- <mybatis-typehandlers.version>1.0.2</mybatis-typehandlers.version>
- <mybatis-plus-generator.version>3.3.1.tmp</mybatis-plus-generator.version>
- <velocity-engine.version>2.2</velocity-engine.version>
- <swagger.version>1.9.1.RELEASE</swagger.version>
- <!-- <lombok.version>1.18.16</lombok.version>-->
- <lombok.version>1.16.18</lombok.version>
- <jwt.version>0.9.1</jwt.version>
- <web.version>2.3.0.RELEASE</web.version>
- <security.version>2.3.0.RELEASE</security.version>
- <redis.version>2.3.0.RELEASE</redis.version>
- <jedis.version>3.1.0</jedis.version>
- <fastjson.version>1.2.58</fastjson.version>
- <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
- <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
- <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <!-- Spring Cloud Hoxton -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!-- Spring Cloud Alibaba -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-alibaba-dependencies</artifactId>
- <version>${spring-cloud-alibaba.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- <!--lombok-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <!--mybatis-plus-->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-boot-starter</artifactId>
- <version>${mybatis-plus.version}</version>
- </dependency>
- <!--这个必须引用 因为使用mybatis-plus LocalDataTime问题-->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-typehandlers-jsr310</artifactId>
- <version>${mybatis-typehandlers.version}</version>
- </dependency>
- <!--代码生成模式插件 3.0.3以后需要手动设置依赖-->
- <dependency>
- <groupId>com.baomidou</groupId>
- <artifactId>mybatis-plus-generator</artifactId>
- <version>${mybatis-plus-generator.version}</version>
- </dependency>
- <!--代码生成模板-->
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity-engine-core</artifactId>
- <version>${velocity-engine.version}</version>
- </dependency>
- <!--swagger-->
- <dependency>
- <groupId>com.spring4all</groupId>
- <artifactId>swagger-spring-boot-starter</artifactId>
- <version>${swagger.version}</version>
- </dependency>
- <!-- spring security -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-security</artifactId>
- <version>${security.version}</version>
- </dependency>
- <!-- jwt -->
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>${jwt.version}</version>
- </dependency>
- <!--web-->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <version>${web.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- <version>${redis.version}</version>
- </dependency>
- <dependency>
- <groupId>redis.clients</groupId>
- <artifactId>jedis</artifactId>
- <version>${jedis.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <distributionManagement>
- <repository>
- <id>releases</id>
- <name>Nexus Release Repository</name>
- <url>http://114.115.206.163:8081/repository/maven-releases/</url>
- </repository>
- <snapshotRepository>
- <id>snapshots</id>
- <name>Nexus Snapshot Repository</name>
- <url>http://114.115.206.163:8081/repository/maven-snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <!--<configuration>
- <source>8</source>
- <target>8</target>
- </configuration>-->
- <configuration>
- <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
- 允许值为:
- none - no annotation processing is performed.
- only - only annotation processing is done, no compilation.
- 设置为only complie 或者build一下就可以运行annotation processor了
- 平常走默认值即可-->
- <!-- <proc>only</proc>-->
- <source>8</source>
- <target>8</target>
- <encoding>utf-8</encoding>
- </configuration>
- </plugin>
- <!--配置生成Javadoc包-->
- <!--<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>-->
- <!--配置生成源码包-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- 打包过程忽略Junit测试 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${maven-surefire-plugin.version}</version>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok-maven-plugin</artifactId>
- <version>${lombok-maven-plugin.version}</version>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
- </plugin>
- <!--<plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>-->
- </plugins>
- </pluginManagement>
- </build>
- </project>
|