Upgrading org.codehaus to com.fasterxml (#17371)

This commit is contained in:
Nandini Anagondi 2024-11-07 15:25:47 +05:30 committed by GitHub
parent 73cbce9109
commit 32394e55f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 9 deletions

View File

@ -185,11 +185,6 @@
<artifactId>datasketches-memory</artifactId> <artifactId>datasketches-memory</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId> <artifactId>commons-collections4</artifactId>

View File

@ -20,6 +20,7 @@
package org.apache.druid.indexing.common.task; package org.apache.druid.indexing.common.task;
import com.fasterxml.jackson.annotation.JacksonInject; import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.common.annotations.VisibleForTesting; import com.google.common.annotations.VisibleForTesting;
@ -43,7 +44,6 @@ import org.apache.druid.segment.indexing.DataSchema;
import org.apache.druid.server.coordinator.CompactionConfigValidationResult; import org.apache.druid.server.coordinator.CompactionConfigValidationResult;
import org.apache.druid.server.coordinator.duty.CompactSegments; import org.apache.druid.server.coordinator.duty.CompactSegments;
import org.apache.druid.utils.CollectionUtils; import org.apache.druid.utils.CollectionUtils;
import org.codehaus.jackson.annotate.JsonCreator;
import org.joda.time.Interval; import org.joda.time.Interval;
import javax.annotation.Nullable; import javax.annotation.Nullable;

11
pom.xml
View File

@ -1380,7 +1380,7 @@
<plugin> <plugin>
<groupId>org.openrewrite.maven</groupId> <groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId> <artifactId>rewrite-maven-plugin</artifactId>
<version>5.31.0</version> <version>5.42.0</version>
<configuration> <configuration>
<activeRecipes> <activeRecipes>
<recipe>org.apache.druid.RewriteRules</recipe> <recipe>org.apache.druid.RewriteRules</recipe>
@ -1399,12 +1399,17 @@
<dependency> <dependency>
<groupId>org.openrewrite.recipe</groupId> <groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-testing-frameworks</artifactId> <artifactId>rewrite-testing-frameworks</artifactId>
<version>2.6.0</version> <version>2.20.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.openrewrite.recipe</groupId> <groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-apache</artifactId> <artifactId>rewrite-apache</artifactId>
<version>1.2.2</version> <version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-jackson</artifactId>
<version>0.6.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>

View File

@ -21,6 +21,7 @@ recipeList:
obsoleteRunners: obsoleteRunners:
- org.junit.experimental.runners.Enclosed - org.junit.experimental.runners.Enclosed
- org.openrewrite.apache.commons.lang.UpgradeApacheCommonsLang_2_3 - org.openrewrite.apache.commons.lang.UpgradeApacheCommonsLang_2_3
- org.openrewrite.java.jackson.CodehausToFasterXML
--- ---
type: specs.openrewrite.org/v1beta/recipe type: specs.openrewrite.org/v1beta/recipe
name: org.apache.druid.UpgradeCalciteTestsToJunit5 name: org.apache.druid.UpgradeCalciteTestsToJunit5