6
6
7
7
<groupId >io.jpower.kcp</groupId >
8
8
<artifactId >kcp-parent</artifactId >
9
- <version >1.1.0-SNAPSHOT </version >
9
+ <version >1.1.0</version >
10
10
<packaging >pom</packaging >
11
11
12
+ <name >kcp-netty [Parent]</name >
13
+ <url >http://kcp.jpower.io/</url >
14
+ <description >
15
+ Java implementation of KCP based on Netty
16
+ </description >
17
+
12
18
<properties >
13
19
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
20
</properties >
15
21
22
+ <licenses >
23
+ <license >
24
+ <name >The MIT License</name >
25
+ <url >https://opensource.org/licenses/MIT</url >
26
+ </license >
27
+ </licenses >
28
+
29
+ <developers >
30
+ <developer >
31
+ <id >szhnet</id >
32
+ <name >Zheng Sun</name >
33
+
34
+ </developer >
35
+ </developers >
36
+
37
+ <scm >
38
+ <url >https://github.com/szhnet/kcp-netty</url >
39
+ <connection >scm:git:git://github.com/szhnet/kcp-netty.git</connection >
40
+ </scm >
41
+
42
+ <distributionManagement >
43
+ <snapshotRepository >
44
+ <id >sonatype-nexus-staging</id >
45
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
46
+ </snapshotRepository >
47
+ <repository >
48
+ <id >sonatype-nexus-staging</id >
49
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
50
+ </repository >
51
+ </distributionManagement >
52
+
16
53
<dependencyManagement >
17
54
<dependencies >
18
55
<dependency >
48
85
<artifactId >maven-source-plugin</artifactId >
49
86
<version >3.0.1</version >
50
87
</plugin >
88
+ <plugin >
89
+ <groupId >org.apache.maven.plugins</groupId >
90
+ <artifactId >maven-javadoc-plugin</artifactId >
91
+ <version >2.9.1</version >
92
+ </plugin >
93
+ <plugin >
94
+ <groupId >org.apache.maven.plugins</groupId >
95
+ <artifactId >maven-gpg-plugin</artifactId >
96
+ <version >1.6</version >
97
+ </plugin >
98
+ <plugin >
99
+ <groupId >org.sonatype.plugins</groupId >
100
+ <artifactId >nexus-staging-maven-plugin</artifactId >
101
+ <version >1.6.8</version >
102
+ </plugin >
51
103
</plugins >
52
104
</pluginManagement >
53
105
61
113
<fork >true</fork >
62
114
</configuration >
63
115
</plugin >
64
-
65
- <plugin >
66
- <groupId >org.apache.maven.plugins</groupId >
67
- <artifactId >maven-source-plugin</artifactId >
68
- <configuration >
69
- </configuration >
70
- <executions >
71
- <execution >
72
- <id >attach-sources</id >
73
- <goals >
74
- <goal >jar</goal >
75
- </goals >
76
- </execution >
77
- </executions >
78
- </plugin >
79
116
</plugins >
80
117
</build >
81
118
119
+ <profiles >
120
+ <profile >
121
+ <id >release</id >
122
+ <build >
123
+ <plugins >
124
+ <plugin >
125
+ <groupId >org.apache.maven.plugins</groupId >
126
+ <artifactId >maven-source-plugin</artifactId >
127
+ <configuration >
128
+ </configuration >
129
+ <executions >
130
+ <execution >
131
+ <id >attach-sources</id >
132
+ <goals >
133
+ <goal >jar-no-fork</goal >
134
+ </goals >
135
+ </execution >
136
+ </executions >
137
+ </plugin >
138
+ <plugin >
139
+ <groupId >org.apache.maven.plugins</groupId >
140
+ <artifactId >maven-javadoc-plugin</artifactId >
141
+ <configuration >
142
+ </configuration >
143
+ <executions >
144
+ <execution >
145
+ <id >attach-javadocs</id >
146
+ <goals >
147
+ <goal >jar</goal >
148
+ </goals >
149
+ </execution >
150
+ </executions >
151
+ </plugin >
152
+ <plugin >
153
+ <groupId >org.apache.maven.plugins</groupId >
154
+ <artifactId >maven-gpg-plugin</artifactId >
155
+ <executions >
156
+ <execution >
157
+ <id >sign-artifacts</id >
158
+ <phase >verify</phase >
159
+ <goals >
160
+ <goal >sign</goal >
161
+ </goals >
162
+ </execution >
163
+ </executions >
164
+ </plugin >
165
+ <plugin >
166
+ <groupId >org.sonatype.plugins</groupId >
167
+ <artifactId >nexus-staging-maven-plugin</artifactId >
168
+ <extensions >true</extensions >
169
+ <configuration >
170
+ <serverId >sonatype-nexus-staging</serverId >
171
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
172
+ <autoReleaseAfterClose >false</autoReleaseAfterClose >
173
+ </configuration >
174
+ </plugin >
175
+ </plugins >
176
+ </build >
177
+ </profile >
178
+ </profiles >
82
179
83
180
</project >
0 commit comments