chaos-spring-boot-starter
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.havocflow</groupId>
<artifactId>chaos-spring-boot-starter</artifactId>
<version>01.03.01</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
https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.havocflow</groupId>
<artifactId>chaos-spring-boot-starter</artifactId>
<version>01.03.01</version>
<packaging>jar</packaging>
<name>HavocFlow :: Chaos Spring Boot Starter</name>
<description>
Annotation-driven chaos engineering for Spring Boot.
Inject latency, exceptions, and failure scenarios directly
into your services and repositories during dev/staging.
Compatible with Java 8+ and Spring Boot 2.7+ / 3.x.
</description>
<url>https://github.com/havocflow/chaos-spring-boot-starter</url>
<!-- groupId matches verified Sonatype namespace: io.github.havocflow -->
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<developers>
<developer>
<id>havocflow</id>
<name>HavocFlow Maintainers</name>
<url>https://github.com/havocflow</url>
<roles>
<role>maintainer</role>
</roles>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/havocflow/chaos-spring-boot-starter.git</connection>
<developerConnection>scm:git:ssh://github.com/havocflow/chaos-spring-boot-starter.git</developerConnection>
<url>https://github.com/havocflow/chaos-spring-boot-starter</url>
<tag>v01.03.01</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/havocflow/chaos-spring-boot-starter/issues</url>
</issueManagement>
<!-- New Maven Central portal (accounts created after Feb 2024) -->
<distributionManagement>
<repository>
<id>central</id>
<url>https://central.sonatype.com/</url>
</repository>
</distributionManagement>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Spring Boot 2.7.x is the last series supporting Java 8. -->
<!-- The compiled bytecode (Java 8) also runs on Spring Boot 3.x JVMs. -->
<spring-boot.version>2.7.18</spring-boot.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Spring Boot auto-configuration support (provided: consumer brings their own) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<scope>provided</scope>
</dependency>
<!-- Generates IDE-friendly hints for chaos.* properties -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- AOP support: consumer must supply spring-boot-starter-aop -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
<scope>provided</scope>
</dependency>
<!-- SLF4J API: provided at runtime by the consumer's logging setup -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Micrometer: optional — metrics are only recorded when this is present -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
<optional>true</optional>
</dependency>
<!-- Actuator annotations: optional — /actuator/chaos endpoint registered only when present.
Deliberately uses spring-boot-actuator (not spring-boot-starter-actuator) to exclude
spring-boot-actuator-autoconfigure, which contains CVE-2026-22733 (CloudFoundry
Actuator authentication bypass). ChaosEndpoint only needs @Endpoint / @ReadOperation /
@WriteOperation from spring-boot-actuator; the autoconfigure module is not required. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
<optional>true</optional>
</dependency>
<!-- Web: optional — HTTP fault filter registered only in web applications -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<optional>true</optional>
</dependency>
<!-- Spring Kafka: optional — ChaosKafkaAspect activated only when present -->
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
<version>2.9.13</version>
<optional>true</optional>
</dependency>
<!-- OpenTelemetry API: optional — span events recorded only when present -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
<version>1.38.0</version>
<optional>true</optional>
</dependency>
<!-- Spring Cloud Gateway: optional — ChaosGatewayFilter activated only when present -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
<version>3.1.9</version>
<optional>true</optional>
</dependency>
<!-- Reactor Core: transitively pulled by SCG, declared for compilation clarity -->
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<optional>true</optional>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<!-- OTel SDK testing: test scope only — needed to activate real spans in ChaosOtelSpanRecorderTest -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk-testing</artifactId>
<version>1.38.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!-- Attach source JAR (required by Maven Central) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Attach Javadoc JAR (required by Maven Central) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<source>8</source>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- New Maven Central portal publisher (replaces legacy nexus-staging-maven-plugin) -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Activate this profile for Maven Central releases: mvn deploy -P release -->
<profile>
<id>release</id>
<build>
<plugins>
<!-- GPG signing (required by Maven Central) — only active in release profile -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- In CI, pass passphrase via env: MAVEN_GPG_PASSPHRASE -->
<gpgArguments>
<arg>--batch</arg>
<arg>--yes</arg>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>