blob: 711663fd9ee6dd7d724e9febb0cb05fa41a98c57 [file] [log] [blame]
<!-- 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. -->
<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"
child.project.url.inherit.append.path="false">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.directory.project</groupId>
<artifactId>project</artifactId>
<version>50</version>
</parent>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scimple</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>SCIMple</name>
<description>Apache Directory SCIMple - Jakarta EE implementation of the SCIM version 2.0 specification (RFC7642, RFC7643 and RFC7644)</description>
<url>https://github.com/apache/directory-scimple</url>
<properties>
<project.build.outputTimestamp>2024-01-09T22:20:58Z</project.build.outputTimestamp>
<version.previous>1.0.0-M1</version.previous>
<previous.tag>${version.previous}</previous.tag>
<jdk.version>17</jdk.version>
<max.jdk.version>${jdk.version}</max.jdk.version>
<maven.compiler.source>${jdk.version}</maven.compiler.source>
<maven.compiler.target>${jdk.version}</maven.compiler.target>
<maven.compiler.release>${jdk.version}</maven.compiler.release>
<gpg.bestPractices>true</gpg.bestPractices>
<version.jackson>2.20.0</version.jackson>
<version.logback>1.5.25</version.logback>
<version.restfuse>1.2.0</version.restfuse>
<version.slf4j>2.0.16</version.slf4j>
<version.antlr4>4.13.2</version.antlr4>
<version.resteasy>7.0.1.Final</version.resteasy>
<!-- build against Spring Boot 3.x, test against 3 and 4 (until 3 is end of life) -->
<version.spring-boot3>3.5.8</version.spring-boot3>
<version.spring-boot4>4.0.0</version.spring-boot4>
<!-- default surefire/failsafe arg lines to empty-->
<jacoco.argline />
<jacoco.it.argline />
</properties>
<modules>
<module>scim-spec/scim-spec-schema</module>
<module>scim-spec/scim-spec-protocol</module>
<module>scim-client</module>
<module>scim-core</module>
<module>scim-server</module>
<module>scim-server-examples/scim-server-memory</module>
<module>scim-server-examples/scim-server-jersey</module>
<module>scim-server-examples/scim-server-quarkus</module>
<module>scim-server-examples/scim-server-spring-boot</module>
<module>scim-server-examples/scim-server-spring-boot-4</module>
<module>support/spring-boot</module>
<module>scim-tools</module>
<module>scim-compliance-tests</module>
<module>scim-test</module>
<module>scim-coverage</module>
</modules>
<scm child.scm.connection.inherit.append.path="false"
child.scm.developerConnection.inherit.append.path="false"
child.scm.url.inherit.append.path="false">
<connection>scm:git:https://github.com/apache/directory-scimple.git</connection>
<developerConnection>scm:git:ssh://git@github.com/apache/directory-scimple.git</developerConnection>
<url>https://github.com/apache/directory-scimple</url>
<tag>HEAD</tag>
</scm>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/apache/directory-scimple/actions</url>
</ciManagement>
<mailingLists combine.self="override">
<mailingList>
<name>The Directory SCIMple List</name>
<subscribe>scimple-subscribe@directory.apache.org</subscribe>
<unsubscribe>scimple-unsubscribe@directory.apache.org</unsubscribe>
<post>scimple@directory.apache.org</post>
<archive>https://lists.apache.org/list.html?scimple@directory.apache.org</archive>
</mailingList>
<mailingList>
<name>The Directory Developers List</name>
<subscribe>dev-subscribe@directory.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@directory.apache.org</unsubscribe>
<post>dev@directory.apache.org</post>
<archive>https://lists.apache.org/list.html?dev@directory.apache.org</archive>
</mailingList>
<mailingList>
<name>The Directory Notifications List</name>
<subscribe>notifications-subscribe@directory.apache.org</subscribe>
<unsubscribe>notifications-unsubscribe@directory.apache.org</unsubscribe>
<post>notifications@directory.apache.org</post>
<archive>https://lists.apache.org/list.html?notifications@directory.apache.org</archive>
</mailingList>
<mailingList>
<name>The Directory Commits (SVN and Git) List</name>
<subscribe>commits-subscribe@directory.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@directory.apache.org</unsubscribe>
<archive>https://lists.apache.org/list.html?commits@directory.apache.org</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>ussmith</id>
<name>Shawn Smith</name>
<email>ses44@psu.edu</email>
<url>https://github.com/ussmith</url>
<timezone>-0500</timezone>
<organization>The Pennsylvania State University</organization>
<organizationUrl>https://www.psu.edu</organizationUrl>
</developer>
<developer>
<id>chrisharm</id>
<name>Christopher Harm</name>
<email>crh5255@psu.edu</email>
<url>https://github.com/chrisharm</url>
<timezone>-0500</timezone>
<organization>The Pennsylvania State University</organization>
<organizationUrl>https://www.psu.edu</organizationUrl>
</developer>
<developer>
<id>smoyer64</id>
<name>Steve Moyer</name>
<email>smoyer@psu.edu</email>
<url>https://github.com/smoyer64</url>
<timezone>-0500</timezone>
<organization>The Pennsylvania State University</organization>
<organizationUrl>https://www.psu.edu</organizationUrl>
</developer>
<developer>
<id>bdemers</id>
<email>bdemers@apache.org</email>
<url>https://blog.bdemers.io/</url>
<timezone>-0500</timezone>
</developer>
</developers>
<dependencyManagement>
<dependencies>
<!-- Project Modules -->
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-spec-protocol</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-spec-schema</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-core</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-tools</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-server</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-client</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-compliance-tests</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-test</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.directory.scimple</groupId>
<artifactId>scim-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.weld.se</groupId>
<artifactId>weld-se-core</artifactId>
<version>5.1.6.Final</version>
</dependency>
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-bom</artifactId>
<version>10.0.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>6.0.1</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${version.jackson}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured-bom</artifactId>
<type>pom</type>
<version>6.0.0</version>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jersey</groupId>
<artifactId>jersey-bom</artifactId>
<version>3.1.11</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>8.0.2.Final</version>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
<version>4.0.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>${version.resteasy}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<version>${version.resteasy}</version>
<scope>test</scope>
</dependency>
<!-- Guava is a transitive dep, forcing a newer version to avoid older vulns -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.5.0-android</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${version.logback}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${version.logback}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${version.slf4j}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${version.slf4j}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${version.slf4j}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${version.slf4j}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.21.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.21.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.27.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>eu.codearte.catch-exception</groupId>
<artifactId>catch-exception</artifactId>
<version>2.0</version>
<scope>test</scope>
</dependency>
<!-- Transitive dependencies specific versions -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.20.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.7.0</version>
<extensions>true</extensions>
<configuration>
<serverId>apache.releases.https</serverId>
<nexusUrl>https://repository.apache.org/</nexusUrl>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>jacoco.argline</propertyName>
</configuration>
</execution>
<execution>
<id>prepare-agent-integration</id>
<phase>pre-integration-test</phase>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
<configuration>
<propertyName>jacoco.it.argline</propertyName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<id>run-its</id>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.6.2</version>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.11.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>17</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
<execution>
<id>enforce-bytecode-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<enforceBytecodeVersion>
<maxJdkVersion>${max.jdk.version}</maxJdkVersion>
<excludes>
<exclude>org.apache.tomcat.embed:tomcat-embed-core</exclude>
</excludes>
</enforceBytecodeVersion>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.25.1</version>
<configuration>
<oldVersion>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${version.previous}</version>
<type>${project.packaging}</type>
</dependency>
</oldVersion>
<parameter>
<onlyModified>true</onlyModified>
<breakBuildOnSourceIncompatibleModifications>false</breakBuildOnSourceIncompatibleModifications>
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
<breakBuildBasedOnSemanticVersioning>false</breakBuildBasedOnSemanticVersioning>
</parameter>
</configuration>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<version>1.21.0</version>
<inherited>false</inherited>
<configuration>
<dryrun>true</dryrun>
<jreleaser>
<release>
<github>
<previousTagName>${previous.tag}</previousTagName>
<token>not_used</token>
<changelog>
<links>true</links>
<skipMergeCommits>true</skipMergeCommits>
<formatted>ALWAYS</formatted>
<content>
## Changelog
{{changelogChanges}}
</content>
<format>- {{commitShortHash}} {{commitTitle}}</format>
<labelers>
<labeler>
<label>dependencies</label>
<title>from apache/dependabot</title>
<order>10</order>
</labeler>
<labeler>
<label>dependencies</label>
<contributor>dependabot[bot]</contributor>
<order>11</order>
</labeler>
<labeler>
<label>automated</label>
<title>regex:.*\[maven-release-plugin\].*</title>
<order>20</order>
</labeler>
</labelers>
<categories>
<category>
<title>Dependencies</title>
<key>dependencies</key>
<labels>
<label>dependencies</label>
</labels>
<order>10</order>
</category>
<category>
<title>Automated</title>
<key>automated</key>
<labels>
<label>automated</label>
</labels>
<order>20</order>
</category>
</categories>
<hide>
<categories>
<category>dependencies</category>
<category>automated</category>
</categories>
<contributors>
<contributor>dependabot[bot]</contributor>
</contributors>
</hide>
</changelog>
</github>
</release>
</jreleaser>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>11.1.1</version>
<configuration>
<failBuildOnCVSS>0</failBuildOnCVSS>
<suppressionFile>${session.executionRootDirectory}/src/owasp/suppression.xml</suppressionFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.1</version>
<configuration>
<!-- parent pom currently defines v1.7 -->
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>5.1.5.Final</version>
<configuration>
<id>${jbossServerId}</id>
<hostname>${jbossHostname}</hostname>
</configuration>
</plugin>
<plugin>
<groupId>io.ultreia.java4all.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0.0-rc-1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<flowInitContext>
<versionTagPrefix>SCIMple-</versionTagPrefix>
</flowInitContext>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.17</version>
<configuration>
<inputExcludeStd>ECLIPSE</inputExcludeStd>
<inputExcludeStd>IDEA</inputExcludeStd>
<inputExcludeStd>MAC</inputExcludeStd>
<excludes>
<exclude>**/*.md</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.iml</exclude>
<exclude>mvnw</exclude>
<exclude>mvnw.cmd</exclude>
<exclude>.mvn/maven.config</exclude>
<exclude>**/target/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
<configuration>
<!-- parent pom overrides the default, so we MUST set the jacoco argline directly -->
<argLine>@{jacoco.argline}</argLine>
<enablePropertiesElement>false</enablePropertiesElement>
<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.5.4</version>
<configuration>
<argLine>@{jacoco.it.argline}</argLine>
<enablePropertiesElement>false</enablePropertiesElement>
<includes>
<include>**/*IT.java</include>
</includes>
<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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<signTag>true</signTag>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>verify</preparationGoals>
<goals>install deploy</goals>
<!-- the javadoc aggregation is not thread safe -->
<!-- generate SHA-512 checksums -->
<arguments>--threads=1 -Daether.checksums.algorithms=SHA-512,SHA-1,MD5</arguments>
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-artifact-plugin</artifactId>
<version>3.6.1</version>
<configuration>
<fail>true</fail>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.14</version>
</plugin>
<plugin>
<groupId>io.smallrye</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<version>3.5.3</version>
<executions>
<execution>
<id>make-index</id>
<goals>
<goal>jandex</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<format>net.sourceforge.pmd.renderers.SarifRenderer</format>
<linkXRef>false</linkXRef>
<rulesets>
<ruleset>${session.executionRootDirectory}/src/pmd/ruleset.xml</ruleset>
</rulesets>
<excludeRoots>
<!-- Need to reference child module directly, it's needed for pmd:aggregate-pmd -->
<excludeRoot>${session.executionRootDirectory}/scim-spec/scim-spec-schema/target/generated-sources/antlr4</excludeRoot>
</excludeRoots>
</configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.9.8.2</version>
<configuration>
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.14.0</version>
</plugin>
</plugins>
<effort>Max</effort>
<threshold>Medium</threshold>
<failOnError>true</failOnError>
<omitVisitors>CrlfLogInjectionDetector</omitVisitors>
<xmlOutput>true</xmlOutput>
<fork>false</fork>
<excludeFilterFile>${session.executionRootDirectory}/src/spotbugs/excludes.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.20.1</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
<ruleSet>
<ignoreVersions>
<ignoreVersion>
<type>regex</type>
<version>(?i).+(-|\.)(alpha|beta).+</version>
</ignoreVersion>
<ignoreVersion>
<type>regex</type>
<version>.+-M\\d.+</version>
</ignoreVersion>
</ignoreVersions>
</ruleSet>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>ci</id>
<activation>
<property>
<name>env.CI</name>
</property>
</activation>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.48.0</version>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>start</id>
<phase>pre-integration-test</phase>
<goals>
<goal>build</goal>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>docker</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.48.0</version>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>build</id>
<phase>pre-integration-test</phase>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sign-artifacts</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
</goals>
<configuration>
<excludePackageNames>org.apache.directory.scim.example.*,org.apache.directory.scim.test.*</excludePackageNames>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<goals>
<goal>makeAggregateBom</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jreleaser</groupId>
<artifactId>jreleaser-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>changelog</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>ci-templating</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<resources>
<resource>
<directory>${project.basedir}/src/ci-templates</directory>
<filtering>true</filtering>
</resource>
</resources>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>