Adds a handful of maven build perforance improvements
diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml
new file mode 100644
index 0000000..7114cdc
--- /dev/null
+++ b/.mvn/develocity.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+<develocity
+ xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
+ <server>
+ <url>https://scans.gradle.com</url>
+ </server>
+ <buildScan>
+ <backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload>
+ <termsOfUse>
+ <url>https://gradle.com/help/legal-terms-of-use</url>
+ <accept>true</accept>
+ </termsOfUse>
+ </buildScan>
+ <buildCache>
+ <local>
+ <enabled>#{isFalse(env['CI'])}</enabled>
+ </local>
+ <remote>
+ <enabled>false</enabled>
+ </remote>
+ </buildCache>
+</develocity>
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
new file mode 100644
index 0000000..3200441
--- /dev/null
+++ b/.mvn/extensions.xml
@@ -0,0 +1,13 @@
+<extensions>
+ <extension>
+ <groupId>com.gradle</groupId>
+ <artifactId>develocity-maven-extension</artifactId>
+ <version>1.23</version>
+ </extension>
+ <!-- optional extension that adds more data to build scan -->
+ <extension>
+ <groupId>com.gradle</groupId>
+ <artifactId>common-custom-user-data-maven-extension</artifactId>
+ <version>2.0.1</version>
+ </extension>
+</extensions>
diff --git a/.mvn/maven.config b/.mvn/maven.config
new file mode 100644
index 0000000..9412a88
--- /dev/null
+++ b/.mvn/maven.config
@@ -0,0 +1 @@
+--threads=1.5C
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
index f95f1ee..1319c3a 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -16,4 +16,4 @@
# under the License.
wrapperVersion=3.3.2
distributionType=only-script
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip
+distributionUrl=https://archive.apache.org/dist/maven/mvnd/1.0.2/maven-mvnd-1.0.2-bin.zip
diff --git a/pom.xml b/pom.xml
index 75bcf93..ac21951 100644
--- a/pom.xml
+++ b/pom.xml
@@ -434,33 +434,6 @@
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
</plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <executions>
- <execution>
- <id>scan</id>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>scan</id>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
<pluginManagement>
@@ -608,6 +581,12 @@
<include>**/*Tests.java</include>
<include>**/*TestCase.java</include>
</includes>
+ <properties>
+ <configurationParameters>
+ junit.jupiter.execution.parallel.enabled = true
+ junit.jupiter.execution.parallel.mode.default = concurrent
+ </configurationParameters>
+ </properties>
</configuration>
</plugin>
<plugin>
@@ -623,6 +602,12 @@
<dependenciesToScan>
<dependency>org.apache.directory.scimple:scim-compliance-tests</dependency>
</dependenciesToScan>
+ <properties>
+ <configurationParameters>
+ junit.jupiter.execution.parallel.enabled = true
+ junit.jupiter.execution.parallel.mode.default = concurrent
+ </configurationParameters>
+ </properties>
</configuration>
</plugin>
<plugin>
@@ -723,6 +708,39 @@
<profiles>
<profile>
+ <id>ci</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>scan</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>scan</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>acceptance-tests</id>
<build>
<plugins>