Skip to content

Commit 58ed0b0

Browse files
committed
修改pom
1 parent eb1059c commit 58ed0b0

File tree

13 files changed

+492
-27
lines changed

13 files changed

+492
-27
lines changed

pom.xml

Lines changed: 91 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55

66
<groupId>cn.springcloud.feign</groupId>
77
<artifactId>venus-cloud-feign</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
<packaging>pom</packaging>
1010

1111
<name>venus-cloud-feign</name>
12-
<description>venus-cloud-feign</description>
12+
<url>http://springcloud.cn</url>
13+
<description>venus-cloud-feign is a component for enhance Spring Cloud Feign</description>
1314

1415
<modules>
1516
<module>venus-cloud-feign-core</module>
@@ -38,16 +39,94 @@
3839
</dependencies>
3940
</dependencyManagement>
4041

41-
<build>
42-
<plugins>
43-
<plugin>
44-
<artifactId>maven-compiler-plugin</artifactId>
45-
<configuration>
46-
<parameters>true</parameters>
47-
</configuration>
48-
</plugin>
49-
</plugins>
50-
</build>
42+
<profiles>
43+
<profile>
44+
<id>release</id> <!-- 部署要用到 -->
45+
<build>
46+
<plugins>
47+
<plugin>
48+
<artifactId>maven-compiler-plugin</artifactId>
49+
<configuration>
50+
<parameters>true</parameters>
51+
</configuration>
52+
</plugin>
53+
<!-- Source -->
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-source-plugin</artifactId>
57+
<version>3.0.1</version>
58+
<executions>
59+
<execution>
60+
<phase>package</phase>
61+
<goals>
62+
<goal>jar-no-fork</goal>
63+
</goals>
64+
</execution>
65+
</executions>
66+
</plugin>
67+
<!-- Javadoc -->
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-javadoc-plugin</artifactId>
71+
<version>2.9.1</version>
72+
<executions>
73+
<execution>
74+
<phase>package</phase>
75+
<goals>
76+
<goal>jar</goal>
77+
</goals>
78+
</execution>
79+
</executions>
80+
</plugin>
81+
<!-- GPG -->
82+
<plugin> <!-- 进行延签 -->
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-gpg-plugin</artifactId>
85+
<version>1.6</version>
86+
<executions>
87+
<execution>
88+
<phase>verify</phase>
89+
<goals>
90+
<goal>sign</goal>
91+
</goals>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
</plugins>
96+
</build>
97+
<distributionManagement>
98+
<snapshotRepository>
99+
<id>oss</id>
100+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
101+
</snapshotRepository>
102+
<repository>
103+
<id>oss</id>
104+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
105+
</repository>
106+
</distributionManagement>
107+
</profile>
108+
</profiles>
51109

110+
<licenses>
111+
<license>
112+
<name>The Apache Software License, Version 2.0</name>
113+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
114+
<comments>A business-friendly OSS license</comments>
115+
</license>
116+
</licenses>
117+
118+
<scm>
119+
<url>https://github.com/SpringCloud/venus-cloud-feign</url>
120+
<connection>scm:git:https://github.com/SpringCloud/venus-cloud-feign.git</connection>
121+
<developerConnection>scm:git:https://github.com/SpringCloud/venus-cloud-feign.git</developerConnection>
122+
</scm>
123+
124+
<developers>
125+
<developer>
126+
<name>xujin</name>
127+
<email>[email protected]</email>
128+
<url>http://xujin.org</url>
129+
</developer>
130+
</developers>
52131

53132
</project>

venus-cloud-feign-core/pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
<parent>
88
<artifactId>venus-cloud-feign</artifactId>
99
<groupId>cn.springcloud.feign</groupId>
10-
<version>0.0.1-SNAPSHOT</version>
10+
<version>1.0.0</version>
1111
</parent>
1212

1313
<artifactId>venus-cloud-feign-core</artifactId>
1414

15+
<name>venus-cloud-feign-core</name>
16+
<url>http://springcloud.cn</url>
17+
<description>venus-cloud-feign is a component for enhance Spring Cloud Feign</description>
18+
1519
<dependencies>
1620
<dependency>
1721
<groupId>org.springframework.boot</groupId>

venus-cloud-feign-core/src/main/java/cn/springcloud/feign/VenusFeignAutoConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
* VenusFeignAutoConfig
3232
*
3333
* @author Charles He
34-
* @date 2018/5/11
3534
*/
3635
@Configuration
3736
@ConditionalOnClass(Feign.class)

