| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 620c1eb commit b6ab41d
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,20 +4,14 @@ | |||
| 4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 5 | 5 | <modelVersion>4.0.0</modelVersion> | |
| 6 | 6 | ||
| 7 | - | ||
| 8 | 7 | <artifactId>cloud-comx</artifactId> | |
| 9 | 8 | <packaging>jar</packaging> | |
| 10 | 9 | <name>cloud-comx</name> | |
| 11 | - <!-- | ||
| 12 | - <groupId>cn.com.mx</groupId> | ||
| 13 | - <artifactId>jcomx</artifactId> | ||
| 14 | - --> | ||
| 10 | + | ||
| 15 | 11 | <version>1.0-SNAPSHOT</version> | |
| 12 | + | ||
| 16 | 13 | <properties> | |
| 17 | - <!-- Use the latest version whenever possible. --> | ||
| 18 | - <!-- for spring cloud --> | ||
| 19 | 14 | <start-class>com.gomeplus.comx.boot.server.ComxSpringCloudApplication</start-class> | |
| 20 | - <!-- end spring cloud --> | ||
| 21 | 15 | <nettygroup>io.netty</nettygroup> | |
| 22 | 16 | <nettyversion>4.1.6.Final</nettyversion> | |
| 23 | 17 | </properties> | |
@@ -57,27 +51,22 @@ | |||
| 57 | 51 | </dependency> | |
| 58 | 52 | ||
| 59 | 53 | ||
| 60 | - | ||
| 61 | - <!-- http clients --> | ||
| 62 | - <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> | ||
| 63 | 54 | <dependency> | |
| 64 | 55 | <groupId>org.apache.httpcomponents</groupId> | |
| 65 | 56 | <artifactId>httpclient</artifactId> | |
| 66 | 57 | <version>4.5.2</version> | |
| 67 | 58 | </dependency> | |
| 68 | - <!-- end http client--> | ||
| 69 | - <!-- end common utils --> | ||
| 70 | 59 | ||
| 71 | 60 | ||
| 72 | 61 | ||
| 73 | 62 | <!-- servers --> | |
| 74 | - <!-- https://mvnrepository.com/artifact/org.eclipse.jetty/jetty-server --> | ||
| 75 | 63 | <dependency> | |
| 76 | 64 | <groupId>org.eclipse.jetty</groupId> | |
| 77 | 65 | <artifactId>jetty-server</artifactId> | |
| 78 | 66 | <version>9.4.0.v20161208</version> | |
| 79 | 67 | </dependency> | |
| 80 | - <!-- end servers --> | ||
| 68 | + | ||
| 69 | + | ||
| 81 | 70 | <!-- netty --> | |
| 82 | 71 | <dependency> | |
| 83 | 72 | <groupId>${nettygroup}</groupId> | |
@@ -129,55 +118,24 @@ | |||
| 129 | 118 | <artifactId>netty-codec-stomp</artifactId> | |
| 130 | 119 | <version>${nettyversion}</version> | |
| 131 | 120 | </dependency> | |
| 132 | - <!-- | ||
| 133 | - all 缺 部分包 | ||
| 134 | - <dependency> | ||
| 135 | - <groupId>io.netty</groupId> | ||
| 136 | - <artifactId>netty-all</artifactId> | ||
| 137 | - <version>5.0.0.Alpha2</version> | ||
| 138 | - </dependency> | ||
| 139 | - --> | ||
| 140 | - <!-- netty --> | ||
| 141 | - | ||
| 142 | 121 | ||
| 143 | - | ||
| 144 | - | ||
| 145 | - | ||
| 146 | - | ||
| 147 | - | ||
| 148 | - <!-- io utils --> | ||
| 149 | - <!-- https://mvnrepository.com/artifact/commons-io/commons-io --> | ||
| 150 | 122 | <dependency> | |
| 151 | 123 | <groupId>commons-io</groupId> | |
| 152 | 124 | <artifactId>commons-io</artifactId> | |
| 153 | 125 | <version>2.5</version> | |
| 154 | 126 | </dependency> | |
| 155 | - <!-- https://mvnrepository.com/artifact/com.google.guava/guava-base --> | ||
| 156 | 127 | <dependency> | |
| 157 | 128 | <groupId>com.google.guava</groupId> | |
| 158 | 129 | <artifactId>guava</artifactId> | |
| 159 | 130 | <version>21.0</version> | |
| 160 | 131 | </dependency> | |
| 161 | - <!-- end io utils --> | ||
| 162 | 132 | ||
| 163 | - <!-- jedis --> | ||
| 164 | - <!-- jedis 客户端不兼容 不能随意升级 --> | ||
| 165 | - <!-- https://mvnrepository.com/artifact/redis.clients/jedis --> | ||
| 166 | 133 | <dependency> | |
| 167 | 134 | <groupId>redis.clients</groupId> | |
| 168 | 135 | <artifactId>jedis</artifactId> | |
| 169 | 136 | <version>2.9.0</version> | |
| 170 | 137 | </dependency> | |
| 171 | - <!-- end jedis --> | ||
| 172 | - | ||
| 173 | - | ||
| 174 | - | ||
| 175 | - | ||
| 176 | - | ||
| 177 | 138 | ||
| 178 | - | ||
| 179 | - <!-- groovy and test--> | ||
| 180 | - <!-- https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all --> | ||
| 181 | 139 | <dependency> | |
| 182 | 140 | <groupId>org.codehaus.groovy</groupId> | |
| 183 | 141 | <artifactId>groovy-all</artifactId> | |
@@ -198,10 +156,6 @@ | |||
| 198 | 156 | <!-- end groovy and test--> | |
| 199 | 157 | ||
| 200 | 158 | ||
| 201 | - | ||
| 202 | - | ||
| 203 | - | ||
| 204 | - | ||
| 205 | 159 | <!-- spring and springcloud --> | |
| 206 | 160 | <dependency> | |
| 207 | 161 | <groupId>org.springframework.cloud</groupId> | |
@@ -228,21 +182,15 @@ | |||
| 228 | 182 | <artifactId>spring-cloud-starter-eureka</artifactId> | |
| 229 | 183 | </dependency> | |
| 230 | 184 | ||
| 231 | - | ||
| 232 | 185 | <dependency> | |
| 233 | 186 | <groupId>org.jolokia</groupId> | |
| 234 | 187 | <artifactId>jolokia-core</artifactId> | |
| 235 | 188 | </dependency> | |
| 236 | 189 | ||
| 237 | 190 | ||
| 238 | - | ||
| 239 | - | ||
| 240 | 191 | </dependencies> | |
| 241 | 192 | ||
| 242 | 193 | ||
| 243 | - | ||
| 244 | - | ||
| 245 | - | ||
| 246 | 194 | <profiles> | |
| 247 | 195 | <profile> | |
| 248 | 196 | <id>docker</id> | |
@@ -259,48 +207,10 @@ | |||
| 259 | 207 | ||
| 260 | 208 | <build> | |
| 261 | 209 | <plugins> | |
| 262 | - <!-- spring cloud --> | ||
| 263 | 210 | <plugin> | |
| 264 | 211 | <groupId>org.springframework.boot</groupId> | |
| 265 | 212 | <artifactId>spring-boot-maven-plugin</artifactId> | |
| 266 | 213 | </plugin> | |
| 267 | - | ||
| 268 | - | ||
| 269 | - | ||
| 270 | - <!-- for groovy, use gmaven --> | ||
| 271 | - <!-- | ||
| 272 | - <plugin> | ||
| 273 | - <groupId>org.codehaus.gmaven</groupId> | ||
| 274 | - <artifactId>gmaven-plugin</artifactId> | ||
| 275 | - <version>1.3</version> | ||
| 276 | - <executions> | ||
| 277 | - <execution> | ||
| 278 | - <goals> <goal>generateTestStubs</goal> <goal>testCompile</goal> | ||
| 279 | - </goals> | ||
| 280 | - </execution> | ||
| 281 | - </executions> | ||
| 282 | - </plugin> | ||
| 283 | - --> | ||
| 284 | - <!-- use java 1.8 --> | ||
| 285 | - <!-- | ||
| 286 | - <plugin> | ||
| 287 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 288 | - <artifactId>maven-compiler-plugin</artifactId> | ||
| 289 | - <version>2.3.2</version> | ||
| 290 | - <configuration> | ||
| 291 | - <source>1.8</source> | ||
| 292 | - <target>1.8</target> | ||
| 293 | - </configuration> | ||
| 294 | - </plugin> | ||
| 295 | - --> | ||
| 296 | - <!-- jetty --> | ||
| 297 | - <!-- | ||
| 298 | - <plugin> | ||
| 299 | - <groupId>org.eclipse.jetty</groupId> | ||
| 300 | - <artifactId>jetty-maven-plugin</artifactId> | ||
| 301 | - <version>9.4.0.v20161208</version> | ||
| 302 | - </plugin> | ||
| 303 | - --> | ||
| 304 | 214 | </plugins> | |
| 305 | 215 | </build> | |
| 306 | 216 | </project> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,5 @@ | |||
| 1 | 1 | spring: | |
| 2 | - application: | ||
| 3 | - name : config-server | ||
| 2 | + application.name : config-server | ||
| 4 | 3 | profiles.active: dev | |
| 5 | 4 | cloud: | |
| 6 | 5 | config: | |
@@ -9,26 +8,17 @@ spring: | |||
| 9 | 8 | uri: https://github.com/ThoreauZZ/spring-cloud-example.git | |
| 10 | 9 | # uri: file:/github/spring-learn | |
| 11 | 10 | searchPaths: config-repo | |
| 12 | - | ||
| 11 | + server: | ||
| 12 | + port : 9000 | ||
| 13 | 13 | ||
| 14 | 14 | --- | |
| 15 | 15 | spring: | |
| 16 | 16 | profiles: dev | |
| 17 | 17 | ||
| 18 | - server: | ||
| 19 | - port : 9000 | ||
| 20 | - | ||
| 21 | - rabbitmq: | ||
| 22 | - host: localhost | ||
| 23 | - port: 5672 | ||
| 24 | - username: guest | ||
| 25 | - password: guest | ||
| 26 | - virtualHost: / | ||
| 27 | - | ||
| 28 | 18 | eureka: | |
| 29 | 19 | client: | |
| 30 | 20 | serviceUrl: | |
| 31 | - defaultZone: http://discovery:9001/eureka/ | ||
| 21 | + defaultZone: http://localhost:9001/eureka/ | ||
| 32 | 22 | ||
| 33 | 23 | ||
| 34 | 24 | --- | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,6 +9,7 @@ spring: | |||
| 9 | 9 | discovery: | |
| 10 | 10 | enabled: true | |
| 11 | 11 | serviceId: config-server | |
| 12 | + | ||
| 12 | 13 | --- | |
| 13 | 14 | ||
| 14 | 15 | spring: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments