|
122 | 122 | <build> |
123 | 123 | <plugins> |
124 | 124 | <plugin> |
125 | | - <groupId>org.apache.maven.plugins</groupId> |
126 | 125 | <artifactId>maven-release-plugin</artifactId> |
127 | | - <version>2.5.3</version> |
128 | 126 | <configuration> |
129 | 127 | <useReleaseProfile>false</useReleaseProfile> |
130 | 128 | <releaseProfiles>gpg</releaseProfiles> |
|
133 | 131 | </configuration> |
134 | 132 | </plugin> |
135 | 133 | <plugin> |
136 | | - <groupId>org.apache.maven.plugins</groupId> |
137 | 134 | <artifactId>maven-deploy-plugin</artifactId> |
138 | | - <version>2.8.2</version> |
139 | 135 | <configuration> |
140 | 136 | <skip>${maven-deploy-plugin.skip}</skip> |
141 | 137 | </configuration> |
142 | 138 | </plugin> |
143 | 139 | <plugin> |
144 | | - <groupId>org.apache.maven.plugins</groupId> |
145 | 140 | <artifactId>maven-source-plugin</artifactId> |
146 | | - <version>3.1.0</version> |
147 | 141 | <executions> |
148 | 142 | <execution> |
149 | 143 | <id>generate-source-jar</id> |
|
155 | 149 | </executions> |
156 | 150 | </plugin> |
157 | 151 | <plugin> |
158 | | - <groupId>org.apache.maven.plugins</groupId> |
159 | 152 | <artifactId>maven-javadoc-plugin</artifactId> |
160 | | - <version>3.1.1</version> |
161 | 153 | <configuration> |
162 | 154 | <additionalOptions>-html5</additionalOptions> |
163 | 155 | <source>${maven.compiler.target}</source> |
|
174 | 166 | <plugin> |
175 | 167 | <groupId>org.codehaus.mojo</groupId> |
176 | 168 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
177 | | - <version>1.18</version> |
178 | 169 | <executions> |
179 | 170 | <execution> |
180 | 171 | <id>signature-check</id> |
|
195 | 186 |
|
196 | 187 | <plugin> |
197 | 188 | <artifactId>maven-surefire-plugin</artifactId> |
198 | | - <version>2.19.1</version> |
199 | 189 | <configuration> |
200 | 190 | <enableAssertions>true</enableAssertions> |
201 | 191 | <trimStackTrace>false</trimStackTrace> |
202 | 192 | </configuration> |
203 | | - <dependencies> |
204 | | - <dependency> |
205 | | - <groupId>org.junit.platform</groupId> |
206 | | - <artifactId>junit-platform-surefire-provider</artifactId> |
207 | | - <version>1.1.1</version> |
208 | | - </dependency> |
209 | | - <dependency> |
210 | | - <groupId>org.junit.jupiter</groupId> |
211 | | - <artifactId>junit-jupiter-engine</artifactId> |
212 | | - <version>${version.junit-jupiter}</version> |
213 | | - </dependency> |
214 | | - </dependencies> |
215 | 193 | </plugin> |
216 | 194 | <plugin> |
217 | | - <groupId>org.apache.maven.plugins</groupId> |
218 | 195 | <artifactId>maven-compiler-plugin</artifactId> |
219 | | - <version>3.8.1</version> |
220 | 196 | <configuration> |
221 | 197 | <source>${maven.compiler.target}</source> |
222 | 198 | <target>${maven.compiler.target}</target> |
|
228 | 204 | <plugin> |
229 | 205 | <groupId>com.coderplus.maven.plugins</groupId> |
230 | 206 | <artifactId>copy-rename-maven-plugin</artifactId> |
231 | | - <version>1.0</version> |
232 | 207 | <executions> |
233 | 208 | <execution> |
234 | 209 | <id>copy-file</id> |
|
239 | 214 | <configuration> |
240 | 215 | <fileSets> |
241 | 216 | <fileSet> |
242 | | - <sourceFile>../LICENSE</sourceFile> |
| 217 | + <sourceFile>${parent.base.dir}/LICENSE</sourceFile> |
243 | 218 | <destinationFile>target/classes/META-INF/LICENSE</destinationFile> |
244 | 219 | </fileSet> |
245 | 220 | </fileSets> |
|
250 | 225 | <plugin> |
251 | 226 | <groupId>org.codehaus.mojo</groupId> |
252 | 227 | <artifactId>license-maven-plugin</artifactId> |
253 | | - <version>1.19</version> |
254 | 228 | <configuration> |
255 | 229 | <verbose>false</verbose> |
256 | 230 | <licenseName>apache2_license</licenseName> |
|
283 | 257 | </executions> |
284 | 258 | </plugin> |
285 | 259 | </plugins> |
| 260 | + |
| 261 | + <pluginManagement> |
| 262 | + <plugins> |
| 263 | + <plugin> |
| 264 | + <artifactId>maven-jar-plugin</artifactId> |
| 265 | + <version>3.1.2</version> |
| 266 | + </plugin> |
| 267 | + <plugin> |
| 268 | + <artifactId>maven-compiler-plugin</artifactId> |
| 269 | + <version>3.8.1</version> |
| 270 | + </plugin> |
| 271 | + <plugin> |
| 272 | + <artifactId>maven-source-plugin</artifactId> |
| 273 | + <version>3.1.0</version> |
| 274 | + </plugin> |
| 275 | + <plugin> |
| 276 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 277 | + <version>3.1.1</version> |
| 278 | + </plugin> |
| 279 | + <plugin> |
| 280 | + <artifactId>maven-surefire-plugin</artifactId> |
| 281 | + <version>2.19.1</version> |
| 282 | + <dependencies> |
| 283 | + <dependency> |
| 284 | + <groupId>org.junit.platform</groupId> |
| 285 | + <artifactId>junit-platform-surefire-provider</artifactId> |
| 286 | + <version>1.1.1</version> |
| 287 | + </dependency> |
| 288 | + <dependency> |
| 289 | + <groupId>org.junit.jupiter</groupId> |
| 290 | + <artifactId>junit-jupiter-engine</artifactId> |
| 291 | + <version>${version.junit-jupiter}</version> |
| 292 | + </dependency> |
| 293 | + </dependencies> |
| 294 | + </plugin> |
| 295 | + <plugin> |
| 296 | + <artifactId>maven-install-plugin</artifactId> |
| 297 | + <version>2.4</version> |
| 298 | + </plugin> |
| 299 | + <plugin> |
| 300 | + <artifactId>maven-release-plugin</artifactId> |
| 301 | + <version>2.5.3</version> |
| 302 | + </plugin> |
| 303 | + <plugin> |
| 304 | + <artifactId>maven-deploy-plugin</artifactId> |
| 305 | + <version>2.8.2</version> |
| 306 | + </plugin> |
| 307 | + <plugin> |
| 308 | + <groupId>org.codehaus.mojo</groupId> |
| 309 | + <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 310 | + <version>1.18</version> |
| 311 | + </plugin> |
| 312 | + <plugin> |
| 313 | + <groupId>org.codehaus.mojo</groupId> |
| 314 | + <artifactId>license-maven-plugin</artifactId> |
| 315 | + <version>1.19</version> |
| 316 | + </plugin> |
| 317 | + <plugin> |
| 318 | + <groupId>com.coderplus.maven.plugins</groupId> |
| 319 | + <artifactId>copy-rename-maven-plugin</artifactId> |
| 320 | + <version>1.0</version> |
| 321 | + </plugin> |
| 322 | + |
| 323 | + </plugins> |
| 324 | + </pluginManagement> |
| 325 | + |
286 | 326 | </build> |
287 | 327 | <dependencies> |
288 | 328 | <dependency> |
|
0 commit comments