venus-cloud-feign-core/src/main/java/cn/springcloud/feign/VenusRequestInterceptor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* VenusRequestInterceptor
1616
*
1717
* @author Charles He
18-
* @date 2018/5/11
1918
*/
2019
public class VenusRequestInterceptor implements RequestInterceptor {
2120

venus-cloud-feign-dependencies/pom.xml

Lines changed: 93 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44

55
<groupId>cn.springcloud.feign</groupId>
66
<artifactId>venus-cloud-feign-dependencies</artifactId>
7-
<version>0.0.1-SNAPSHOT</version>
7+
<version>1.0.0</version>
88
<packaging>pom</packaging>
99

1010
<name>venus-cloud-feign-dependencies</name>
11-
<url>http://maven.apache.org</url>
11+
<url>http://springcloud.cn</url>
12+
<description>venus-cloud-feign is a component for enhance Spring Cloud Feign</description>
1213

1314
<properties>
1415
<spring.boot.version>2.0.1.RELEASE</spring.boot.version>
@@ -46,4 +47,94 @@
4647
</dependency>
4748
</dependencies>
4849
</dependencyManagement>
50+
51+
<profiles>
52+
<profile>
53+
<id>release</id> <!-- 部署要用到 -->
54+
<build>
55+
<plugins>
56+
<plugin>
57+
<artifactId>maven-compiler-plugin</artifactId>
58+
<configuration>
59+
<parameters>true</parameters>
60+
</configuration>
61+
</plugin>
62+
<!-- Source -->
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-source-plugin</artifactId>
66+
<version>3.0.1</version>
67+
<executions>
68+
<execution>
69+
<phase>package</phase>
70+
<goals>
71+
<goal>jar-no-fork</goal>
72+
</goals>
73+
</execution>
74+
</executions>
75+
</plugin>
76+
<!-- Javadoc -->
77+
<plugin>
78+
<groupId>org.apache.maven.plugins</groupId>
79+
<artifactId>maven-javadoc-plugin</artifactId>
80+
<version>2.9.1</version>
81+
<executions>
82+
<execution>
83+
<phase>package</phase>
84+
<goals>
85+
<goal>jar</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
90+
<!-- GPG -->
91+
<plugin> <!-- 进行延签 -->
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-gpg-plugin</artifactId>
94+
<version>1.6</version>
95+
<executions>
96+
<execution>
97+
<phase>verify</phase>
98+
<goals>
99+
<goal>sign</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
</plugin>
104+
</plugins>
105+
</build>
106+
<distributionManagement>
107+
<snapshotRepository>
108+
<id>oss</id>
109+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
110+
</snapshotRepository>
111+
<repository>
112+
<id>oss</id>
113+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
114+
</repository>
115+
</distributionManagement>
116+
</profile>
117+
</profiles>
118+
119+
<licenses>
120+
<license>
121+
<name>The Apache Software License, Version 2.0</name>
122+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
123+
<comments>A business-friendly OSS license</comments>
124+
</license>
125+
</licenses>
126+
127+
<scm>
128+
<url>https://github.com/SpringCloud/venus-cloud-feign</url>
129+
<connection>scm:git:https://github.com/SpringCloud/venus-cloud-feign.git</connection>
130+
<developerConnection>scm:git:https://github.com/SpringCloud/venus-cloud-feign.git</developerConnection>
131+
</scm>
132+
133+
<developers>
134+
<developer>
135+
<name>xujin</name>
136+
<email>[email protected]</email>
137+
<url>http://xujin.org</url>
138+
</developer>
139+
</developers>
49140
</project>

venus-cloud-feign-sample/consumer/pom.xml

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,108 @@
55
<parent>
66
<groupId>cn.springcloud.feign</groupId>
77
<artifactId>venus-cloud-feign-sample</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>venus-cloud-feign-sample-consumer</artifactId>
1313
<packaging>pom</packaging>
14+
15+
<name>venus-cloud-feign-sample-consumer</name>
16+
<url>http://springcloud.cn</url>
17+
<description>venus-cloud-feign-sample-consumer is a consumer in this sample</description>
18+
1419
<modules>
1520
<module>service</module>
1621
</modules>
22+
23+
<profiles>
24+
<profile>
25+
<id>release</id> <!-- 部署要用到 -->
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<artifactId>maven-compiler-plugin</artifactId>
30+
<configuration>
31+
<parameters>true</parameters>
32+
</configuration>
33+
</plugin>
34+
<!-- Source -->
35+
<plugin>
36+
<groupId>org.apache.maven.plugins</groupId>
37+
<artifactId>maven-source-plugin</artifactId>
38+
<version>3.0.1</version>
39+
<executions>
40+
<execution>
41+
<phase>package</phase>
42+
<goals>
43+
<goal>jar-no-fork</goal>
44+
</goals>
45+
</execution>
46+
</executions>
47+
</plugin>
48+
<!-- Javadoc -->
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-javadoc-plugin</artifactId>
52+
<version>2.9.1</version>
53+
<executions>
54+
<execution>
55+
<phase>package</phase>
56+
<goals>
57+
<goal>jar</goal>
58+
</goals>
59+
</execution>
60+
</executions>
61+
</plugin>
62+
<!-- GPG -->
63+
<plugin> <!-- 进行延签 -->
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-gpg-plugin</artifactId>
66+
<version>1.6</version>
67+
<executions>
68+
<execution>
69+
<phase>verify</phase>
70+
<goals>
71+
<goal>sign</goal>
72+
</goals>
73+
</execution>
74+
</executions>
75+
</plugin>
76+
</plugins>
77+
</build>
78+
<distributionManagement>
79+
<snapshotRepository>
80+
<id>oss</id>
81+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
82+
</snapshotRepository>
83+
<repository>
84+
<id>oss</id>
85+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
86+
</repository>
87+
</distributionManagement>
88+
</profile>
89+
</profiles>
90+
91+
<licenses>
92+
<license>
93+
<name>The Apache Software License, Version 2.0</name>
94+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
95+
<comments>A business-friendly OSS license</comments>
96+
</license>
97+
</licenses>
98+
99+
<scm>
100+
<url>https://github.com/SpringCloud/venus-cloud-feign</url>
101+
<connection>scm:git:https://github.com/SpringCloud/venus-cloud-feign.git</connection>
102+
<developerConnection>scm:git:https://github.com/SpringCloud/venus-cloud-feign.git</developerConnection>
103+
</scm>
104+
105+
<developers>
106+
<developer>
107+
<name>xujin</name>
108+
<email>[email protected]</email>
109+
<url>http://xujin.org</url>
110+
</developer>
111+
</developers>
17112
</project>

venus-cloud-feign-sample/consumer/service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>cn.springcloud.feign</groupId>
77
<artifactId>venus-cloud-feign-sample-consumer</artifactId>
8-
<version>0.0.1-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)