Commit eb5e08e9 by liuyf

升级依赖框架版本

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@32283 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 92d752fe
...@@ -178,6 +178,7 @@ ...@@ -178,6 +178,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration> <configuration>
<source>${maven.compiler.source}</source> <source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target> <target>${maven.compiler.target}</target>
......
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
<version>1.0.0</version> <version>1.0.0</version>
</parent> </parent>
<groupId>com.glsx</groupId>
<artifactId>car-service-gateway</artifactId> <artifactId>car-service-gateway</artifactId>
<version>1.0.0</version>
<packaging>war</packaging> <packaging>war</packaging>
<name>car-service-gateway</name> <name>car-service-gateway</name>
...@@ -41,10 +39,19 @@ ...@@ -41,10 +39,19 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
<configuration> <configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 --> <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
......
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>car-service-generator</artifactId> <artifactId>car-service-generator</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<name>car-service-generator</name> <name>car-service-generator</name>
<!-- FIXME change it to the project's website --> <!-- FIXME change it to the project's website -->
<url>http://www.example.com</url> <url>http://www.example.com</url>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
</properties> </properties>
<parent> <parent>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>car-service</artifactId> <artifactId>car-service</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<relativePath>../pom.xml</relativePath> <!--本例中此处是可选的--> <relativePath>../pom.xml</relativePath> <!--本例中此处是可选的-->
</parent> </parent>
<dependencies>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
</dependency>
<!-- 数据库 -->
<dependency><!-- 分页插件 -->
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.3.0</version>
</dependency>
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- spring-boot -->
<dependency><!-- 热部署 -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional><!-- true:依赖不会传递 -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<!-- 把tomcat-jdbc连接池排除掉,这样spring-boot就会寻找是否有HikariCP可用 -->
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies> <dependencies>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
</dependency>
<!-- 数据库 -->
<dependency><!-- 分页插件 -->
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.3.0</version>
</dependency>
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<build> <!-- spring-boot -->
<pluginManagement><!-- lock down plugins versions to avoid using Maven <dependency><!-- 热部署 -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional><!-- true:依赖不会传递 -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<!-- 把tomcat-jdbc连接池排除掉,这样spring-boot就会寻找是否有HikariCP可用 -->
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) --> defaults (may be moved to parent pom) -->
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <version>2.2.6.RELEASE</version>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 --> <configuration>
</configuration> <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.mybatis.generator</groupId> <plugin>
<artifactId>mybatis-generator-maven-plugin</artifactId> <groupId>org.mybatis.generator</groupId>
<version>1.3.7</version> <artifactId>mybatis-generator-maven-plugin</artifactId>
<executions> <version>1.3.7</version>
<execution> <executions>
<id>Generate MyBatis Artifacts</id> <execution>
<phase>package</phase> <id>Generate MyBatis Artifacts</id>
<goals> <phase>package</phase>
<goal>generate</goal> <goals>
</goals> <goal>generate</goal>
</execution> </goals>
</executions> </execution>
<configuration> </executions>
<!-- generator 工具配置文件的位置 --> <configuration>
<configurationFile>src/main/resources/mybatis/generator-config.xml</configurationFile> <!-- generator 工具配置文件的位置 -->
<!--允许移动生成的文件 --> <configurationFile>src/main/resources/mybatis/generator-config.xml</configurationFile>
<verbose>true</verbose> <!--允许移动生成的文件 -->
<!-- 是否覆盖 --> <verbose>true</verbose>
<overwrite>true</overwrite> <!-- 是否覆盖 -->
</configuration> <overwrite>true</overwrite>
</plugin> </configuration>
</plugin>
</plugins>
</pluginManagement> </plugins>
</build> </pluginManagement>
</build>
</project> </project>
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>car-service-manager</artifactId> <artifactId>car-service-manager</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<name>car-service-manager</name> <name>car-service-manager</name>
<url>http://www.example.com</url> <url>http://www.example.com</url>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<parent> <parent>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>car-service</artifactId> <artifactId>car-service</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<!-- <relativePath>../pom.xml</relativePath> --> <!--本例中此处是可选的--> <!-- <relativePath>../pom.xml</relativePath> --> <!--本例中此处是可选的-->
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
<artifactId>car-service-common</artifactId> <artifactId>car-service-common</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </dependency>
<!-- spring-boot-devtools --> <!-- spring-boot-devtools -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId> <artifactId>spring-boot-devtools</artifactId>
<scope>test</scope> <scope>test</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <version>2.2.6.RELEASE</version>
<fork>true</fork> <configuration>
</configuration> <fork>true</fork>
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-war-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>2.6</version> <artifactId>maven-war-plugin</artifactId>
<configuration> <version>2.6</version>
<failOnMissingWebXml>false</failOnMissingWebXml> <configuration>
</configuration> <failOnMissingWebXml>false</failOnMissingWebXml>
</plugin> </configuration>
</plugins> </plugin>
</pluginManagement> <plugin>
</build> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project> </project>
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
<configuration> <configuration>
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 --> <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration> </configuration>
......
...@@ -110,6 +110,7 @@ ...@@ -110,6 +110,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
<configuration> <configuration>
<fork>true</fork> <fork>true</fork>
</configuration> </configuration>
...@@ -122,6 +123,14 @@ ...@@ -122,6 +123,14 @@
<failOnMissingWebXml>false</failOnMissingWebXml> <failOnMissingWebXml>false</failOnMissingWebXml>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
<configuration> <configuration>
<fork>true</fork> <fork>true</fork>
</configuration> </configuration>
...@@ -54,6 +55,14 @@ ...@@ -54,6 +55,14 @@
<failOnMissingWebXml>false</failOnMissingWebXml> <failOnMissingWebXml>false</failOnMissingWebXml>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
......
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
<configuration> <configuration>
<fork>true</fork> <fork>true</fork>
</configuration> </configuration>
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<slf4j.version>1.7.36</slf4j.version> <slf4j.version>1.7.36</slf4j.version>
<rest-admin-framework.version>1.2.0-SNAPSHOT</rest-admin-framework.version>
<local.nexus.snapshots.url>http://192.168.3.233/nexus/content/repositories/snapshots/</local.nexus.snapshots.url> <local.nexus.snapshots.url>http://192.168.3.233/nexus/content/repositories/snapshots/</local.nexus.snapshots.url>
<local.nexus.releases.url>http://192.168.3.233/nexus/content/repositories/releases/</local.nexus.releases.url> <local.nexus.releases.url>http://192.168.3.233/nexus/content/repositories/releases/</local.nexus.releases.url>
...@@ -52,6 +53,14 @@ ...@@ -52,6 +53,14 @@
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
<!--rest-admin-framework-->
<dependency>
<groupId>com.glsx</groupId>
<artifactId>rest-admin-framework-dependencies</artifactId>
<version>${rest-admin-framework.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
...@@ -82,6 +91,7 @@ ...@@ -82,6 +91,7 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<version>2.2.6.RELEASE</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
...@@ -91,21 +101,15 @@ ...@@ -91,21 +101,15 @@
<skipTests>true</skipTests> <skipTests>true</skipTests>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>Local Nexus Releases Repository</name>
<url>http://192.168.3.233/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>Local Nexus Snapshots Repository</name>
<url>http://192.168.3.233/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project> </project>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!