Skip to content

Commit

Permalink
Cleaning pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jabrena committed May 25, 2024
1 parent 4c7611f commit f5c9386
Show file tree
Hide file tree
Showing 26 changed files with 222 additions and 1,780 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ sdk env install
./mvnw clean test -Dgroups=performance
./mvnw clean test -Dgroups=endtoend

./mvnw dependency-check:check
./mvnw versions:display-dependency-updates
./mvnw versions:display-plugin-updates
./mvnw dependency:tree -pl problems
Expand Down
117 changes: 4 additions & 113 deletions libraries/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
<parent>
<groupId>info.jab.fp</groupId>
<artifactId>functional-rosseta-stone</artifactId>
<version>${revision}</version>
<relativePath>..</relativePath>
<version>0.4.0-SNAPSHOT</version>
</parent>

<groupId>info.jab.fp</groupId>
<artifactId>libraries</artifactId>
<version>${revision}</version>
<version>0.4.0-SNAPSHOT</version>
<name>libraries</name>

<dependencies>
Expand All @@ -32,35 +31,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>32.0.0-jre</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-classic.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
<version>${guava.version}</version>
</dependency>

<dependency>
Expand All @@ -75,63 +46,10 @@
<version>${rxjava.version}</version>
</dependency>

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

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<version>3.3.0.RELEASE</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>4.0.1</version>
<version>${reactor.version}</version>
<scope>test</scope>
</dependency>

Expand All @@ -141,7 +59,6 @@
<version>${jmh.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
Expand All @@ -150,30 +67,4 @@
</dependency>

</dependencies>

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>${java.version}</release>
</configuration>
</plugin>

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<argLine>
--illegal-access=permit
</argLine>
</configuration>
</plugin>

</plugins>
</build>

</project>
198 changes: 181 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>info.jab.fp</groupId>
<artifactId>functional-rosseta-stone</artifactId>
<version>${revision}</version>
<version>0.4.0-SNAPSHOT</version>
<description>A repository to review the main concepts about Functional Programming with Java</description>
<packaging>pom</packaging>

Expand All @@ -23,43 +23,207 @@
</modules>

<properties>
<revision>0.3.0-SNAPSHOT</revision>

<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<vavr.version>0.10.2</vavr.version>

<slf4j-api.version>1.7.25</slf4j-api.version>
<logback-classic.version>1.2.3</logback-classic.version>
<slf4j.version>2.1.0-alpha1</slf4j.version>
<logback.version>1.5.6</logback.version>
<jackson.version>2.17.1</jackson.version>

<commons-lang3.version>3.9</commons-lang3.version>
<guava.version>28.1-jre</guava.version>

<reactor.version>3.3.0.RELEASE</reactor.version>
<commons-lang3.version>3.14.0</commons-lang3.version>
<guava.version>33.2.0-jre</guava.version>
<vavr.version>0.10.2</vavr.version>
<reactor.version>3.6.6</reactor.version>
<reactor.blockhound.version>1.0.0.RELEASE</reactor.blockhound.version>
<rxjava.version>2.2.13</rxjava.version>
<rxjava.version>2.2.21</rxjava.version>
<resilience4j.version>1.1.0</resilience4j.version>

<junit.jupiter.version>5.5.2</junit.jupiter.version>
<hamcrest.version>1.3</hamcrest.version>
<assertj-core.version>3.13.2</assertj-core.version>
<junit.jupiter.version>5.11.0-M2</junit.jupiter.version>
<assertj.version>3.25.3</assertj.version>
<mockito.version>5.12.0</mockito.version>
<rest-assured.version>5.4.0</rest-assured.version>
<wiremock.version>3.0.1</wiremock.version>
<awaitility.version>4.2.1</awaitility.version>

<jmh.version>1.21</jmh.version>
<jmh.version>1.37</jmh.version>

<checkstyle.skip>true</checkstyle.skip>
</properties>

<!-- Default dependencies for the different modules -->
<dependencies>
<!-- Logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>

<!-- Jackson -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<version>${wiremock.version}</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>${rest-assured.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<compilerArgument>-Xlint:all</compilerArgument><!-- -Werror -->
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
</plugins>

</pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<version>2.16.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<!-- <dependencyConvergence/> -->
<banDuplicatePomDependencyVersions/>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>17</version>
</requireJavaVersion>
<bannedDependencies>
<excludes>
<exclude>org.projectlombok:lombok</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.1</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.16.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<failsOnError>true</failsOnError>
<failOnViolation>true</failOnViolation>
<consoleOutput>true</consoleOutput>
<configLocation>checkstyle.xml</configLocation>
<suppressionsLocation>checkstyle_ignore.xml</suppressionsLocation>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Loading

0 comments on commit f5c9386

Please sign in to comment.