|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 |
| - <modelVersion>4.0.0</modelVersion> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 |
| - <parent> |
7 |
| - <groupId>org.springframework.boot</groupId> |
8 |
| - <artifactId>spring-boot-starter-parent</artifactId> |
9 |
| - <version>1.5.13.RELEASE</version> |
10 |
| - </parent> |
11 | 6 |
|
12 |
| - <groupId>org.xujin.moss</groupId> |
13 |
| - <artifactId>moss-client-1.x</artifactId> |
14 |
| - <version>1.0.0.RELEASE</version> |
15 |
| - <packaging>jar</packaging> |
| 7 | + <groupId>org.xujin.moss</groupId> |
| 8 | + <artifactId>moss-client-1.x</artifactId> |
| 9 | + <version>1.0.0.RELEASE</version> |
| 10 | + <packaging>jar</packaging> |
16 | 11 |
|
17 |
| - <name>moss-client-1.x</name> |
18 |
| - <description>moss-client-1.x</description> |
| 12 | + <name>moss-client-1.x</name> |
| 13 | + <description>moss-client-1.x</description> |
19 | 14 |
|
20 |
| - <properties> |
21 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
22 |
| - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
23 |
| - <java.version>1.8</java.version> |
24 |
| - </properties> |
| 15 | + <properties> |
| 16 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 17 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 18 | + <java.version>1.8</java.version> |
25 | 19 |
|
26 |
| - <dependencies> |
27 |
| - <dependency> |
28 |
| - <groupId>org.xujin.moss</groupId> |
29 |
| - <artifactId>moss-client-common</artifactId> |
30 |
| - <version>1.0.0.RELEASE</version> |
31 |
| - </dependency> |
| 20 | + <spring-boot-version>1.5.12.RELEASE</spring-boot-version> |
| 21 | + <spring-cloud-version>Edgware.SR4</spring-cloud-version> |
| 22 | + </properties> |
32 | 23 |
|
33 |
| - <dependency> |
34 |
| - <groupId>org.apache.commons</groupId> |
35 |
| - <artifactId>commons-lang3</artifactId> |
36 |
| - <version>3.4</version> |
37 |
| - </dependency> |
38 |
| - <dependency> |
39 |
| - <groupId>org.springframework.boot</groupId> |
40 |
| - <artifactId>spring-boot-starter-actuator</artifactId> |
41 |
| - </dependency> |
42 |
| - <dependency> |
43 |
| - <groupId>org.springframework.boot</groupId> |
44 |
| - <artifactId>spring-boot-starter-web</artifactId> |
45 |
| - <scope>provided</scope> |
46 |
| - </dependency> |
| 24 | + <dependencyManagement> |
| 25 | + <dependencies> |
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 29 | + <version>${spring-boot-version}</version> |
| 30 | + <type>pom</type> |
| 31 | + <scope>import</scope> |
| 32 | + </dependency> |
| 33 | + <dependency> |
| 34 | + <groupId>org.springframework.cloud</groupId> |
| 35 | + <artifactId>spring-cloud-starter-parent</artifactId> |
| 36 | + <version>${spring-cloud-version}</version> |
| 37 | + <type>pom</type> |
| 38 | + <scope>import</scope> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
| 41 | + </dependencyManagement> |
47 | 42 |
|
48 |
| - <dependency> |
49 |
| - <groupId>org.jolokia</groupId> |
50 |
| - <artifactId>jolokia-core</artifactId> |
51 |
| - </dependency> |
52 |
| - </dependencies> |
| 43 | + <dependencies> |
| 44 | + <dependency> |
| 45 | + <groupId>org.xujin.moss</groupId> |
| 46 | + <artifactId>moss-client-common</artifactId> |
| 47 | + <version>1.0.0.RELEASE</version> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.jolokia</groupId> |
| 51 | + <artifactId>jolokia-core</artifactId> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>org.springframework.cloud</groupId> |
| 55 | + <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId> |
| 56 | + <version>RELEASE</version> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.springframework.boot</groupId> |
| 60 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>io.prometheus</groupId> |
| 64 | + <artifactId>simpleclient_spring_boot</artifactId> |
| 65 | + <version>0.6.0</version> |
| 66 | + </dependency> |
| 67 | + <dependency> |
| 68 | + <groupId>org.springframework.hateoas</groupId> |
| 69 | + <artifactId>spring-hateoas</artifactId> |
| 70 | + </dependency> |
53 | 71 |
|
54 |
| - <build> |
55 |
| - <plugins> |
56 |
| - <plugin> |
57 |
| - <groupId>org.apache.maven.plugins</groupId> |
58 |
| - <artifactId>maven-resources-plugin</artifactId> |
59 |
| - <version>3.0.2</version> |
60 |
| - <executions> |
61 |
| - <execution> |
62 |
| - <id>copy-resources</id> |
63 |
| - <phase>validate</phase> |
64 |
| - <goals> |
65 |
| - <goal>copy-resources</goal> |
66 |
| - </goals> |
67 |
| - <configuration> |
68 |
| - <outputDirectory>${basedir}/target/classes</outputDirectory> |
69 |
| - <includeEmptyDirs>true</includeEmptyDirs> |
70 |
| - <resources> |
71 |
| - <resource> |
72 |
| - <directory>src/main/resource</directory> |
73 |
| - <filtering>true</filtering> |
74 |
| - </resource> |
75 |
| - </resources> |
76 |
| - </configuration> |
77 |
| - </execution> |
78 |
| - </executions> |
79 |
| - </plugin> |
80 |
| - <plugin> |
81 |
| - <artifactId>maven-compiler-plugin</artifactId> |
82 |
| - <version>3.7.0</version> |
83 |
| - <configuration> |
84 |
| - <source>1.8</source> |
85 |
| - <target>1.8</target> |
86 |
| - <encoding>UTF-8</encoding> |
87 |
| - </configuration> |
88 |
| - </plugin> |
89 |
| - <plugin> |
90 |
| - <groupId>org.apache.maven.plugins</groupId> |
91 |
| - <artifactId>maven-source-plugin</artifactId> |
92 |
| - <version>3.0.1</version> |
93 |
| - <executions> |
94 |
| - <execution> |
95 |
| - <id>attach-sources</id> |
96 |
| - <goals> |
97 |
| - <goal>jar-no-fork</goal> |
98 |
| - </goals> |
99 |
| - </execution> |
100 |
| - </executions> |
101 |
| - </plugin> |
102 |
| - </plugins> |
103 |
| - </build> |
| 72 | + <dependency> |
| 73 | + <groupId>org.springframework.boot</groupId> |
| 74 | + <artifactId>spring-boot-starter-web</artifactId> |
| 75 | + <scope>provided</scope> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>org.springframework.boot</groupId> |
| 79 | + <artifactId>spring-boot-configuration-processor</artifactId> |
| 80 | + <optional>true</optional> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>org.projectlombok</groupId> |
| 84 | + <artifactId>lombok</artifactId> |
| 85 | + <optional>true</optional> |
| 86 | + </dependency> |
| 87 | + </dependencies> |
| 88 | + |
| 89 | + <build> |
| 90 | + <plugins> |
| 91 | + <plugin> |
| 92 | + <groupId>org.apache.maven.plugins</groupId> |
| 93 | + <artifactId>maven-resources-plugin</artifactId> |
| 94 | + <version>3.0.2</version> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>copy-resources</id> |
| 98 | + <phase>validate</phase> |
| 99 | + <goals> |
| 100 | + <goal>copy-resources</goal> |
| 101 | + </goals> |
| 102 | + <configuration> |
| 103 | + <outputDirectory>${basedir}/target/classes</outputDirectory> |
| 104 | + <includeEmptyDirs>true</includeEmptyDirs> |
| 105 | + <resources> |
| 106 | + <resource> |
| 107 | + <directory>src/main/resource</directory> |
| 108 | + <filtering>true</filtering> |
| 109 | + </resource> |
| 110 | + </resources> |
| 111 | + </configuration> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + </plugin> |
| 115 | + <plugin> |
| 116 | + <artifactId>maven-compiler-plugin</artifactId> |
| 117 | + <version>3.7.0</version> |
| 118 | + <configuration> |
| 119 | + <source>1.8</source> |
| 120 | + <target>1.8</target> |
| 121 | + <encoding>UTF-8</encoding> |
| 122 | + </configuration> |
| 123 | + </plugin> |
| 124 | + <plugin> |
| 125 | + <groupId>org.apache.maven.plugins</groupId> |
| 126 | + <artifactId>maven-source-plugin</artifactId> |
| 127 | + <version>3.0.1</version> |
| 128 | + <executions> |
| 129 | + <execution> |
| 130 | + <id>attach-sources</id> |
| 131 | + <goals> |
| 132 | + <goal>jar-no-fork</goal> |
| 133 | + </goals> |
| 134 | + </execution> |
| 135 | + </executions> |
| 136 | + </plugin> |
| 137 | + </plugins> |
| 138 | + </build> |
104 | 139 | </project>
|
0 commit comments