Skip to content

Commit 2ae8c73

Browse files
committed
添加starter-dependencies
1 parent 4a2f025 commit 2ae8c73

File tree

3 files changed

+143
-24
lines changed

3 files changed

+143
-24
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<module>spring-cloud-gray-samples</module>
2626
<module>spring-cloud-gray-client-netflix</module>
2727
<module>spring-cloud-gray-utils</module>
28+
<module>spring-cloud-gray-starter-dependencies</module>
2829
</modules>
2930

3031

spring-cloud-gray-dependencies/pom.xml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<groupId>cn.springcloud.gray</groupId>
88
<version>2.0.0</version>
99
</parent>
10-
<!-- <parent>-->
11-
<!-- <groupId>org.springframework.boot</groupId>-->
12-
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
13-
<!-- <version>1.5.4.RELEASE</version>-->
14-
<!-- </parent>-->
10+
<!-- <parent>-->
11+
<!-- <groupId>org.springframework.boot</groupId>-->
12+
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
13+
<!-- <version>1.5.4.RELEASE</version>-->
14+
<!-- </parent>-->
1515

1616
<modelVersion>4.0.0</modelVersion>
1717

@@ -42,19 +42,12 @@
4242
</developers>
4343

4444
<properties>
45-
<!-- <spring-cloud.version>Dalston.SR5</spring-cloud.version>-->
45+
<!-- <spring-cloud.version>Dalston.SR5</spring-cloud.version>-->
4646
</properties>
4747

4848

4949
<dependencyManagement>
5050
<dependencies>
51-
<!-- <dependency>-->
52-
<!-- <groupId>org.springframework.cloud</groupId>-->
53-
<!-- <artifactId>spring-cloud-dependencies</artifactId>-->
54-
<!-- <version>${spring-cloud.version}</version>-->
55-
<!-- <type>pom</type>-->
56-
<!-- <scope>import</scope>-->
57-
<!-- </dependency>-->
5851
<dependency>
5952
<groupId>cn.springcloud.gray</groupId>
6053
<artifactId>spring-cloud-gray-utils</artifactId>
@@ -80,17 +73,6 @@
8073
<artifactId>spring-cloud-gray-server</artifactId>
8174
<version>${project.version}</version>
8275
</dependency>
83-
<dependency>
84-
<groupId>cn.springcloud.gray</groupId>
85-
<artifactId>spring-cloud-starter-gray-client</artifactId>
86-
<version>${project.version}</version>
87-
</dependency>
88-
<dependency>
89-
<groupId>cn.springcloud.gray</groupId>
90-
<artifactId>spring-cloud-starter-gray-server</artifactId>
91-
<version>${project.version}</version>
92-
</dependency>
93-
9476
</dependencies>
9577

9678
</dependencyManagement>
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<parent>
6+
<artifactId>spring-cloud-gray</artifactId>
7+
<groupId>cn.springcloud.gray</groupId>
8+
<version>2.0.0</version>
9+
</parent>
10+
<modelVersion>4.0.0</modelVersion>
11+
12+
<artifactId>spring-cloud-gray-starter-dependencies</artifactId>
13+
<packaging>pom</packaging>
14+
15+
<licenses>
16+
<license>
17+
<name>The Apache Software License, Version 2.0</name>
18+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
19+
<distribution>repo</distribution>
20+
</license>
21+
</licenses>
22+
<scm>
23+
<tag>master</tag>
24+
<url>https://github.com/SpringCloud/spring-cloud-gray</url>
25+
<connection>[email protected]:SpringCloud/spring-cloud-gray.git</connection>
26+
<developerConnection>scm:git:[email protected]:SpringCloud/spring-cloud-gray.git</developerConnection>
27+
</scm>
28+
<developers>
29+
<developer>
30+
<name>saleson</name>
31+
<email>[email protected]</email>
32+
<organization>Spring Cloud中国社区</organization>
33+
</developer>
34+
</developers>
35+
36+
<properties>
37+
<!-- <spring-cloud.version>Dalston.SR5</spring-cloud.version>-->
38+
</properties>
39+
40+
41+
<dependencyManagement>
42+
43+
44+
45+
<dependencies>
46+
<dependency>
47+
<groupId>cn.springcloud.gray</groupId>
48+
<artifactId>spring-cloud-gray-dependencies</artifactId>
49+
<version>${spring-cloud.version}</version>
50+
<type>pom</type>
51+
<scope>import</scope>
52+
</dependency>
53+
<dependency>
54+
<groupId>cn.springcloud.gray</groupId>
55+
<artifactId>spring-cloud-starter-gray-client</artifactId>
56+
<version>${project.version}</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>cn.springcloud.gray</groupId>
60+
<artifactId>spring-cloud-starter-gray-server</artifactId>
61+
<version>${project.version}</version>
62+
</dependency>
63+
</dependencies>
64+
65+
</dependencyManagement>
66+
67+
68+
<profiles>
69+
<profile>
70+
<id>sonatype-oss-release</id>
71+
<build>
72+
<plugins>
73+
<!-- Source -->
74+
<plugin>
75+
<groupId>org.apache.maven.plugins</groupId>
76+
<artifactId>maven-source-plugin</artifactId>
77+
<version>2.2.1</version>
78+
<executions>
79+
<execution>
80+
<phase>package</phase>
81+
<goals>
82+
<goal>jar-no-fork</goal>
83+
</goals>
84+
</execution>
85+
</executions>
86+
</plugin>
87+
<!-- Javadoc -->
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-javadoc-plugin</artifactId>
91+
<version>2.9.1</version>
92+
<executions>
93+
<execution>
94+
<phase>package</phase>
95+
<goals>
96+
<goal>jar</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<!-- GPG -->
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-gpg-plugin</artifactId>
105+
<version>1.1</version>
106+
<executions>
107+
<execution>
108+
<id>sign-artifacts</id>
109+
<phase>verify</phase>
110+
<goals>
111+
<goal>sign</goal>
112+
</goals>
113+
</execution>
114+
</executions>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
<distributionManagement>
119+
<snapshotRepository>
120+
<id>sonatype-nexus-snapshots</id>
121+
<url>
122+
https://oss.sonatype.org/content/repositories/snapshots
123+
</url>
124+
</snapshotRepository>
125+
<repository>
126+
<id>sonatype-nexus-staging</id>
127+
<url>
128+
https://oss.sonatype.org/service/local/staging/deploy/maven2
129+
</url>
130+
</repository>
131+
</distributionManagement>
132+
</profile>
133+
</profiles>
134+
135+
136+
</project>

0 commit comments

Comments
 (0)