182182 <filtering >true</filtering >
183183 </testResource >
184184 </testResources >
185+ <pluginManagement >
186+ <plugins >
187+ <plugin >
188+ <groupId >org.apache.maven.plugins</groupId >
189+ <artifactId >maven-jar-plugin</artifactId >
190+ <version >3.5.0</version >
191+ </plugin >
192+ <plugin >
193+ <groupId >org.apache.maven.plugins</groupId >
194+ <artifactId >maven-source-plugin</artifactId >
195+ <version >3.3.1</version >
196+ </plugin >
197+ <plugin >
198+ <groupId >org.apache.maven.plugins</groupId >
199+ <artifactId >maven-javadoc-plugin</artifactId >
200+ <version >3.12.0</version >
201+ </plugin >
202+ <plugin >
203+ <groupId >org.apache.maven.plugins</groupId >
204+ <artifactId >maven-gpg-plugin</artifactId >
205+ <version >3.2.8</version >
206+ </plugin >
207+ <plugin >
208+ <groupId >org.sonatype.central</groupId >
209+ <artifactId >central-publishing-maven-plugin</artifactId >
210+ <version >0.9.0</version >
211+ <extensions >true</extensions >
212+ </plugin >
213+ </plugins >
214+ </pluginManagement >
185215
186216 <plugins >
187217 <!-- Maven Compiler Plugin -->
276306 </executions >
277307 </plugin >
278308
279- <!-- Versions Maven Plugin for dependency version management -->
309+ <!-- Build version plugin -->
280310 <plugin >
281- <groupId >org.codehaus.mojo</groupId >
282- <artifactId >versions-maven-plugin</artifactId >
283- <version >2.21.0</version >
311+ <groupId >com.code54.mojo</groupId >
312+ <artifactId >buildversion-plugin</artifactId >
313+ <version >1.0.3</version >
314+ <executions >
315+ <execution >
316+ <phase >validate</phase >
317+ <goals >
318+ <goal >set-properties</goal >
319+ </goals >
320+ </execution >
321+ </executions >
284322 </plugin >
285- <!-- Maven depedency plugin -->
323+
286324 <plugin >
287325 <groupId >org.apache.maven.plugins</groupId >
288326 <artifactId >maven-dependency-plugin</artifactId >
289327 <version >3.9.0</version >
328+ <executions >
329+ <execution >
330+ <id >analyze</id >
331+ <goals >
332+ <goal >analyze-only</goal >
333+ </goals >
334+ <configuration >
335+ <failOnWarning >true</failOnWarning >
336+ <ignoredUnusedDeclaredDependencies >
337+ <ignoredUnusedDeclaredDependency >org.apache.maven:maven-compat:jar</ignoredUnusedDeclaredDependency >
338+ </ignoredUnusedDeclaredDependencies >
339+ <ignoredUsedUndeclaredDependencies >
340+ <!-- NOTE: the maven-dependency-plugin insists that we need this, seems to be
341+ some sort of missing transient dependency for maven-invoker-plugin ITs -->
342+ <ignoredUsedUndeclaredDependency >org.eclipse.sisu:org.eclipse.sisu.plexus:jar</ignoredUsedUndeclaredDependency >
343+ </ignoredUsedUndeclaredDependencies >
344+ <ignoredNonTestScopedDependencies >
345+ <ignoredNonTestScopedDependency >org.eclipse.sisu:org.eclipse.sisu.plexus:jar</ignoredNonTestScopedDependency >
346+ </ignoredNonTestScopedDependencies >
347+ </configuration >
348+ </execution >
349+ </executions >
290350 </plugin >
291- <!-- MAven Jar plugin -->
351+
352+ <!-- Maven Jar plugin -->
292353 <plugin >
293354 <groupId >org.apache.maven.plugins</groupId >
294355 <artifactId >maven-jar-plugin</artifactId >
295- <version >3.5.0</version >
356+ <configuration >
357+ <archive >
358+ <manifest >
359+ <addDefaultSpecificationEntries >true</addDefaultSpecificationEntries >
360+ <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
361+ </manifest >
362+ <manifestEntries >
363+ <Build-Tag >${build-tag} </Build-Tag >
364+ <Git-Commit >${build-commit} </Git-Commit >
365+ <Git-Commit-Abbrev >${build-commit-abbrev} </Git-Commit-Abbrev >
366+ <Git-Commit-Timestamp >${build-tstamp} </Git-Commit-Timestamp >
367+ <Build-Version >${build-version} </Build-Version >
368+ <Build-Timestamp >${maven.build.timestamp} </Build-Timestamp >
369+ <Source-Repository >${project.scm.connection} </Source-Repository >
370+ <Description >${project.description} </Description >
371+ <Implementation-URL >${project.url} </Implementation-URL >
372+ </manifestEntries >
373+ </archive >
374+ </configuration >
296375 </plugin >
297- <!-- Maven Source Plugin -->
376+
377+ <!-- Maven Source plugin -->
298378 <plugin >
299379 <groupId >org.apache.maven.plugins</groupId >
300380 <artifactId >maven-source-plugin</artifactId >
301- <version >3.4.0</version >
381+ <configuration >
382+ <archive >
383+ <manifest >
384+ <addDefaultSpecificationEntries >true</addDefaultSpecificationEntries >
385+ <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
386+ </manifest >
387+ <manifestEntries >
388+ <Build-Tag >${build-tag} </Build-Tag >
389+ <Git-Commit >${build-commit} </Git-Commit >
390+ <Git-Commit-Abbrev >${build-commit-abbrev} </Git-Commit-Abbrev >
391+ <Build-Version >${build-version} </Build-Version >
392+ <Build-Timestamp >${build-tstamp} </Build-Timestamp >
393+ <Source-Repository >${project.scm.connection} </Source-Repository >
394+ <Description >${project.description} </Description >
395+ <Implementation-URL >${project.url} </Implementation-URL >
396+ </manifestEntries >
397+ </archive >
398+ </configuration >
302399 </plugin >
303- <!-- Maven Javadoc Plugin -->
400+
401+ <!-- Maven Javadoc plugin -->
304402 <plugin >
305403 <groupId >org.apache.maven.plugins</groupId >
306404 <artifactId >maven-javadoc-plugin</artifactId >
307- <version >3.12.0</version >
405+ <configuration >
406+ <archive >
407+ <manifest >
408+ <addDefaultSpecificationEntries >true</addDefaultSpecificationEntries >
409+ <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
410+ </manifest >
411+ <manifestEntries >
412+ <Build-Tag >${build-tag} </Build-Tag >
413+ <Git-Commit >${build-commit} </Git-Commit >
414+ <Git-Commit-Abbrev >${build-commit-abbrev} </Git-Commit-Abbrev >
415+ <Build-Version >${build-version} </Build-Version >
416+ <Build-Timestamp >${build-tstamp} </Build-Timestamp >
417+ <Source-Repository >${project.scm.connection} </Source-Repository >
418+ <Description >${project.description} </Description >
419+ <Implementation-URL >${project.url} </Implementation-URL >
420+ </manifestEntries >
421+ </archive >
422+ </configuration >
308423 </plugin >
309- <!-- Maven Release Plugin -->
424+
425+ <!-- Maven Release plugin -->
310426 <plugin >
311427 <groupId >org.apache.maven.plugins</groupId >
312428 <artifactId >maven-release-plugin</artifactId >
313- <version >3.3.1</version >
314- </plugin >
315- <!-- Maven GPG Plugin -->
316- <plugin >
317- <groupId >org.apache.maven.plugins</groupId >
318- <artifactId >maven-gpg-plugin</artifactId >
319- <version >3.2.8</version >
320- </plugin >
321- <!-- Maven Compiler Plugin -->
322- <plugin >
323- <groupId >org.apache.maven.plugins</groupId >
324- <artifactId >maven-compiler-plugin</artifactId >
325- <version >3.14.1</version >
326- </plugin >
327- <!-- Central publishing plugin -->
328- <plugin >
329- <groupId >org.sonatype.central</groupId >
330- <artifactId >central-publishing-maven-plugin</artifactId >
331- <version >0.9.0</version >
332- <extensions >true</extensions >
429+ <version >3.2.0</version >
333430 <configuration >
334- <publishingServerId >central</publishingServerId >
431+ <autoVersionSubmodules >true</autoVersionSubmodules >
432+ <tagNameFormat >bbl-validator-@{project.version}</tagNameFormat >
433+ <releaseProfiles >bbl-validator</releaseProfiles >
335434 </configuration >
336435 </plugin >
436+
437+
337438 </plugins >
338439 </build >
339440</project >
0 commit comments