
This commit reworks 40d8726 as it has introduced an unfortunate side effect for those who are using a starter with optional starter dependencies. `spring-boot-starter-web` defines the json and the tomcat starter. The latter is part of a set of starters that do not bring the base starter and the former can be excluded to use gson rather than jackson. When such arrangement happens, spring-boot-starter-web no longer defines the base starter (and therefore doesn't bring the core dependencies that Spring Boot needs to bootstrap). This commit reviews the starters that define optional starters and reintroduce the base starter. Closes gh-14076
64 lines
1.9 KiB
XML
64 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starters</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<artifactId>spring-boot-starter-batch</artifactId>
|
|
<name>Spring Boot Batch Starter</name>
|
|
<description>Starter for using Spring Batch</description>
|
|
<properties>
|
|
<main.basedir>${basedir}/../../..</main.basedir>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.batch</groupId>
|
|
<artifactId>spring-batch-core</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.basepom.maven</groupId>
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>duplicate-dependencies</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<exceptions>
|
|
<exception>
|
|
<conflictingDependencies>
|
|
<dependency>
|
|
<groupId>xpp3</groupId>
|
|
<artifactId>xpp3_min</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>xmlpull</groupId>
|
|
<artifactId>xmlpull</artifactId>
|
|
</dependency>
|
|
</conflictingDependencies>
|
|
</exception>
|
|
</exceptions>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|