|
151 | 151 | </dependencyManagement> |
152 | 152 |
|
153 | 153 | <distributionManagement> |
| 154 | + <snapshotRepository> |
| 155 | + <id>ossrh</id> |
| 156 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 157 | + </snapshotRepository> |
154 | 158 | <repository> |
155 | 159 | <id>ossrh</id> |
156 | 160 | <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
|
159 | 163 |
|
160 | 164 | <profiles> |
161 | 165 | <profile> |
162 | | - <id>java8-doclint-disabled</id> |
163 | | - <activation> |
164 | | - <jdk>[1.8,)</jdk> |
165 | | - </activation> |
166 | | - <properties> |
167 | | - <javadoc.opts>-Xdoclint:none</javadoc.opts> |
168 | | - </properties> |
| 166 | + <id>release</id> |
| 167 | + <build> |
| 168 | + <plugins> |
| 169 | + <plugin> |
| 170 | + <groupId>org.apache.maven.plugins</groupId> |
| 171 | + <artifactId>maven-gpg-plugin</artifactId> |
| 172 | + <version>3.2.5</version> |
| 173 | + <executions> |
| 174 | + <execution> |
| 175 | + <id>ossrh</id> |
| 176 | + <phase>verify</phase> |
| 177 | + <goals> |
| 178 | + <goal>sign</goal> |
| 179 | + </goals> |
| 180 | + <configuration> |
| 181 | + <gpgArguments> |
| 182 | + <arg>--pinentry-mode</arg> |
| 183 | + <arg>loopback</arg> |
| 184 | + </gpgArguments> |
| 185 | + </configuration> |
| 186 | + </execution> |
| 187 | + </executions> |
| 188 | + </plugin> |
| 189 | + <plugin> |
| 190 | + <groupId>org.sonatype.central</groupId> |
| 191 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 192 | + <version>0.5.0</version> |
| 193 | + <extensions>true</extensions> |
| 194 | + <configuration> |
| 195 | + <publishingServerId>ossrh</publishingServerId> |
| 196 | + </configuration> |
| 197 | + </plugin> |
| 198 | + </plugins> |
| 199 | + </build> |
169 | 200 | </profile> |
170 | 201 | </profiles> |
171 | 202 |
|
|
174 | 205 | <plugin> |
175 | 206 | <groupId>org.apache.maven.plugins</groupId> |
176 | 207 | <artifactId>maven-compiler-plugin</artifactId> |
177 | | - <version>3.1</version> |
| 208 | + <version>3.11.0</version> |
178 | 209 | <configuration> |
179 | 210 | <source>1.8</source> |
180 | 211 | <target>1.8</target> |
181 | 212 | <encoding>UTF-8</encoding> |
| 213 | + <compilerArgs> |
| 214 | + <arg>-parameters</arg> |
| 215 | + </compilerArgs> |
| 216 | + </configuration> |
| 217 | + </plugin> |
| 218 | + <plugin> |
| 219 | + <groupId>org.apache.maven.plugins</groupId> |
| 220 | + <artifactId>maven-resources-plugin</artifactId> |
| 221 | + <version>3.3.1</version> |
| 222 | + <configuration> |
| 223 | + <encoding>UTF-8</encoding> |
182 | 224 | </configuration> |
183 | 225 | </plugin> |
184 | 226 | <plugin> |
185 | 227 | <groupId>org.apache.maven.plugins</groupId> |
186 | 228 | <artifactId>maven-source-plugin</artifactId> |
187 | | - <version>2.2.1</version> |
| 229 | + <version>3.3.0</version> |
188 | 230 | <executions> |
189 | 231 | <execution> |
190 | 232 | <id>attach-sources</id> |
|
197 | 239 | <plugin> |
198 | 240 | <groupId>org.apache.maven.plugins</groupId> |
199 | 241 | <artifactId>maven-javadoc-plugin</artifactId> |
200 | | - <version>2.9</version> |
| 242 | + <version>3.6.3</version> |
| 243 | + <configuration> |
| 244 | + <encoding>UTF-8</encoding> |
| 245 | + <charset>UTF-8</charset> |
| 246 | + <docencoding>UTF-8</docencoding> |
| 247 | + <doclint>none</doclint> |
| 248 | + <source>1.8</source> |
| 249 | + </configuration> |
201 | 250 | <executions> |
202 | 251 | <execution> |
203 | 252 | <id>attach-javadocs</id> |
204 | 253 | <goals> |
205 | 254 | <goal>jar</goal> |
206 | 255 | </goals> |
207 | | - <configuration> |
208 | | - <javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable> |
209 | | - <additionalparam>${javadoc.opts}</additionalparam> |
210 | | - </configuration> |
211 | | - </execution> |
212 | | - </executions> |
213 | | - </plugin> |
214 | | - <plugin> |
215 | | - <groupId>org.apache.maven.plugins</groupId> |
216 | | - <artifactId>maven-gpg-plugin</artifactId> |
217 | | - <version>1.5</version> |
218 | | - <executions> |
219 | | - <execution> |
220 | | - <id>ossrh</id> |
221 | | - <phase>verify</phase> |
222 | | - <goals> |
223 | | - <goal>sign</goal> |
224 | | - </goals> |
225 | | - <configuration> |
226 | | - <gpgArguments> |
227 | | - <arg>--pinentry-mode</arg> |
228 | | - <arg>loopback</arg> |
229 | | - </gpgArguments> |
230 | | - </configuration> |
231 | 256 | </execution> |
232 | 257 | </executions> |
233 | 258 | </plugin> |
|
0 commit comments