mirror of
https://github.com/apache/druid.git
synced 2025-02-20 00:47:40 +00:00
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:
parent
f9f734cde5
commit
54336e2a3e
@ -3812,7 +3812,7 @@ name: ANTLR 4 Runtime
|
|||||||
license_category: binary
|
license_category: binary
|
||||||
module: java-core
|
module: java-core
|
||||||
license_name: BSD-3-Clause License
|
license_name: BSD-3-Clause License
|
||||||
version: 4.5.1
|
version: 4.5.3
|
||||||
copyright: The ANTLR Project
|
copyright: The ANTLR Project
|
||||||
license_file_path: licenses/bin/antlr4-runtime.BSD3
|
license_file_path: licenses/bin/antlr4-runtime.BSD3
|
||||||
libraries:
|
libraries:
|
||||||
|
10
pom.xml
10
pom.xml
@ -24,7 +24,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.apache</groupId>
|
<groupId>org.apache</groupId>
|
||||||
<artifactId>apache</artifactId>
|
<artifactId>apache</artifactId>
|
||||||
<version>21</version>
|
<version>25</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>org.apache.druid</groupId>
|
<groupId>org.apache.druid</groupId>
|
||||||
@ -779,12 +779,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.antlr</groupId>
|
<groupId>org.antlr</groupId>
|
||||||
<artifactId>antlr4-runtime</artifactId>
|
<artifactId>antlr4-runtime</artifactId>
|
||||||
<version>4.5.1</version>
|
<version>4.5.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.antlr</groupId>
|
<groupId>org.antlr</groupId>
|
||||||
<artifactId>antlr4-coordinator</artifactId>
|
<artifactId>antlr4-coordinator</artifactId>
|
||||||
<version>4.5.1</version>
|
<version>4.5.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-cli</groupId>
|
<groupId>commons-cli</groupId>
|
||||||
@ -1634,7 +1634,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.cyclonedx</groupId>
|
<groupId>org.cyclonedx</groupId>
|
||||||
<artifactId>cyclonedx-maven-plugin</artifactId>
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
||||||
<version>2.7.5</version>
|
<version>2.7.9</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
@ -1744,7 +1744,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.antlr</groupId>
|
<groupId>org.antlr</groupId>
|
||||||
<artifactId>antlr4-maven-plugin</artifactId>
|
<artifactId>antlr4-maven-plugin</artifactId>
|
||||||
<version>4.5.1</version>
|
<version>4.5.3</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -29,6 +29,12 @@ import org.apache.druid.segment.column.Types;
|
|||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.Objects;
|
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
|
// logical operators live here
|
||||||
@SuppressWarnings("ClassName")
|
@SuppressWarnings("ClassName")
|
||||||
class BinLtExpr extends BinaryBooleanOpExprBase
|
class BinLtExpr extends BinaryBooleanOpExprBase
|
||||||
|
@ -31,6 +31,12 @@ import javax.annotation.Nullable;
|
|||||||
|
|
||||||
// math operators live here
|
// math operators live here
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
final class BinaryMathOperatorExpr
|
||||||
|
{
|
||||||
|
// phony class to enable maven to track the compilation of this class
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("ClassName")
|
@SuppressWarnings("ClassName")
|
||||||
final class BinPlusExpr extends BinaryEvalOpExprBase
|
final class BinPlusExpr extends BinaryEvalOpExprBase
|
||||||
{
|
{
|
||||||
|
@ -30,6 +30,12 @@ import java.util.Objects;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
final class FunctionalExpr
|
||||||
|
{
|
||||||
|
// phony class to enable maven to track the compilation of this class
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("ClassName")
|
@SuppressWarnings("ClassName")
|
||||||
class LambdaExpr implements Expr
|
class LambdaExpr implements Expr
|
||||||
{
|
{
|
||||||
|
@ -32,6 +32,13 @@ import javax.annotation.Nullable;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
import java.util.Objects;
|
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.
|
* Base type for all single argument operators, with a single {@link Expr} child for the operand.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user