idempotency-spring-boot-starter
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.josipmusa</groupId>
<artifactId>idempotency-spring-boot-starter</artifactId>
<version>0.4.0</version>
</dependency><?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>io.github.josipmusa</groupId>
<artifactId>idempotency4j</artifactId>
<version>0.4.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>idempotency-spring-boot-starter</artifactId>
<name>idempotency-spring-boot-starter</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>io.github.josipmusa</groupId>
<artifactId>idempotency-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.josipmusa</groupId>
<artifactId>idempotency-spring</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.josipmusa</groupId>
<artifactId>idempotency-spring-web</artifactId>
<version>${project.version}</version>
</dependency>
<!--
Providers are optional: whichever one the application puts on its classpath is what
the store autoconfiguration detects. Declaring them here only lets this module compile
against them; it never drags them into an application that did not ask for one.
-->
<dependency>
<groupId>io.github.josipmusa</groupId>
<artifactId>idempotency-jdbc</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.github.josipmusa</groupId>
<artifactId>idempotency-inmemory</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<!--
Spring Boot 4 split the autoconfigurations out of spring-boot-autoconfigure into
per-technology modules. DataSourceAutoConfiguration and EmbeddedDatabaseConnection
now live in spring-boot-jdbc, and DatabaseInitializationMode in spring-boot-sql.
Optional like spring-jdbc above: they let @ConditionalOnClass compile without
dragging JDBC into an application that chose a different store.
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-jdbc</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-sql</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!--
The root pom disables annotation processing everywhere. This module is the one
exception: without the Spring Boot configuration processor running, no
spring-configuration-metadata.json is produced, additional-spring-configuration-metadata.json
is never merged into it, and IDE completion for idempotency.* does not work at all.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<proc>full</proc>
<annotationProcessorPaths>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>true</failIfNoTests>
</configuration>
</plugin>
</plugins>
</build>
</project>