JAVA-14673 - Fix formatting of POMs (#12722)

* JAVA-14673 - Fix formatting of POMs

* cleanup
This commit is contained in:
freelansam 2022-09-13 21:22:49 +05:30 committed by GitHub
parent 5a666085ac
commit dc1815c10c
75 changed files with 654 additions and 634 deletions

View File

@ -13,10 +13,6 @@
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
</parent> </parent>
<properties>
<combinatoricslib3.version>3.3.3</combinatoricslib3.version>
<commons-collections4.version>4.4</commons-collections4.version>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>
@ -41,4 +37,9 @@
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<combinatoricslib3.version>3.3.3</combinatoricslib3.version>
<commons-collections4.version>4.4</commons-collections4.version>
</properties>
</project> </project>

View File

@ -25,4 +25,5 @@
<aws-java-sdk.version>1.11.290</aws-java-sdk.version> <aws-java-sdk.version>1.11.290</aws-java-sdk.version>
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version> <maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
</properties> </properties>
</project> </project>

View File

@ -138,7 +138,6 @@
<mainClass>com.baeldung.MyJointCompilationApp</mainClass> <mainClass>com.baeldung.MyJointCompilationApp</mainClass>
</manifest> </manifest>
</archive> </archive>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@ -58,17 +58,6 @@
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<trove4j.version>3.0.2</trove4j.version>
<fastutil.version>8.1.0</fastutil.version>
<colt.version>1.2.0</colt.version>
<apache-commons.version>3.0</apache-commons.version>
<assertj.version>3.22.0</assertj.version>
<maven.compiler.source.version>17</maven.compiler.source.version>
<maven.compiler.target.version>17</maven.compiler.target.version>
</properties>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -83,4 +72,14 @@
</plugins> </plugins>
</build> </build>
<properties>
<trove4j.version>3.0.2</trove4j.version>
<fastutil.version>8.1.0</fastutil.version>
<colt.version>1.2.0</colt.version>
<apache-commons.version>3.0</apache-commons.version>
<assertj.version>3.22.0</assertj.version>
<maven.compiler.source.version>17</maven.compiler.source.version>
<maven.compiler.target.version>17</maven.compiler.target.version>
</properties>
</project> </project>

View File

@ -13,6 +13,7 @@
<artifactId>core-java-modules</artifactId> <artifactId>core-java-modules</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<build> <build>
<finalName>core-java-lang-5</finalName> <finalName>core-java-lang-5</finalName>
<resources> <resources>
@ -22,4 +23,5 @@
</resource> </resource>
</resources> </resources>
</build> </build>
</project> </project>

View File

@ -12,16 +12,6 @@
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<build>
<finalName>core-java-numbers-5</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.junit.jupiter</groupId> <groupId>org.junit.jupiter</groupId>
@ -40,4 +30,15 @@
<version>${guava.version}</version> <version>${guava.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<finalName>core-java-numbers-5</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project> </project>

View File

@ -2,20 +2,15 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
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>
<artifactId>docker-java-jar</artifactId>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId> <artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath> <relativePath>../../parent-boot-2</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>docker-java-jar</artifactId>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<build> <build>
<plugins> <plugins>
@ -34,4 +29,9 @@
</plugins> </plugins>
</build> </build>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
</project> </project>

View File

@ -32,7 +32,6 @@
<artifactId>jackson-dataformat-csv</artifactId> <artifactId>jackson-dataformat-csv</artifactId>
<version>${jackson.version}</version> <version>${jackson.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mock-server</groupId> <groupId>org.mock-server</groupId>
<artifactId>mockserver-netty</artifactId> <artifactId>mockserver-netty</artifactId>

View File

@ -51,7 +51,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>jackson</finalName> <finalName>jackson-core</finalName>
<resources> <resources>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>

View File

@ -12,13 +12,6 @@
<connection>scm:git:git@github.com:${repository-owner}/${repository-name}.git</connection> <connection>scm:git:git@github.com:${repository-owner}/${repository-name}.git</connection>
<developerConnection>scm:git:git@github.com:${repository-owner}/${repository-name}.git</developerConnection> <developerConnection>scm:git:git@github.com:${repository-owner}/${repository-name}.git</developerConnection>
</scm> </scm>
<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-artifact</url>
</repository>
</distributionManagement>
<build> <build>
<plugins> <plugins>
@ -97,6 +90,14 @@
</repository> </repository>
</repositories> </repositories>
<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-artifact</url>
</repository>
</distributionManagement>
<properties> <properties>
<!--Put your own properties --> <!--Put your own properties -->
<repository-owner>Put-repo-owner</repository-owner> <repository-owner>Put-repo-owner</repository-owner>

View File

@ -7,17 +7,17 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<modules>
<module>maven-classifier-example-consumer</module>
<module>maven-classifier-example-provider</module>
</modules>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>maven-modules</artifactId> <artifactId>maven-modules</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<modules>
<module>maven-classifier-example-consumer</module>
<module>maven-classifier-example-provider</module>
</modules>
<properties> <properties>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>

View File

@ -39,7 +39,6 @@
<artifactId>spring-security-test</artifactId> <artifactId>spring-security-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- utils --> <!-- utils -->
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>

View File

@ -24,8 +24,8 @@
</modules> </modules>
<dependencyManagement> <dependencyManagement>
<!-- The Quarkus BOM is only available since Quarkus 2.x, and it's dependencies and plugins are <!-- The Quarkus BOM is only available since Quarkus 2.x, and it's dependencies and plugins are -->
compiled with JDK11, so using JDK8 will result in java.lang.UnsupportedClassVersionError --> <!--compiled with JDK11, so using JDK8 will result in java.lang.UnsupportedClassVersionError -->
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>${quarkus.platform.group-id}</groupId> <groupId>${quarkus.platform.group-id}</groupId>

View File

@ -1,26 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>quarkus-project</artifactId>
<version>0.1-SNAPSHOT</version>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>quarkus-vs-springboot</artifactId> <artifactId>quarkus-vs-springboot</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>quarkus-project</artifactId>
<version>0.1-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.10.1</compiler-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.9.2.Final</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M6</surefire-plugin.version>
</properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
@ -32,6 +23,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.quarkus</groupId> <groupId>io.quarkus</groupId>
@ -68,6 +60,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -104,6 +97,7 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>native</id> <id>native</id>
@ -140,4 +134,18 @@
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
<properties>
<compiler-plugin.version>3.10.1</compiler-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.9.2.Final</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M6</surefire-plugin.version>
</properties>
</project> </project>

View File

@ -3,8 +3,8 @@
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>spring-project</artifactId>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-project</artifactId>
<version>0.1-SNAPSHOT</version> <version>0.1-SNAPSHOT</version>
<parent> <parent>
@ -14,6 +14,18 @@
<relativePath /> <relativePath />
</parent> </parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.17.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -43,51 +55,33 @@
<artifactId>reactor-test</artifactId> <artifactId>reactor-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testcontainers</groupId> <groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId> <artifactId>testcontainers</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testcontainers</groupId> <groupId>org.testcontainers</groupId>
<artifactId>r2dbc</artifactId> <artifactId>r2dbc</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testcontainers</groupId> <groupId>org.testcontainers</groupId>
<artifactId>mysql</artifactId> <artifactId>mysql</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.testcontainers</groupId> <groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId> <artifactId>junit-jupiter</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.17.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -126,6 +120,7 @@
<url>https://repo.spring.io/release</url> <url>https://repo.spring.io/release</url>
</repository> </repository>
</repositories> </repositories>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>spring-release</id> <id>spring-release</id>

View File

@ -6,6 +6,7 @@
<artifactId>rxjava-core</artifactId> <artifactId>rxjava-core</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>rxjava-core</name> <name>rxjava-core</name>
<parent> <parent>
<groupId>com.baeldung.rxjava-modules</groupId> <groupId>com.baeldung.rxjava-modules</groupId>
<artifactId>rxjava-modules</artifactId> <artifactId>rxjava-modules</artifactId>

View File

@ -31,7 +31,6 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId> <artifactId>spring-boot-devtools</artifactId>

View File

@ -1,17 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-boot-3</name>
<description>Demo project for Spring Boot</description>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-3</artifactId> <artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-3</relativePath> <relativePath>../../parent-boot-3</relativePath>
</parent> </parent>
<artifactId>spring-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>spring-boot-3</name>
<description>Demo project for Spring Boot</description>
<dependencies> <dependencies>
<dependency> <dependency>
@ -47,13 +49,9 @@
<artifactId>spring-boot-configuration-processor</artifactId> <artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- depends on javax.servlet, see https://github.com/springdoc/springdoc-openapi/issues/1284 <!-- depends on javax.servlet, see https://github.com/springdoc/springdoc-openapi/issues/1284 -->
<dependency> <!--<dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> -->
<groupId>org.springdoc</groupId> <!-- <version>1.6.9</version> </dependency> -->
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.6.9</version>
</dependency>
-->
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>

View File

@ -17,9 +17,17 @@
<relativePath>../../parent-boot-2</relativePath> <relativePath>../../parent-boot-2</relativePath>
</parent> </parent>
<properties> <dependencyManagement>
<keycloak-adapter-bom.version>15.0.2</keycloak-adapter-bom.version> <dependencies>
</properties> <dependency>
<groupId>org.keycloak.bom</groupId>
<artifactId>keycloak-adapter-bom</artifactId>
<version>${keycloak-adapter-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
@ -41,18 +49,6 @@
</dependency> </dependency>
</dependencies> </dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.keycloak.bom</groupId>
<artifactId>keycloak-adapter-bom</artifactId>
<version>${keycloak-adapter-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -62,4 +58,8 @@
</plugins> </plugins>
</build> </build>
<properties>
<keycloak-adapter-bom.version>15.0.2</keycloak-adapter-bom.version>
</properties>
</project> </project>

View File

@ -15,12 +15,6 @@
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
</parent> </parent>
<properties>
<springfox.version>3.0.0</springfox.version>
<swagger-codegen-maven-plugin.version>3.0.34</swagger-codegen-maven-plugin.version>
<springdoc.version>1.6.10</springdoc.version>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -72,4 +66,10 @@
</plugins> </plugins>
</build> </build>
<properties>
<springfox.version>3.0.0</springfox.version>
<swagger-codegen-maven-plugin.version>3.0.34</swagger-codegen-maven-plugin.version>
<springdoc.version>1.6.10</springdoc.version>
</properties>
</project> </project>

View File

@ -36,7 +36,6 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId> <artifactId>spring-cloud-starter-loadbalancer</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>

View File

@ -1,15 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-netflix-sidecar-echo-demo</artifactId> <artifactId>spring-cloud-netflix-sidecar-echo-demo</artifactId>
<name>spring-cloud-netflix-sidecar-echo-demo</name> <name>spring-cloud-netflix-sidecar-echo-demo</name>
<description>Demo for echo endpoint</description> <description>Demo for echo endpoint</description>
<parent> <parent>
<groupId>com.baeldung.cloud</groupId> <groupId>com.baeldung.cloud</groupId>
<artifactId>spring-cloud-netflix-sidecar</artifactId> <artifactId>spring-cloud-netflix-sidecar</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -36,6 +39,7 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -44,4 +48,5 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -3,7 +3,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> <groupId>com.baeldung</groupId>
<artifactId>spring-core-6</artifactId> <artifactId>spring-core-6</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
@ -16,13 +15,6 @@
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
</parent> </parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<spring.boot.version>2.7.2</spring.boot.version>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -74,7 +66,6 @@
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version> <version>2.8.2</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version> <version>3.7.1</version>
@ -86,4 +77,12 @@
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<spring.boot.version>2.7.2</spring.boot.version>
</properties>
</project> </project>

View File

@ -24,8 +24,9 @@
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<!-- for junit5 to successfully be able to discover junit4 tests, we need 4.12+ version of <!-- for junit5 to successfully be able to discover junit4 tests, we need 4.12+ version of -->
junit:junit in the classpath. hence forcing the latest 4.13.2 available version for junit5 compatibility --> <!-- junit:junit in the classpath. hence forcing the latest 4.13.2 available version for -->
<!-- junit5 compatibility -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>

View File

@ -105,13 +105,11 @@
<artifactId>jackson-annotations</artifactId> <artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version> <version>${jackson.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.fasterxml.jackson.core</groupId> <groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId> <artifactId>jackson-core</artifactId>
<version>${jackson.version}</version> <version>${jackson.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId> <artifactId>slf4j-jdk14</artifactId>

View File

@ -2,8 +2,8 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<!-- Spring IO Platform is the parent of the generated application to be able to use Spring Boot <!-- Spring IO Platform is the parent of the generated application to be able to use Spring Boot -->
and all its default configuration --> <!-- and all its default configuration -->
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-roo</artifactId> <artifactId>spring-roo</artifactId>

View File

@ -80,8 +80,8 @@
</dependencies> </dependencies>
<properties> <properties>
<!-- Remove this explicit override once more recent version of spring-security-oauth2-autoconfigure <!-- Remove this explicit override once more recent version of spring-security-oauth2-autoconfigure -->
is available --> <!-- is available -->
<spring-boot.version>2.5.2</spring-boot.version> <spring-boot.version>2.5.2</spring-boot.version>
<start-class>com.baeldung.oauth2.SpringOAuthApplication</start-class> <start-class>com.baeldung.oauth2.SpringOAuthApplication</start-class>
<log4j2.version>2.17.1</log4j2.version> <log4j2.version>2.17.1</log4j2.version>

View File

@ -1,15 +1,14 @@
<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"> <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> <modelVersion>4.0.0</modelVersion>
<artifactId>pkce-auth-server</artifactId>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-security-pkce</artifactId> <artifactId>spring-security-pkce</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>pkce-auth-server</artifactId>
<properties>
<spring-authorization-server.version>0.3.1</spring-authorization-server.version>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -22,4 +21,9 @@
<version>${spring-authorization-server.version}</version> <version>${spring-authorization-server.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<spring-authorization-server.version>0.3.1</spring-authorization-server.version>
</properties>
</project> </project>

View File

@ -1,11 +1,14 @@
<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"> <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> <modelVersion>4.0.0</modelVersion>
<artifactId>pkce-client</artifactId>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-security-pkce</artifactId> <artifactId>spring-security-pkce</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>pkce-client</artifactId>
<dependencies> <dependencies>
<dependency> <dependency>
@ -21,4 +24,5 @@
<artifactId>spring-boot-starter-thymeleaf</artifactId> <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,7 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-security-pkce</artifactId>
<packaging>pom</packaging>
<name>spring-security-pkce</name>
<description>Demo project for Spring Boot</description>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
@ -10,20 +15,16 @@
<relativePath>../../parent-boot-2</relativePath> <relativePath>../../parent-boot-2</relativePath>
</parent> </parent>
<artifactId>spring-security-pkce</artifactId> <modules>
<packaging>pom</packaging> <module>pkce-auth-server</module>
<name>spring-security-pkce</name> <module>pkce-client</module>
<description>Demo project for Spring Boot</description> </modules>
<properties>
<!-- Need 2.7.x to bring spring-security 5.7.x-->
<spring-boot.version>2.7.2</spring-boot.version>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId> <artifactId>spring-boot-starter-security</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId> <artifactId>spring-boot-configuration-processor</artifactId>
@ -68,8 +69,9 @@
</plugins> </plugins>
</build> </build>
<modules> <properties>
<module>pkce-auth-server</module> <!-- Need 2.7.x to bring spring-security 5.7.x -->
<module>pkce-client</module> <spring-boot.version>2.7.2</spring-boot.version>
</modules> </properties>
</project> </project>

View File

@ -217,8 +217,8 @@
<properties> <properties>
<start-class>com.baeldung.roles.custom.Application</start-class> <start-class>com.baeldung.roles.custom.Application</start-class>
<!--If you want to run the example with the voters comment the tag above and uncomment the one <!--If you want to run the example with the voters comment the tag above and uncomment the one -->
below --> <!-- below -->
<!--<start-class>com.baeldung.roles.voter.VoterApplication</start-class> --> <!--<start-class>com.baeldung.roles.voter.VoterApplication</start-class> -->
<taglibs-standard.version>1.1.2</taglibs-standard.version> <taglibs-standard.version>1.1.2</taglibs-standard.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>

View File

@ -219,11 +219,11 @@
<!-- <start-class>com.baeldung.jdbcauthentication.postgre.PostgreJdbcAuthenticationApplication</start-class> --> <!-- <start-class>com.baeldung.jdbcauthentication.postgre.PostgreJdbcAuthenticationApplication</start-class> -->
<!--This runs the example with the multiple logins application --> <!--This runs the example with the multiple logins application -->
<start-class>com.baeldung.multiplelogin.MultipleLoginApplication</start-class> <start-class>com.baeldung.multiplelogin.MultipleLoginApplication</start-class>
<!--If you want to run the example with the multiple http elements, comment the tag above and <!--If you want to run the example with the multiple http elements, comment the tag above and -->
uncomment the one below --> <!-- uncomment the one below -->
<!--<start-class>com.baeldung.multipleentrypoints.MultipleEntryPointsApplication</start-class> --> <!--<start-class>com.baeldung.multipleentrypoints.MultipleEntryPointsApplication</start-class> -->
<!--If you want to run the example with the Https enabled endpoints, comment the tag above and <!--If you want to run the example with the Https enabled endpoints, comment the tag above and -->
uncomment the one below --> <!--uncomment the one below -->
<!-- <start-class>com.baeldung.ssl.HttpsEnabledApplication</start-class> --> <!-- <start-class>com.baeldung.ssl.HttpsEnabledApplication</start-class> -->
<taglibs-standard.version>1.1.2</taglibs-standard.version> <taglibs-standard.version>1.1.2</taglibs-standard.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>

View File

@ -36,4 +36,5 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -108,17 +108,19 @@
</warSourceExcludes> </warSourceExcludes>
</configuration> </configuration>
</plugin> </plugin>
<!-- NPM build is disabled from profile specific configurations because in a multi-threaded <!-- NPM build is disabled from profile specific configurations because in a multi-threaded -->
run environment like Jenkins this build was not succeeding due to issues totally unrelated to this module <!-- run environment like Jenkins this build was not succeeding due to issues totally unrelated -->
This can be enabled manually while running this module on local, or directly npm can be run inside the <!-- to this module. This can be enabled manually while running this module on local, or -->
webapp folder --> <!-- directly npm can be run inside the webapp folder -->
<!-- <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <!-- <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> -->
<version>${frontend-maven-plugin.version}</version> <configuration> <nodeVersion>${node.version}</nodeVersion> <!-- <version>${frontend-maven-plugin.version}</version> <configuration> <nodeVersion>${node.version}</nodeVersion> -->
<workingDirectory>src/main/webapp/WEB-INF/view/react</workingDirectory> </configuration> <executions> <!-- <workingDirectory>src/main/webapp/WEB-INF/view/react</workingDirectory> </configuration> -->
<execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> </goals> </execution> <!-- <executions> <execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> -->
<execution> <id>npm install</id> <goals> <goal>npm</goal> </goals> </execution> <execution> <id>npm run <!-- </goals> </execution><execution> -->
build</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run build</arguments> </configuration> <!-- <id>npm install</id> <goals> <goal>npm</goal> </goals> </execution> <execution> -->
</execution> </executions> </plugin> --> <!-- <id>npm run build</id> <goals> <goal>npm</goal> </goals> -->
<!-- <configuration> <arguments>run build</arguments> </configuration> -->
<!-- </execution> </executions> </plugin> -->
<plugin> <plugin>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId> <artifactId>jetty-maven-plugin</artifactId>
@ -128,17 +130,21 @@
</build> </build>
<!-- NPM build is disabled from profile specific configurations because in a multi-threaded run environment <!-- NPM build is disabled from profile specific configurations because in a multi-threaded run environment -->
like Jenkins this build was not succeeding due to issues totally unrelated to this module This can be <!-- like Jenkins this build was not succeeding due to issues totally unrelated to this module This -->
enabled manually while running this module on local, or directly npm can be run inside the webapp folder --> <!-- can be enabled manually while running this module on local, or directly npm can be run inside -->
<!-- <profiles> <profile> <id>default-first</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <!-- the webapp folder -->
<artifactId>frontend-maven-plugin</artifactId> <executions> <execution> <id>install node and npm</id> <!-- <profiles> <profile> <id>default-first</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> -->
<phase>none</phase> </execution> <execution> <id>npm install</id> <phase>none</phase> </execution> <execution> <!-- <artifactId>frontend-maven-plugin</artifactId> <executions> <execution> -->
<id>npm run build</id> <phase>none</phase> </execution> </executions> </plugin> </plugins> </build> </profile> <!-- <id>install node and npm</id> -->
<profile> <id>default-second</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <!--<phase>none</phase> </execution> <execution> <id>npm install</id> <phase>none</phase> </execution> -->
<executions> <execution> <id>install node and npm</id> <phase>none</phase> </execution> <execution> <id>npm <!-- <execution> <id>npm run build</id> <phase>none</phase> </execution> </executions> </plugin> -->
install</id> <phase>none</phase> </execution> <execution> <id>npm run build</id> <phase>none</phase> <!--</plugins> </build> </profile> -->
</execution> </executions> </plugin> </plugins> </build> </profile> </profiles> --> <!--<profile> <id>default-second</id> <build> <plugins> <plugin> <groupId>com.github.eirslett</groupId> -->
<!-- <artifactId>frontend-maven-plugin</artifactId> -->
<!--<executions> <execution> <id>install node and npm</id> <phase>none</phase> </execution> <execution> -->
<!-- <id>npm install</id> <phase>none</phase> </execution> <execution> <id>npm run build</id> <phase>none</phase> -->
<!--</execution> </executions> </plugin> </plugins> </build> </profile> </profiles> -->
<properties> <properties>
<!-- Maven plugins --> <!-- Maven plugins -->

View File

@ -19,8 +19,8 @@
<artifactId>truth</artifactId> <artifactId>truth</artifactId>
<version>${truth.version}</version> <version>${truth.version}</version>
<exclusions> <exclusions>
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine <!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine -->
included in parent-modules. --> <!--included in parent-modules. -->
<exclusion> <exclusion>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
@ -49,8 +49,8 @@
<version>${jgotesting.version}</version> <version>${jgotesting.version}</version>
<scope>test</scope> <scope>test</scope>
<exclusions> <exclusions>
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine <!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine -->
included in parent-modules. --> <!-- included in parent-modules. -->
<exclusion> <exclusion>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>

View File

@ -29,16 +29,13 @@
<artifactId>spring-context</artifactId> <artifactId>spring-context</artifactId>
<version>${spring-framework.version}</version> <version>${spring-framework.version}</version>
</dependency> </dependency>
<!-- utils --> <!-- utils -->
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version> <version>${commons-lang3.version}</version>
</dependency> </dependency>
<!-- test scoped --> <!-- test scoped -->
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>

View File

@ -27,10 +27,10 @@
<build> <build>
<finalName>${project.artifactId}</finalName> <finalName>${project.artifactId}</finalName>
<plugins> <plugins>
<!-- disabling shade plugin as it is causing issues with creating dependency-reduced-pom <!-- disabling shade plugin as it is causing issues with creating dependency-reduced-pom -->
on the build server <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <!-- on the build server <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> -->
<version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals> <!-- <version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> -->
<goal>shade</goal> </goals> </execution> </executions> </plugin> --> <!--<goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>

View File

@ -108,8 +108,8 @@
</filesets> </filesets>
</configuration> </configuration>
</plugin> </plugin>
<!-- The Jetty plugin allows us to easily test the development build by running jetty:run <!-- The Jetty plugin allows us to easily test the development build by running jetty:run -->
on the command line. --> <!-- on the command line. -->
<plugin> <plugin>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId> <artifactId>jetty-maven-plugin</artifactId>

View File

@ -12,6 +12,7 @@
<artifactId>vavr-modules</artifactId> <artifactId>vavr-modules</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.vavr</groupId> <groupId>io.vavr</groupId>

View File

@ -316,8 +316,8 @@
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<!-- NOTE: We don't need a groupId specification because the group is org.apache.maven.plugins <!-- NOTE: We don't need a groupId specification because the group is org.apache.maven.plugins -->
...which is assumed by default. --> <!--...which is assumed by default. -->
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<configuration> <configuration>
<archiveBaseDirectory>${project.basedir}</archiveBaseDirectory> <archiveBaseDirectory>${project.basedir}</archiveBaseDirectory>