Imporve on incremental compilation (#14860)

This patch fixes a few issues toward #14858

1. some phony classes were added to enable maven to track the compilation of those classes
2. cyclonedx 2.7.9 seem to handle incremental compilation better; it had a PR relating to that
3. needed to update root pom to 25
4. update antlr to 4.5.3 older one didn't really worked incrementally; 4.5.3 works much better
This commit is contained in:
Zoltan Haindrich 2023-08-24 12:36:16 +02:00 committed by GitHub
parent f9f734cde5
commit 54336e2a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 31 additions and 6 deletions

View File

@ -3812,7 +3812,7 @@ name: ANTLR 4 Runtime
license_category: binary
module: java-core
license_name: BSD-3-Clause License
version: 4.5.1
version: 4.5.3
copyright: The ANTLR Project
license_file_path: licenses/bin/antlr4-runtime.BSD3
libraries:

10
pom.xml
View File

@ -24,7 +24,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>21</version>
<version>25</version>
</parent>
<groupId>org.apache.druid</groupId>
@ -779,12 +779,12 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.5.1</version>
<version>4.5.3</version>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-coordinator</artifactId>
<version>4.5.1</version>
<version>4.5.3</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
@ -1634,7 +1634,7 @@
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.7.5</version>
<version>2.7.9</version>
<executions>
<execution>
<phase>package</phase>
@ -1744,7 +1744,7 @@
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>4.5.1</version>
<version>4.5.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

View File

@ -29,6 +29,12 @@ import org.apache.druid.segment.column.Types;
import javax.annotation.Nullable;
import java.util.Objects;
@SuppressWarnings("unused")
final class BinaryLogicalOperatorExpr
{
// phony class to enable maven to track the compilation of this class
}
// logical operators live here
@SuppressWarnings("ClassName")
class BinLtExpr extends BinaryBooleanOpExprBase

View File

@ -31,6 +31,12 @@ import javax.annotation.Nullable;
// math operators live here
@SuppressWarnings("unused")
final class BinaryMathOperatorExpr
{
// phony class to enable maven to track the compilation of this class
}
@SuppressWarnings("ClassName")
final class BinPlusExpr extends BinaryEvalOpExprBase
{

View File

@ -30,6 +30,12 @@ import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;
@SuppressWarnings("unused")
final class FunctionalExpr
{
// phony class to enable maven to track the compilation of this class
}
@SuppressWarnings("ClassName")
class LambdaExpr implements Expr
{

View File

@ -32,6 +32,13 @@ import javax.annotation.Nullable;
import java.math.BigInteger;
import java.util.Objects;
@SuppressWarnings("unused")
final class UnaryOperatorExpr
{
// phony class to enable maven to track the compilation of this class
}
/**
* Base type for all single argument operators, with a single {@link Expr} child for the operand.
*/