hawtio-springboot
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.hawt</groupId> <artifactId>hawtio-springboot</artifactId> <version>4.4.1</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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.hawt</groupId> <artifactId>project</artifactId> <version>4.4.1</version> <relativePath>../../pom.xml</relativePath> </parent> <artifactId>hawtio-springboot</artifactId> <name>${project.artifactId}</name> <description>Hawtio :: Spring Boot 3.x starter</description> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-framework-bom</artifactId> <version>${spring-version}</version> <type>pom</type> <scope>import</scope> </dependency> <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> <!-- Hawtio --> <dependency> <groupId>io.hawt</groupId> <artifactId>hawtio-war</artifactId> <type>war</type> <scope>provided</scope> <version>${project.version}</version> </dependency> <dependency> <groupId>io.hawt</groupId> <artifactId>hawtio-system</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.hawt</groupId> <artifactId>hawtio-log</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <dependency> <groupId>io.hawt</groupId> <artifactId>hawtio-log-logback</artifactId> <version>${project.version}</version> <optional>true</optional> </dependency> <!-- Jolokia --> <dependency> <groupId>org.jolokia</groupId> <artifactId>jolokia-support-spring</artifactId> <version>${jolokia-version}</version> </dependency> <!-- Spring Boot --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-actuator-autoconfigure</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j2-version}</version> <optional>true</optional> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-to-slf4j</artifactId> <version>${log4j2-version}</version> <optional>true</optional> </dependency> <!-- testing --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit5-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>${spring-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> </exclusion> <exclusion> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> </exclusion> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> <!--ensure the mockito version which can work with JDK11 is used--> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito-core-version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>17</source> <testSource>17</testSource> <target>17</target> <testTarget>17</testTarget> <release>17</release> <testRelease>17</testRelease> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <encoding>${project.build.sourceEncoding}</encoding> <doclint>none</doclint> <source>17</source> <release>17</release> </configuration> </plugin> <!-- Repackage static content from war into a jar, placing static content under /hawtio-static Do not use /static so that it will not be exposed automatically by Spring Boot --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>repackage</id> <goals> <goal>unpack-dependencies</goal> </goals> <phase>prepare-package</phase> <configuration> <outputDirectory>${project.build.directory}/classes/hawtio-static/</outputDirectory> <includeArtifactIds>hawtio-war</includeArtifactIds> <excludeTypes>pom</excludeTypes> <excludes>**/WEB-INF/**,**/META-INF/**</excludes> <excludeTransitive>true</excludeTransitive> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>