caio.co/de/cerberus

Cleanup/adapt pom.xml

Drop everything spring-boot, add back what the parent was pulling
for us automatically.
Id
f5661221b349154528c46db9635b5842ff562bee
Author
Caio
Commit time
2019-03-01T12:00:20+01:00

Modified pom.xml

@@ -13,19 +13,13
<name>cerberus</name>
<description></description>

- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.1.3.RELEASE</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
-
<properties>
<java.version>11</java.version>
+
+ <maven.compiler.source>${java.version}</maven.compiler.source>
+ <maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-
- <start-class>co.caio.cerberus.boot.BootApplication</start-class>

<immutables.version>2.7.5</immutables.version>
<jackson.version>2.9.8</jackson.version>
@@ -35,11 +29,10
<flatbuffers.sources>${basedir}/src/main/flatbuffers</flatbuffers.sources>
<flatbuffers.generated.sources>${project.build.directory}/generated-sources/java</flatbuffers.generated.sources>
<junit.jupiter.version>5.4.0</junit.jupiter.version>
- <resilience4j.version>0.13.2</resilience4j.version>
<chronicle.version>3.17.0</chronicle.version>
- <jsoup.version>1.11.3</jsoup.version>
- <tablier.version>0.2.3</tablier.version>
<mockito.version>2.24.5</mockito.version>
+ <reactor.version>Bismuth-RELEASE</reactor.version>
+ <maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
</properties>

<dependencyManagement>
@@ -51,16 +44,17
<scope>import</scope>
<type>pom</type>
</dependency>
+ <dependency>
+ <groupId>io.projectreactor</groupId>
+ <artifactId>reactor-bom</artifactId>
+ <version>${reactor.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
</dependencies>
</dependencyManagement>

<dependencies>
- <dependency>
- <groupId>co.caio</groupId>
- <artifactId>tablier</artifactId>
- <version>${tablier.version}</version>
- </dependency>
-
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
@@ -133,55 +127,14
</dependency>

<dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-webflux</artifactId>
- </dependency>
-
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-registry-prometheus</artifactId>
- </dependency>
-
- <dependency>
- <groupId>io.github.resilience4j</groupId>
- <artifactId>resilience4j-reactor</artifactId>
- <version>${resilience4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>io.github.resilience4j</groupId>
- <artifactId>resilience4j-micrometer</artifactId>
- <version>${resilience4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>io.github.resilience4j</groupId>
- <artifactId>resilience4j-circuitbreaker</artifactId>
- <version>${resilience4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
+ <groupId>io.projectreactor</groupId>
+ <artifactId>reactor-core</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.jupiter.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- <version>${jsoup.version}</version>
<scope>test</scope>
</dependency>

@@ -194,25 +147,16
</dependencies>

<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>${maven-surefire-plugin.version}</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>build-info</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>pl.project13.maven</groupId>
- <artifactId>git-commit-id-plugin</artifactId>
- <configuration>
- <verbose>false</verbose>
- </configuration>
- </plugin>
<!-- flatbuffers start -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>