Commit 7db17030 authored by yanzg's avatar yanzg

框架开发

parent 3212f487
...@@ -16,14 +16,17 @@ ...@@ -16,14 +16,17 @@
</modules> </modules>
<properties> <properties>
<globle.groupId>com.yanzuoguang</globle.groupId>
<globle.version>1.0-SNAPSHOT</globle.version>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<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>
<junit.version>4.12</junit.version> <junit.version>4.12</junit.version>
<spring.version>4.3.7.RELEASE</spring.version> <spring.cloud.version>Finchley.SR2</spring.cloud.version>
<spring.boot.version>2.0.2.RELEASE</spring.boot.version>
<fastjson.version>1.2.47</fastjson.version> <fastjson.version>1.2.47</fastjson.version>
<mysql.version>6.0.6</mysql.version> <mysql.version>6.0.6</mysql.version>
</properties> </properties>
...@@ -37,34 +40,20 @@ ...@@ -37,34 +40,20 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- Spring依赖 -->
<!-- 1.Spring核心依赖 -->
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-core</artifactId> <artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.version}</version> <version>${spring.cloud.version}</version>
</dependency> <type>pom</type>
<dependency> <scope>import</scope>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- 2.Spring dao依赖 -->
<!-- spring-jdbc包括了一些如jdbcTemplate的工具类 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-tx</artifactId> <artifactId>spring-boot-dependencies</artifactId>
<version>${spring.version}</version> <version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency> </dependency>
<dependency> <dependency>
...@@ -79,6 +68,24 @@ ...@@ -79,6 +68,24 @@
<version>${mysql.version}</version> <version>${mysql.version}</version>
</dependency> </dependency>
<dependency>
<groupId>${globle.groupId}</groupId>
<artifactId>yzg-util-base</artifactId>
<version>${globle.version}</version>
</dependency>
<dependency>
<groupId>${globle.groupId}</groupId>
<artifactId>yzg-util-db</artifactId>
<version>${globle.version}</version>
</dependency>
<dependency>
<groupId>${globle.groupId}</groupId>
<artifactId>yzg-util-cloud</artifactId>
<version>${globle.version}</version>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
<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>
<spring.cloud.version>Finchley.SR2</spring.cloud.version>
<spring.boot.version>2.0.2.RELEASE</spring.boot.version>
<junit.version>4.12</junit.version> <junit.version>4.12</junit.version>
</properties> </properties>
...@@ -79,29 +77,6 @@ ...@@ -79,29 +77,6 @@
<artifactId>yzg-util-base</artifactId> <artifactId>yzg-util-base</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project> </project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment