|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | + <parent> |
| 5 | + <groupId>org.springframework.boot</groupId> |
| 6 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 7 | + <version>2.0.1.RELEASE</version> |
| 8 | + </parent> |
4 | 9 |
|
5 | 10 | <groupId>cn.springcloud.feign</groupId> |
6 | 11 | <artifactId>venus-cloud-feign-sample</artifactId> |
7 | 12 | <version>0.0.1-SNAPSHOT</version> |
| 13 | + <packaging>pom</packaging> |
8 | 14 |
|
9 | 15 | <name>venus-cloud-feign-sample</name> |
10 | 16 | <url>http://maven.apache.org</url> |
11 | 17 |
|
| 18 | + <modules> |
| 19 | + <module>eureka</module> |
| 20 | + <module>provider</module> |
| 21 | + <module>consumer</module> |
| 22 | + </modules> |
| 23 | + |
12 | 24 | <properties> |
13 | | - <java.version>1.8</java.version> |
14 | | - <maven.compiler.source>${java.version}</maven.compiler.source> |
15 | | - <maven.compiler.target>${java.version}</maven.compiler.target> |
16 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
17 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
18 | | - <spring.boot.version>2.0.0.RELEASE</spring.boot.version> |
19 | | - <spring.cloud.version>Finchley.RC1</spring.cloud.version> |
| 25 | + <spring.cloud.version>Finchley.RELEASE</spring.cloud.version> |
20 | 26 | </properties> |
21 | 27 |
|
22 | 28 | <dependencyManagement> |
23 | 29 | <dependencies> |
24 | | - <dependency> |
25 | | - <groupId>org.springframework.boot</groupId> |
26 | | - <artifactId>spring-boot-dependencies</artifactId> |
27 | | - <version>${spring.boot.version}</version> |
28 | | - <type>pom</type> |
29 | | - <scope>import</scope> |
30 | | - </dependency> |
31 | | - |
32 | 30 | <dependency> |
33 | 31 | <groupId>org.springframework.cloud</groupId> |
34 | 32 | <artifactId>spring-cloud-dependencies</artifactId> |
35 | 33 | <version>${spring.cloud.version}</version> |
36 | 34 | <type>pom</type> |
37 | 35 | <scope>import</scope> |
38 | 36 | </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>cn.springcloud.feign</groupId> |
| 39 | + <artifactId>venus-cloud-starter-feign</artifactId> |
| 40 | + <version>${project.version}</version> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>cn.springcloud.feign</groupId> |
| 44 | + <artifactId>venus-cloud-feign-sample-provider-api</artifactId> |
| 45 | + <version>${project.version}</version> |
| 46 | + </dependency> |
39 | 47 | </dependencies> |
40 | 48 | </dependencyManagement> |
41 | | - |
42 | | - <dependencies> |
43 | | - |
44 | | - <dependency> |
45 | | - <groupId>cn.springcloud.feign</groupId> |
46 | | - <artifactId>venus-cloud-feign</artifactId> |
47 | | - <version>0.0.1-SNAPSHOT</version> |
48 | | - </dependency> |
49 | | - <dependency> |
50 | | - <groupId>org.springframework.boot</groupId> |
51 | | - <artifactId>spring-boot-starter-web</artifactId> |
52 | | - </dependency> |
53 | | - <dependency> |
54 | | - <groupId>org.springframework.cloud</groupId> |
55 | | - <artifactId>spring-cloud-starter-openfeign</artifactId> |
56 | | - </dependency> |
57 | | - <dependency> |
58 | | - <groupId>io.springfox</groupId> |
59 | | - <artifactId>springfox-swagger2</artifactId> |
60 | | - <version>2.8.0</version> |
61 | | - <scope>provided</scope> |
62 | | - </dependency> |
63 | | - |
64 | | - <dependency> |
65 | | - <groupId>org.springframework.boot</groupId> |
66 | | - <artifactId>spring-boot-starter-test</artifactId> |
67 | | - <scope>test</scope> |
68 | | - </dependency> |
69 | | - </dependencies> |
70 | | - <build> |
71 | | - <plugins> |
72 | | - <plugin> |
73 | | - <groupId>org.springframework.boot</groupId> |
74 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
75 | | - </plugin> |
76 | | - </plugins> |
77 | | - </build> |
78 | | - |
79 | | - <!--spring cloud F版release后删除--> |
80 | | - <repositories> |
81 | | - <repository> |
82 | | - <id>spring-milestones</id> |
83 | | - <name>Spring Milestones</name> |
84 | | - <url>https://repo.spring.io/libs-milestone</url> |
85 | | - <snapshots> |
86 | | - <enabled>false</enabled> |
87 | | - </snapshots> |
88 | | - </repository> |
89 | | - </repositories> |
90 | | - |
91 | 49 | </project> |
0 commit comments