You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/11/26 19:15:27 UTC
[accumulo] 01/02: Minor fixup of build
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 1.10
in repository https://gitbox.apache.org/repos/asf/accumulo.git
commit 61840580b448b68d7af67bfb8440db00cedebd0e
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Nov 26 12:58:28 2020 -0500
Minor fixup of build
* Show rat output in console (partial backport to 1.x from #1767)
* Don't skip enforcer when skipQA profile is active, because it is
necessary for enforcing build requirements (and isn't costly to run)
* Enforce the JDK version to less than 15 for Accumulo 1.x, because
Concurrent Mark and Sweep garbage collector options were removed from
JDK 15, which Accumulo 1.x uses in its scripts and in Mini. While
Accumulo 1.x can still compile and build in JDK 15, it will not be
able to run as-is, including running tests, resulting in hard-to-track
and confusing errors for developers. It is easier to enforce the JDK
version to being at least 11, and strictly less than 15, during
development.
---
pom.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0aa8095..6606c0f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,6 +141,7 @@
<powermock.version>2.0.7</powermock.version>
<!-- timestamp for reproducible outputs, updated on release by the release plugin -->
<project.build.outputTimestamp>2020-08-27T15:56:15Z</project.build.outputTimestamp>
+ <rat.consoleOutput>true</rat.consoleOutput>
<!-- surefire/failsafe plugin option -->
<reuseForks>false</reuseForks>
<slf4j.version>1.7.25</slf4j.version>
@@ -850,7 +851,8 @@
<version>[3.5.0,)</version>
</requireMavenVersion>
<requireJavaVersion>
- <version>[11,)</version>
+ <!-- 15 dropped support for UseConcMarkSweepGC flag that Accumulo 1.x uses -->
+ <version>[11,15)</version>
</requireJavaVersion>
</rules>
</configuration>
@@ -1064,7 +1066,6 @@
<accumulo.skip>true</accumulo.skip>
<apilyzer.skip>true</apilyzer.skip>
<checkstyle.skip>true</checkstyle.skip>
- <enforcer.skip>true</enforcer.skip>
<formatter.skip>true</formatter.skip>
<impsort.skip>true</impsort.skip>
<maven.plugin.skip>true</maven.plugin.skip>