[JAVA-28504] Clean up

This commit is contained in:
panos-kakos 2023-12-08 09:51:11 +02:00 committed by GitHub
parent d73cd919e4
commit bf1aaf197f
23 changed files with 32 additions and 83 deletions

View File

@ -26,7 +26,7 @@
<dependency> <dependency>
<groupId>com.github.javafaker</groupId> <groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId> <artifactId>javafaker</artifactId>
<version>1.0.2</version> <version>${javafaker.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>com.google.code.gson</groupId>
@ -44,4 +44,8 @@
</resources> </resources>
</build> </build>
<properties>
<javafaker.version>1.0.2</javafaker.version>
</properties>
</project> </project>

View File

@ -3,14 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>error-prone-project</artifactId>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>static-analysis</artifactId> <artifactId>static-analysis</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>error-prone-project</artifactId>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -19,7 +19,6 @@
<version>${maven-compiler-plugin.version}</version> <version>${maven-compiler-plugin.version}</version>
<configuration> <configuration>
<release>17</release> <release>17</release>
<encoding>UTF-8</encoding>
<fork>true</fork> <fork>true</fork>
<compilerArgs> <compilerArgs>
<arg>-XDcompilePolicy=simple</arg> <arg>-XDcompilePolicy=simple</arg>
@ -44,7 +43,7 @@
<path> <path>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>my-bugchecker-plugin</artifactId> <artifactId>my-bugchecker-plugin</artifactId>
<version>1.0-SNAPSHOT</version> <version>${my-bugchecker-plugin.version}</version>
</path> </path>
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>
@ -53,9 +52,7 @@
</build> </build>
<properties> <properties>
<maven.compiler.source>17</maven.compiler.source> <my-bugchecker-plugin.version>1.0-SNAPSHOT</my-bugchecker-plugin.version>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
</project> </project>

View File

@ -3,13 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>my-bugchecker-plugin</artifactId>
<packaging>jar</packaging>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>static-analysis</artifactId> <artifactId>static-analysis</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<packaging>jar</packaging>
<artifactId>my-bugchecker-plugin</artifactId>
<build> <build>
<plugins> <plugins>
@ -47,10 +48,4 @@
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project> </project>

View File

@ -3,18 +3,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>pmd</artifactId>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>static-analysis</artifactId> <artifactId>static-analysis</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>pmd</artifactId>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project> </project>

View File

@ -25,11 +25,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>

View File

@ -121,8 +121,6 @@
</profiles> </profiles>
<properties> <properties>
<maven.compiler.source>14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target>
<cucumber.version>6.10.3</cucumber.version> <cucumber.version>6.10.3</cucumber.version>
<cucumber-reporting.version>5.4.0</cucumber-reporting.version> <cucumber-reporting.version>5.4.0</cucumber-reporting.version>
<selenium.version>3.141.59</selenium.version> <selenium.version>3.141.59</selenium.version>

View File

@ -72,9 +72,6 @@
</build> </build>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<gatling.version>3.9.5</gatling.version> <gatling.version>3.9.5</gatling.version>
<gatling-maven-plugin.version>4.3.0</gatling-maven-plugin.version> <gatling-maven-plugin.version>4.3.0</gatling-maven-plugin.version>
<faker.version>1.0.2</faker.version> <faker.version>1.0.2</faker.version>

View File

@ -105,9 +105,6 @@
</build> </build>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<scala.version>2.12.6</scala.version> <scala.version>2.12.6</scala.version>
<gatling.version>3.3.1</gatling.version> <gatling.version>3.3.1</gatling.version>
<scala-maven-plugin.version>4.3.0</scala-maven-plugin.version> <scala-maven-plugin.version>4.3.0</scala-maven-plugin.version>

View File

@ -17,7 +17,7 @@
<dependency> <dependency>
<groupId>net.jqwik</groupId> <groupId>net.jqwik</groupId>
<artifactId>jqwik</artifactId> <artifactId>jqwik</artifactId>
<version>1.7.4</version> <version>${jqwik.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -53,5 +53,9 @@
</resources> </resources>
</build> </build>
<properties>
<jqwik.version>1.7.4</jqwik.version>
</properties>
</project> </project>

View File

@ -18,7 +18,7 @@
<dependency> <dependency>
<groupId>com.github.stefanbirkner</groupId> <groupId>com.github.stefanbirkner</groupId>
<artifactId>system-lambda</artifactId> <artifactId>system-lambda</artifactId>
<version>1.2.1</version> <version>${system-lambda.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -79,6 +79,7 @@
</build> </build>
<properties> <properties>
<system-lambda.version>1.2.1</system-lambda.version>
<jmockit.version>1.49</jmockit.version> <jmockit.version>1.49</jmockit.version>
<assertj.version>3.24.2</assertj.version> <assertj.version>3.24.2</assertj.version>
<junit-platform.version>1.10.1</junit-platform.version> <junit-platform.version>1.10.1</junit-platform.version>

View File

@ -36,18 +36,11 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<properties> <properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<commons-cli.version>1.5.0</commons-cli.version> <commons-cli.version>1.5.0</commons-cli.version>
<junit-jupiter-api.version>5.10.0</junit-jupiter-api.version> <junit-jupiter-api.version>5.10.0</junit-jupiter-api.version>
<mockito-core.version>5.5.0</mockito-core.version> <mockito-core.version>5.5.0</mockito-core.version>

View File

@ -107,7 +107,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>

View File

@ -66,9 +66,6 @@
</build> </build>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<encoding>UTF-8</encoding>
<scala.version>2.12.12</scala.version> <scala.version>2.12.12</scala.version>
<gatling.version>3.4.0</gatling.version> <gatling.version>3.4.0</gatling.version>
<scala-maven-plugin.version>4.4.0</scala-maven-plugin.version> <scala-maven-plugin.version>4.4.0</scala-maven-plugin.version>

View File

@ -21,9 +21,6 @@
</dependencies> </dependencies>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mockito-inline.version>4.8.1</mockito-inline.version> <mockito-inline.version>4.8.1</mockito-inline.version>
</properties> </properties>

View File

@ -19,12 +19,8 @@
<dependency> <dependency>
<groupId>io.vavr</groupId> <groupId>io.vavr</groupId>
<artifactId>vavr</artifactId> <artifactId>vavr</artifactId>
<version>${io.vavr.version}</version> <version>${vavr.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<io.vavr.version>0.9.2</io.vavr.version>
</properties>
</project> </project>

View File

@ -30,4 +30,8 @@
</pluginManagement> </pluginManagement>
</build> </build>
<properties>
<vavr.version>0.9.2</vavr.version>
</properties>
</project> </project>

View File

@ -21,8 +21,4 @@
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<vavr.version>0.9.1</vavr.version>
</properties>
</project> </project>

View File

@ -30,4 +30,8 @@
</pluginManagement> </pluginManagement>
</build> </build>
<properties>
<vertx.version>3.9.15</vertx.version>
</properties>
</project> </project>

View File

@ -40,8 +40,4 @@
</plugins> </plugins>
</build> </build>
<properties>
<vertx.version>3.9.15</vertx.version>
</properties>
</project> </project>

View File

@ -65,7 +65,6 @@
</build> </build>
<properties> <properties>
<vertx.version>3.9.15</vertx.version>
<maven-shade-plugin.version>3.2.1</maven-shade-plugin.version> <maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
</properties> </properties>

View File

@ -78,17 +78,13 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.plugin.version}</version>
<configuration> <configuration>
<source>${source.version}</source>
<target>${target.version}</target>
<optimize>true</optimize> <optimize>true</optimize>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>${compiler.surefire.version}</version>
<configuration> <configuration>
<systemPropertyVariables> <systemPropertyVariables>
<tapestry.execution-mode>Qa</tapestry.execution-mode> <tapestry.execution-mode>Qa</tapestry.execution-mode>
@ -118,7 +114,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
@ -140,9 +135,6 @@
<properties> <properties>
<compiler.jetty.version>6.1.16</compiler.jetty.version> <compiler.jetty.version>6.1.16</compiler.jetty.version>
<compiler.surefire.version>3.0.0-M5</compiler.surefire.version> <compiler.surefire.version>3.0.0-M5</compiler.surefire.version>
<compiler.plugin.version>3.8.1</compiler.plugin.version>
<source.version>11</source.version>
<target.version>11</target.version>
<tapestry.version>5.8.2</tapestry.version> <tapestry.version>5.8.2</tapestry.version>
<servlet-api-release-version>2.5</servlet-api-release-version> <servlet-api-release-version>2.5</servlet-api-release-version>
<testng-release-version>6.8.21</testng-release-version> <testng-release-version>6.8.21</testng-release-version>

View File

@ -62,7 +62,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId> <artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<configuration> <configuration>
<skipITs>true</skipITs> <skipITs>true</skipITs>
<includes> <includes>

View File

@ -2,7 +2,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>jakarta-ee</artifactId> <artifactId>jakarta-ee</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>jakarta-ee</name> <name>jakarta-ee</name>
@ -51,7 +50,7 @@
<plugin> <plugin>
<groupId>org.glassfish.maven.plugin</groupId> <groupId>org.glassfish.maven.plugin</groupId>
<artifactId>maven-glassfish-plugin</artifactId> <artifactId>maven-glassfish-plugin</artifactId>
<version>2.1</version> <version>${maven-glassfish-plugin.version}</version>
<configuration> <configuration>
<glassfishDirectory>${local.glassfish.home}</glassfishDirectory> <glassfishDirectory>${local.glassfish.home}</glassfishDirectory>
<user>admin</user> <user>admin</user>
@ -76,11 +75,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -104,6 +98,7 @@
<local.glassfish.passfile> <local.glassfish.passfile>
${local.glassfish.home}\\domains\\${local.glassfish.domain}\\config\\domain-passwords ${local.glassfish.home}\\domains\\${local.glassfish.domain}\\config\\domain-passwords
</local.glassfish.passfile> </local.glassfish.passfile>
<maven-glassfish-plugin.version>2.1</maven-glassfish-plugin.version>
</properties> </properties>
</project> </project>