|
79 | 79 | <properties>
|
80 | 80 | <!-- see http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding -->
|
81 | 81 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
82 |
| - <project.build.targetJdk>1.8</project.build.targetJdk> |
| 82 | + <project.build.targetJdk>21</project.build.targetJdk> |
83 | 83 | <project.report.outputEncoding>UTF-8</project.report.outputEncoding>
|
84 | 84 | <project.report.inputEncoding>UTF-8</project.report.inputEncoding>
|
85 | 85 |
|
| 86 | + |
86 | 87 | <!-- airlift build specific options are prefixed air.build. -->
|
87 | 88 |
|
88 | 89 | <!-- Default jvm size for compiler, tests etc. -->
|
|
176 | 177 | <dep.packaging.version>0.163</dep.packaging.version>
|
177 | 178 |
|
178 | 179 | <!-- Dependency versions that should be the same everywhere. -->
|
179 |
| - <dep.guice.version>4.2.2</dep.guice.version> |
180 |
| - <dep.guava.version>26.0-jre</dep.guava.version> |
181 |
| - <dep.slf4j.version>1.7.25</dep.slf4j.version> |
| 180 | + <dep.guice.version>5.0.1</dep.guice.version> |
| 181 | + <dep.guava.version>32.1.0-jre</dep.guava.version> |
| 182 | + <dep.slf4j.version>2.0.16</dep.slf4j.version> |
182 | 183 | <dep.logback.version>1.2.3</dep.logback.version>
|
183 | 184 | <dep.javax-inject.version>1</dep.javax-inject.version>
|
184 | 185 | <dep.javax-validation.version>2.0.1.Final</dep.javax-validation.version>
|
185 | 186 | <dep.javax-servlet.version>3.1.0</dep.javax-servlet.version>
|
186 | 187 | <dep.bval.version>2.0.0</dep.bval.version>
|
187 |
| - <dep.jackson.version>2.10.0</dep.jackson.version> |
| 188 | + <dep.jackson.version>2.11.0</dep.jackson.version> |
188 | 189 | <dep.jmxutils.version>1.19</dep.jmxutils.version>
|
189 |
| - <dep.cglib.version>3.2.5</dep.cglib.version> |
| 190 | + <dep.cglib.version>3.3.0</dep.cglib.version> |
190 | 191 | <dep.joda.version>2.9.9</dep.joda.version>
|
191 |
| - <dep.spotbugs-annotations.version>3.1.10</dep.spotbugs-annotations.version> |
| 192 | + <dep.spotbugs-annotations.version>4.8.6</dep.spotbugs-annotations.version> |
192 | 193 | <dep.testng.version>6.9.6</dep.testng.version>
|
193 | 194 | <dep.assertj-core.version>3.5.2</dep.assertj-core.version>
|
194 | 195 | <dep.assertj-guava.version>3.1.0</dep.assertj-guava.version>
|
|
197 | 198 | <dep.hamcrest.version>1.3</dep.hamcrest.version>
|
198 | 199 | <dep.mockito.version>1.9.5</dep.mockito.version>
|
199 | 200 | <dep.objenesis.version>1.3</dep.objenesis.version>
|
200 |
| - <dep.slice.version>0.34</dep.slice.version> |
201 | 201 | <dep.jmh.version>1.20</dep.jmh.version>
|
202 | 202 |
|
203 | 203 | <!-- license headers -->
|
|
211 | 211 |
|
212 | 212 | <!-- nexus-staging-maven-plugin version -->
|
213 | 213 | <dep.nexus-staging-plugin.version>1.6.8</dep.nexus-staging-plugin.version>
|
| 214 | + <dep.maven-resources-plugin.version>3.3.1</dep.maven-resources-plugin.version> |
| 215 | + <dep.plugin.pmd-runtime.version>7.7.0</dep.plugin.pmd-runtime.version> |
214 | 216 | </properties>
|
215 | 217 |
|
216 | 218 | <build>
|
|
242 | 244 | <groupId>org.apache.maven.plugins</groupId>
|
243 | 245 | <artifactId>maven-deploy-plugin</artifactId>
|
244 | 246 | <version>3.1.1</version>
|
| 247 | + <configuration> |
| 248 | + <allowIncompleteProjects>true</allowIncompleteProjects> |
| 249 | + </configuration> |
245 | 250 | </plugin>
|
246 | 251 |
|
247 | 252 | <plugin>
|
|
254 | 259 | <groupId>org.apache.maven.plugins</groupId>
|
255 | 260 | <artifactId>maven-install-plugin</artifactId>
|
256 | 261 | <version>3.1.1</version>
|
| 262 | + <configuration> |
| 263 | + <allowIncompleteProjects>true</allowIncompleteProjects> |
| 264 | + </configuration> |
257 | 265 | </plugin>
|
258 | 266 |
|
259 | 267 | <plugin>
|
|
265 | 273 | <plugin>
|
266 | 274 | <groupId>org.apache.maven.plugins</groupId>
|
267 | 275 | <artifactId>maven-enforcer-plugin</artifactId>
|
268 |
| - <version>3.0.0-M2</version> |
| 276 | + <version>3.5.0</version> |
269 | 277 | <dependencies>
|
270 | 278 | <dependency>
|
271 | 279 | <groupId>org.codehaus.mojo</groupId>
|
272 | 280 | <artifactId>extra-enforcer-rules</artifactId>
|
273 |
| - <version>1.1</version> |
| 281 | + <version>1.9.0</version> |
274 | 282 | </dependency>
|
275 | 283 | </dependencies>
|
276 | 284 | <executions>
|
|
345 | 353 | <plugin>
|
346 | 354 | <groupId>org.apache.maven.plugins</groupId>
|
347 | 355 | <artifactId>maven-dependency-plugin</artifactId>
|
348 |
| - <version>3.1.1</version> |
349 |
| - <dependencies> |
350 |
| - <!-- TODO: remove after updating to 3.1.2 --> |
351 |
| - <!-- see https://issues.apache.org/jira/browse/MDEP-613 --> |
352 |
| - <dependency> |
353 |
| - <groupId>org.apache.maven.shared</groupId> |
354 |
| - <artifactId>maven-dependency-analyzer</artifactId> |
355 |
| - <version>1.11.1</version> |
356 |
| - </dependency> |
357 |
| - </dependencies> |
| 356 | + <version>3.8.1</version> |
358 | 357 | <configuration>
|
359 | 358 | <skip>${air.check.skip-dependency}</skip>
|
360 | 359 | <failOnWarning>${air.check.fail-dependency}</failOnWarning>
|
|
387 | 386 | <fork>true</fork>
|
388 | 387 | <compilerArgs>
|
389 | 388 | <!-- Revert to <parameters>true</parameters> once IntelliJ 183.888 is widespread -->
|
390 |
| - <arg>-parameters</arg> |
| 389 | + <parameters>true</parameters> |
391 | 390 | </compilerArgs>
|
392 | 391 | </configuration>
|
393 | 392 | </plugin>
|
|
396 | 395 | <plugin>
|
397 | 396 | <groupId>org.apache.maven.plugins</groupId>
|
398 | 397 | <artifactId>maven-resources-plugin</artifactId>
|
399 |
| - <version>2.6</version> |
| 398 | + <version>${dep.maven-resources-plugin.version}</version> |
400 | 399 | <configuration>
|
401 | 400 | <encoding>${project.build.sourceEncoding}</encoding>
|
402 | 401 | </configuration>
|
|
667 | 666 | <plugin>
|
668 | 667 | <groupId>com.github.spotbugs</groupId>
|
669 | 668 | <artifactId>spotbugs-maven-plugin</artifactId>
|
670 |
| - <version>3.1.10</version> |
| 669 | + <version>4.8.6.5</version> |
671 | 670 | <configuration>
|
672 | 671 | <skip>${air.check.skip-spotbugs}</skip>
|
673 | 672 | <jvmArgs>-Xmx${air.build.jvmsize}</jvmArgs>
|
|
687 | 686 | <plugin>
|
688 | 687 | <groupId>org.apache.maven.plugins</groupId>
|
689 | 688 | <artifactId>maven-pmd-plugin</artifactId>
|
690 |
| - <version>3.11.0</version> |
| 689 | + <version>3.26.0</version> |
691 | 690 | <configuration>
|
692 | 691 | <skip>${air.check.skip-pmd}</skip>
|
693 | 692 | <failOnViolation>${air.check.fail-pmd}</failOnViolation>
|
694 | 693 | <targetJdk>${project.build.targetJdk}</targetJdk>
|
695 |
| - <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding> |
696 | 694 | <minimumTokens>100</minimumTokens>
|
697 | 695 | <excludes>
|
698 | 696 | <exclude>**/*Bean.java</exclude>
|
|
702 | 700 | <excludeRoot>target/generated-sources/stubs</excludeRoot>
|
703 | 701 | </excludeRoots>
|
704 | 702 | <rulesets>
|
705 |
| - <ruleset>/rulesets/java/basic.xml</ruleset> |
706 |
| - <ruleset>/rulesets/java/clone.xml</ruleset> |
707 |
| - <ruleset>/rulesets/java/finalizers.xml</ruleset> |
| 703 | + <ruleset>/category/java/performance.xml</ruleset> |
| 704 | + <!-- These generate hundreds of errors across the codebase --> |
| 705 | + <!-- <ruleset>/category/java/bestpractices.xml</ruleset> --> |
| 706 | + <!-- <ruleset>/category/java/errorprone.xml</ruleset> --> |
708 | 707 | </rulesets>
|
709 | 708 | </configuration>
|
710 | 709 | <executions>
|
|
736 | 735 | <skip>${air.check.skip-license}</skip>
|
737 | 736 | <skipExistingHeaders>true</skipExistingHeaders>
|
738 | 737 | <failIfMissing>${air.check.fail-license}</failIfMissing>
|
739 |
| - <header>${air.license.header-file}</header> |
740 | 738 | <mapping>
|
741 | 739 | <java>SLASHSTAR_STYLE</java>
|
742 | 740 | <g>SLASHSTAR_STYLE</g>
|
|
745 | 743 | <properties>
|
746 | 744 | <inceptionYear>${project.inceptionYear}</inceptionYear>
|
747 | 745 | </properties>
|
748 |
| - <headerSections> |
749 |
| - <headerSection> |
750 |
| - <key>COPYRIGHT_SECTION</key> |
751 |
| - <defaultValue>${air.license.default-value}</defaultValue> |
752 |
| - <ensureMatch>${air.license.ensure-match}</ensureMatch> |
753 |
| - <multiLineMatch>false</multiLineMatch> |
754 |
| - </headerSection> |
755 |
| - </headerSections> |
756 | 746 | <strictCheck>true</strictCheck>
|
757 | 747 | <aggregate>true</aggregate>
|
758 | 748 | <useDefaultExcludes>true</useDefaultExcludes>
|
759 | 749 | <encoding>${project.build.sourceEncoding}</encoding>
|
760 |
| - <excludes> |
761 |
| - <exclude>.*/**</exclude> |
762 |
| - <exclude>**/*.md</exclude> |
763 |
| - <exclude>**/*.sh</exclude> |
764 |
| - <exclude>**/*.txt</exclude> |
765 |
| - <exclude>**/*.thrift</exclude> |
766 |
| - <exclude>**/*.sql</exclude> |
767 |
| - <exclude>**/*.releaseBackup</exclude> |
768 |
| - <exclude>**/*.st</exclude> |
769 |
| - <exclude>**/*.raw</exclude> |
770 |
| - <exclude>**/*.ser</exclude> |
771 |
| - <exclude>**/*.html</exclude> |
772 |
| - <exclude>**/*.rst</exclude> |
773 |
| - <exclude>**/*.xml</exclude> |
774 |
| - <exclude>**/*.csv</exclude> |
775 |
| - <exclude>**/*.tsv</exclude> |
776 |
| - <exclude>**/*.properties</exclude> |
777 |
| - <exclude>**/src/license/**</exclude> |
778 |
| - <exclude>**/src/*/resources/**</exclude> |
779 |
| - </excludes> |
780 |
| - <includes> |
781 |
| - <include>src/**</include> |
782 |
| - </includes> |
| 750 | + <licenseSets> |
| 751 | + <licenseSet> |
| 752 | + <header>${air.license.header-file}</header> |
| 753 | + <headerSections> |
| 754 | + <headerSection> |
| 755 | + <key>COPYRIGHT_SECTION</key> |
| 756 | + <defaultValue>${air.license.default-value}</defaultValue> |
| 757 | + <ensureMatch>${air.license.ensure-match}</ensureMatch> |
| 758 | + <multiLineMatch>false</multiLineMatch> |
| 759 | + </headerSection> |
| 760 | + </headerSections> |
| 761 | + <excludes> |
| 762 | + <exclude>.*/**</exclude> |
| 763 | + <exclude>**/*.md</exclude> |
| 764 | + <exclude>**/*.sh</exclude> |
| 765 | + <exclude>**/*.txt</exclude> |
| 766 | + <exclude>**/*.thrift</exclude> |
| 767 | + <exclude>**/*.sql</exclude> |
| 768 | + <exclude>**/*.releaseBackup</exclude> |
| 769 | + <exclude>**/*.st</exclude> |
| 770 | + <exclude>**/*.raw</exclude> |
| 771 | + <exclude>**/*.ser</exclude> |
| 772 | + <exclude>**/*.html</exclude> |
| 773 | + <exclude>**/*.rst</exclude> |
| 774 | + <exclude>**/*.xml</exclude> |
| 775 | + <exclude>**/*.csv</exclude> |
| 776 | + <exclude>**/*.tsv</exclude> |
| 777 | + <exclude>**/*.properties</exclude> |
| 778 | + <exclude>**/src/license/**</exclude> |
| 779 | + <exclude>**/src/*/resources/**</exclude> |
| 780 | + </excludes> |
| 781 | + <includes> |
| 782 | + <include>src/**</include> |
| 783 | + </includes> |
| 784 | + </licenseSet> |
| 785 | + </licenseSets> |
783 | 786 | </configuration>
|
784 | 787 | <executions>
|
785 | 788 | <execution>
|
|
795 | 798 | <plugin>
|
796 | 799 | <groupId>org.jacoco</groupId>
|
797 | 800 | <artifactId>jacoco-maven-plugin</artifactId>
|
798 |
| - <version>0.8.6</version> |
| 801 | + <version>0.8.12</version> |
799 | 802 | <executions>
|
800 | 803 | <execution>
|
801 | 804 | <id>default</id>
|
|
819 | 822 | <plugin>
|
820 | 823 | <groupId>org.gaul</groupId>
|
821 | 824 | <artifactId>modernizer-maven-plugin</artifactId>
|
822 |
| - <version>1.7.1</version> |
| 825 | + <version>2.9.0</version> |
823 | 826 | <configuration>
|
824 | 827 | <skip>${air.check.skip-modernizer}</skip>
|
825 | 828 | <failOnViolations>${air.check.fail-modernizer}</failOnViolations>
|
|
838 | 841 | <plugin>
|
839 | 842 | <groupId>org.apache.maven.plugins</groupId>
|
840 | 843 | <artifactId>maven-checkstyle-plugin</artifactId>
|
841 |
| - <version>3.0.0</version> |
| 844 | + <version>3.6.0</version> |
842 | 845 | <dependencies>
|
843 | 846 | <dependency>
|
844 | 847 | <groupId>com.puppycrawl.tools</groupId>
|
845 | 848 | <artifactId>checkstyle</artifactId>
|
846 |
| - <version>8.16</version> |
| 849 | + <version>10.19.0</version> |
847 | 850 | </dependency>
|
848 | 851 | <!-- This version must match the Airbase version. It will be updated by -->
|
849 | 852 | <!-- the Maven Release plugin. The "project.version" property cannot be -->
|
|
1020 | 1023 | <artifactId>guice-assistedinject</artifactId>
|
1021 | 1024 | <version>${dep.guice.version}</version>
|
1022 | 1025 | </dependency>
|
1023 |
| - <dependency> |
1024 |
| - <groupId>com.google.inject.extensions</groupId> |
1025 |
| - <artifactId>guice-multibindings</artifactId> |
1026 |
| - <version>${dep.guice.version}</version> |
1027 |
| - </dependency> |
1028 | 1026 | <dependency>
|
1029 | 1027 | <groupId>com.google.inject.extensions</groupId>
|
1030 | 1028 | <artifactId>guice-throwingproviders</artifactId>
|
|
1163 | 1161 | <groupId>com.fasterxml.jackson.datatype</groupId>
|
1164 | 1162 | <artifactId>jackson-datatype-guava</artifactId>
|
1165 | 1163 | <version>${dep.jackson.version}</version>
|
| 1164 | + <exclusions> |
| 1165 | + <exclusion> |
| 1166 | + <groupId>com.google.guava</groupId> |
| 1167 | + <artifactId>guava</artifactId> |
| 1168 | + </exclusion> |
| 1169 | + </exclusions> |
1166 | 1170 | </dependency>
|
1167 | 1171 |
|
1168 | 1172 | <dependency>
|
|
1239 | 1243 | <version>${dep.jmh.version}</version>
|
1240 | 1244 | </dependency>
|
1241 | 1245 |
|
| 1246 | + <!-- Modernizer warnings --> |
| 1247 | + <dependency> |
| 1248 | + <groupId>org.gaul</groupId> |
| 1249 | + <artifactId>modernizer-maven-annotations</artifactId> |
| 1250 | + <version>2.9.0</version> |
| 1251 | + </dependency> |
| 1252 | + |
1242 | 1253 | <!-- Testing -->
|
1243 | 1254 | <dependency>
|
1244 | 1255 | <groupId>org.testng</groupId>
|
|
1302 | 1313 | <artifactId>objenesis</artifactId>
|
1303 | 1314 | <version>${dep.objenesis.version}</version>
|
1304 | 1315 | </dependency>
|
1305 |
| - |
1306 |
| - <dependency> |
1307 |
| - <groupId>io.airlift</groupId> |
1308 |
| - <artifactId>slice</artifactId> |
1309 |
| - <version>${dep.slice.version}</version> |
1310 |
| - </dependency> |
1311 | 1316 | </dependencies>
|
1312 | 1317 | </dependencyManagement>
|
1313 | 1318 |
|
|
0 commit comments