|
5 | 5 |
|
6 | 6 | <groupId>cn.springcloud.feign</groupId> |
7 | 7 | <artifactId>venus-cloud-feign</artifactId> |
8 | | - <version>0.0.1-SNAPSHOT</version> |
| 8 | + <version>1.0.0</version> |
9 | 9 | <packaging>pom</packaging> |
10 | 10 |
|
11 | 11 | <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> |
13 | 14 |
|
14 | 15 | <modules> |
15 | 16 | <module>venus-cloud-feign-core</module> |
|
38 | 39 | </dependencies> |
39 | 40 | </dependencyManagement> |
40 | 41 |
|
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> |
51 | 109 |
|
| 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 | + |
| 128 | + <url>http://xujin.org</url> |
| 129 | + </developer> |
| 130 | + </developers> |
52 | 131 |
|
53 | 132 | </project> |
0 commit comments