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>
</parent>
<properties>
<combinatoricslib3.version>3.3.3</combinatoricslib3.version>
<commons-collections4.version>4.4</commons-collections4.version>
</properties>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
@ -41,4 +37,9 @@
</dependency>
</dependencies>
<properties>
<combinatoricslib3.version>3.3.3</combinatoricslib3.version>
<commons-collections4.version>4.4</commons-collections4.version>
</properties>
</project>

View File

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

View File

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

View File

@ -58,17 +58,6 @@
</dependency>
</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>
<plugins>
<plugin>
@ -83,4 +72,14 @@
</plugins>
</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>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,8 +24,8 @@
</modules>
<dependencyManagement>
<!-- 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 -->
<!-- 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 -->
<dependencies>
<dependency>
<groupId>${quarkus.platform.group-id}</groupId>

View File

@ -1,26 +1,17 @@
<?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"
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">
<modelVersion>4.0.0</modelVersion>
<artifactId>quarkus-project</artifactId>
<version>0.1-SNAPSHOT</version>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>quarkus-vs-springboot</artifactId>
<version>1.0-SNAPSHOT</version>
</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>
<dependencies>
<dependency>
@ -32,6 +23,7 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
@ -68,6 +60,7 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
@ -104,6 +97,7 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>native</id>
@ -140,4 +134,18 @@
</properties>
</profile>
</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>

View File

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

View File

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

View File

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

View File

@ -1,17 +1,19 @@
<?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">
<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>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-3</relativePath>
</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>
<dependency>
@ -47,13 +49,9 @@
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- depends on javax.servlet, see https://github.com/springdoc/springdoc-openapi/issues/1284
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.6.9</version>
</dependency>
-->
<!-- depends on javax.servlet, see https://github.com/springdoc/springdoc-openapi/issues/1284 -->
<!--<dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> -->
<!-- <version>1.6.9</version> </dependency> -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>

View File

@ -17,9 +17,17 @@
<relativePath>../../parent-boot-2</relativePath>
</parent>
<properties>
<keycloak-adapter-bom.version>15.0.2</keycloak-adapter-bom.version>
</properties>
<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>
<dependencies>
<dependency>
@ -41,18 +49,6 @@
</dependency>
</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>
<plugins>
<plugin>
@ -62,4 +58,8 @@
</plugins>
</build>
<properties>
<keycloak-adapter-bom.version>15.0.2</keycloak-adapter-bom.version>
</properties>
</project>

View File

@ -15,12 +15,6 @@
<version>1.0.0-SNAPSHOT</version>
</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>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -72,4 +66,10 @@
</plugins>
</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>

View File

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

View File

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

View File

@ -3,7 +3,6 @@
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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>spring-core-6</artifactId>
<version>0.0.1-SNAPSHOT</version>
@ -16,13 +15,6 @@
<version>1.0.0-SNAPSHOT</version>
</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>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -74,7 +66,6 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
@ -86,4 +77,12 @@
</plugins>
</pluginManagement>
</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>

View File

@ -24,8 +24,9 @@
<dependencyManagement>
<dependencies>
<!-- 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 -->
<!-- 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 -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

View File

@ -105,13 +105,11 @@
<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>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>

View File

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

View File

@ -80,8 +80,8 @@
</dependencies>
<properties>
<!-- Remove this explicit override once more recent version of spring-security-oauth2-autoconfigure
is available -->
<!-- Remove this explicit override once more recent version of spring-security-oauth2-autoconfigure -->
<!-- is available -->
<spring-boot.version>2.5.2</spring-boot.version>
<start-class>com.baeldung.oauth2.SpringOAuthApplication</start-class>
<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>
<artifactId>pkce-auth-server</artifactId>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>spring-security-pkce</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>pkce-auth-server</artifactId>
<properties>
<spring-authorization-server.version>0.3.1</spring-authorization-server.version>
</properties>
<dependencies>
<dependency>
@ -22,4 +21,9 @@
<version>${spring-authorization-server.version}</version>
</dependency>
</dependencies>
<properties>
<spring-authorization-server.version>0.3.1</spring-authorization-server.version>
</properties>
</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>
<artifactId>pkce-client</artifactId>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>spring-security-pkce</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>pkce-client</artifactId>
<dependencies>
<dependency>
@ -21,4 +24,5 @@
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
</dependencies>
</project>

View File

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

View File

@ -217,8 +217,8 @@
<properties>
<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
below -->
<!--If you want to run the example with the voters comment the tag above and uncomment the one -->
<!-- below -->
<!--<start-class>com.baeldung.roles.voter.VoterApplication</start-class> -->
<taglibs-standard.version>1.1.2</taglibs-standard.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> -->
<!--This runs the example with the multiple logins application -->
<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
uncomment the one below -->
<!--If you want to run the example with the multiple http elements, comment the tag above and -->
<!-- uncomment the one below -->
<!--<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
uncomment the one below -->
<!--If you want to run the example with the Https enabled endpoints, comment the tag above and -->
<!--uncomment the one below -->
<!-- <start-class>com.baeldung.ssl.HttpsEnabledApplication</start-class> -->
<taglibs-standard.version>1.1.2</taglibs-standard.version>
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>

View File

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

View File

@ -108,17 +108,19 @@
</warSourceExcludes>
</configuration>
</plugin>
<!-- 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 enabled manually while running this module on local, or directly npm can be run inside the
webapp folder -->
<!-- <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version> <configuration> <nodeVersion>${node.version}</nodeVersion>
<workingDirectory>src/main/webapp/WEB-INF/view/react</workingDirectory> </configuration> <executions>
<execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> </goals> </execution>
<execution> <id>npm install</id> <goals> <goal>npm</goal> </goals> </execution> <execution> <id>npm run
build</id> <goals> <goal>npm</goal> </goals> <configuration> <arguments>run build</arguments> </configuration>
</execution> </executions> </plugin> -->
<!-- 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 enabled manually while running this module on local, or -->
<!-- directly npm can be run inside the webapp folder -->
<!-- <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> -->
<!-- <version>${frontend-maven-plugin.version}</version> <configuration> <nodeVersion>${node.version}</nodeVersion> -->
<!-- <workingDirectory>src/main/webapp/WEB-INF/view/react</workingDirectory> </configuration> -->
<!-- <executions> <execution> <id>install node and npm</id> <goals> <goal>install-node-and-npm</goal> -->
<!-- </goals> </execution><execution> -->
<!-- <id>npm install</id> <goals> <goal>npm</goal> </goals> </execution> <execution> -->
<!-- <id>npm run build</id> <goals> <goal>npm</goal> </goals> -->
<!-- <configuration> <arguments>run build</arguments> </configuration> -->
<!-- </execution> </executions> </plugin> -->
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
@ -128,17 +130,21 @@
</build>
<!-- 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
enabled manually while running this module on local, or directly npm can be run inside the webapp folder -->
<!-- <profiles> <profile> <id>default-first</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>
<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> -->
<!-- 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 enabled manually while running this module on local, or directly npm can be run inside -->
<!-- the webapp folder -->
<!-- <profiles> <profile> <id>default-first</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> -->
<!--<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>
<!-- Maven plugins -->

View File

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

View File

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

View File

@ -27,10 +27,10 @@
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- 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>
<version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals>
<goal>shade</goal> </goals> </execution> </executions> </plugin> -->
<!-- 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> -->
<!-- <version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> -->
<!--<goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>

View File

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

View File

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

View File

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