<?xml version="1.0"?>
<!--
   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/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <groupId>io.github.weblegacy</groupId>
    <artifactId>commons-chain-parent</artifactId>
    <version>1.3.0</version>
    <name>Commons Chain :: Parent</name>
    <packaging>pom</packaging>
    <organization>
        <name>The Apache Software Foundation</name>
        <url>https://www.apache.org</url>
    </organization>
    <description>
        An implementation of the GoF Chain of Responsibility pattern
    </description>
    <url>https://weblegacy.github.io/commons-chain/</url>
    <issueManagement>
        <system>GitHub</system>
        <url>https://github.com/weblegacy/commons-chain/issues/</url>
    </issueManagement>
    <inceptionYear>2003</inceptionYear>

    <mailingLists>
        <!-- N.B. commons-site now uses the Apache POM so has its own copy of the mailing list definitions -->
        <mailingList>
            <name>Commons User List</name>
            <subscribe>user-subscribe@commons.apache.org</subscribe>
            <unsubscribe>user-unsubscribe@commons.apache.org</unsubscribe>
            <post>user@commons.apache.org</post>
            <archive>http://mail-archives.apache.org/mod_mbox/commons-user/</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.apache.commons.users/</otherArchive>
                <otherArchive>http://old.nabble.com/Commons---User-f319.html</otherArchive>
                <otherArchive>http://www.mail-archive.com/user@commons.apache.org/</otherArchive>
                <otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.user</otherArchive>
            </otherArchives>
        </mailingList>
        <mailingList>
            <name>Commons Dev List</name>
            <subscribe>dev-subscribe@commons.apache.org</subscribe>
            <unsubscribe>dev-unsubscribe@commons.apache.org</unsubscribe>
            <post>dev@commons.apache.org</post>
            <archive>http://mail-archives.apache.org/mod_mbox/commons-dev/</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.apache.commons.dev/</otherArchive>
                <otherArchive>http://old.nabble.com/Commons---Dev-f317.html</otherArchive>
                <otherArchive>http://www.mail-archive.com/dev@commons.apache.org/</otherArchive>
                <otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.devel</otherArchive>
            </otherArchives>
        </mailingList>
        <mailingList>
            <name>Commons Issues List</name>
            <subscribe>issues-subscribe@commons.apache.org</subscribe>
            <unsubscribe>issues-unsubscribe@commons.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/commons-issues/</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.apache.commons.issues/</otherArchive>
                <otherArchive>http://old.nabble.com/Commons---Issues-f25499.html</otherArchive>
                <otherArchive>http://www.mail-archive.com/issues@commons.apache.org/</otherArchive>
            </otherArchives>
        </mailingList>
        <mailingList>
            <name>Commons Commits List</name>
            <subscribe>commits-subscribe@commons.apache.org</subscribe>
            <unsubscribe>commits-unsubscribe@commons.apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/commons-commits/</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.apache.commons.commits/</otherArchive>
                <otherArchive>http://www.mail-archive.com/commits@commons.apache.org/</otherArchive>
            </otherArchives>
        </mailingList>
        <mailingList>
            <name>Apache Announce List</name>
            <subscribe>announce-subscribe@apache.org</subscribe>
            <unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
            <archive>http://mail-archives.apache.org/mod_mbox/announce/</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.apache.announce/</otherArchive>
                <otherArchive>http://old.nabble.com/Apache-News-and-Announce-f109.html</otherArchive>
                <otherArchive>http://www.mail-archive.com/announce@apache.org/</otherArchive>
                <otherArchive>http://news.gmane.org/gmane.comp.apache.announce</otherArchive>
            </otherArchives>
        </mailingList>
    </mailingLists>

    <developers>
        <developer>
            <id>ste-gr</id>
            <name>Stefan Graff</name>
            <email>stefan.graff@gmx.at</email>
            <url>https://github.com/ste-gr</url>
            <roles>
                <role>architect (since 2023)</role>
                <role>developer (since 2023)</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
        <developer>
            <name>Craig McClanahan</name>
            <id>craigmcc</id>
            <email>craigmcc at apache.org</email>
        </developer>
        <developer>
            <name>Ted Husted</name>
            <id>husted</id>
            <email>husted at apache.org</email>
        </developer>
        <developer>
            <name>Martin Cooper</name>
            <id>martinc</id>
            <email>martinc at apache.org</email>
        </developer>
        <developer>
            <name>Don Brown</name>
            <id>mrdon</id>
            <email>mrdon at apache.org</email>
        </developer>
        <developer>
            <name>James Mitchell</name>
            <id>jmitchell</id>
            <email>jmitchell at apache.org</email>
        </developer>
        <developer>
            <name>Joe Germuska</name>
            <id>germuska</id>
            <email>germuska at apache.org</email>
        </developer>
        <developer>
            <name>Niall Pemberton</name>
            <id>niallp</id>
            <email>niallp at apache.org</email>
        </developer>
    </developers>

    <scm>
        <connection>scm:git:https://github.com/weblegacy/commons-chain.git</connection>
        <developerConnection>scm:git:git@github.com:weblegacy/commons-chain.git</developerConnection>
        <url>https://github.com/weblegacy/commons-chain/tree/CHAIN_1_X</url>
    </scm>

    <modules>
        <module>commons-chain</module>
        <module>commons-chain-web</module>
        <module>commons-chain-web-jakarta</module>
        <module>commons-chain-web-jakarta-faces</module>
        <module>commons-chain-web-jakarta-servlet</module>
        <module>commons-chain-web-javax</module>
        <module>commons-chain-web-javax-faces</module>
        <module>commons-chain-web-javax-portlet</module>
        <module>commons-chain-web-javax-servlet</module>
    </modules>

    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
            <comments/>
        </license>
    </licenses>

    <properties>
        <sourceEncoding>UTF-8</sourceEncoding>
        <propertiesEncoding>ISO-8859-1</propertiesEncoding>
        <project.build.sourceEncoding>${sourceEncoding}</project.build.sourceEncoding>
        <project.reporting.outputEncoding>${sourceEncoding}</project.reporting.outputEncoding>
        <mavenVersion>[3.8.1,4)</mavenVersion>
        <surefireVersion>3.2.1</surefireVersion>
        <oldversion>1.2</oldversion>
        <commonsDigesterVersion>2.1</commonsDigesterVersion>
        <jakartaServletVersion>5.0.0</jakartaServletVersion>
        <jakartaFacesVersion>3.0.0</jakartaFacesVersion>
        <javaxServletVersion>4.0.1</javaxServletVersion>
        <javaxPortletVersion>3.0.1</javaxPortletVersion>
        <javaxFacesVersion>2.3</javaxFacesVersion>
        <slf4jVersion>2.0.9</slf4jVersion>

        <!-- Configuration properties for the OSGi maven-bundle-plugin -->
        <commons.osgi.export>org.apache.commons.*;version=${project.version};-noimport:=true</commons.osgi.export>
        <commons.osgi.import>*</commons.osgi.import>
        <commons.osgi.dynamicImport />
        <commons.osgi.private />

        <!-- location of any manifest file used by maven-jar-plugin -->
        <commons.manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</commons.manifestfile>
    </properties> 

    <profiles>
        <profile>
            <id>apps</id>
            <activation>
                <property>
                    <name>apps</name>
                </property>
            </activation>
            <modules>
                <module>commons-chain-apps</module>
            </modules>
        </profile>
        <profile>
            <id>release</id>
            <activation>
                <property>
                    <name>release</name>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <artifactId>maven-source-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <build>
        <!-- ensure jars also get NOTICE & LICENSE files -->
        <resources>
            <!-- This is the default setting from the super-pom -->
            <resource>
                <directory>src/main/resources</directory>
            </resource>
            <!-- hack to ensure the N&L appear in jars -->
            <resource>
                <directory>${basedir}</directory>
                <targetPath>META-INF</targetPath>
                <includes>
                    <include>LICENSE.txt</include>
                    <include>NOTICE.txt</include>
                </includes>
            </resource>
        </resources>
        <!-- ensure test jars also get NOTICE & LICENSE files -->
        <testResources>
            <!-- This is the default setting from the super-pom -->
            <testResource>
                <directory>src/test/resources</directory>
            </testResource>
            <!-- hack to ensure the N&L appear in jars -->
            <testResource>
                <directory>${basedir}</directory>
                <targetPath>META-INF</targetPath>
                <includes>
                    <include>LICENSE.txt</include>
                    <include>NOTICE.txt</include>
                </includes>
            </testResource>
        </testResources>
        <pluginManagement>
            <plugins>
                <plugin>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>3.6.0</version>
                </plugin>
                <plugin>
                    <artifactId>maven-changes-plugin</artifactId>
                    <version>2.12.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>3.3.1</version>
                    <dependencies>
                        <dependency>
                            <groupId>com.puppycrawl.tools</groupId>
                            <artifactId>checkstyle</artifactId>
                            <version>10.12.4</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>3.3.2</version>
                </plugin>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.11.0</version>
                    <configuration>
                        <verbose>false</verbose>
                        <release>8</release>
                        <testRelease>9</testRelease>
                        <showDeprecation>true</showDeprecation>
                        <showWarnings>true</showWarnings>
                        <compilerArgs>
                            <arg>-Xlint:all</arg>
                            <arg>-Xlint:-processing</arg>
                        </compilerArgs>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>3.6.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>3.1.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>3.4.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-gpg-plugin</artifactId>
                    <version>3.1.0</version>
                </plugin>
                <plugin>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>3.1.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.3.0</version>
                </plugin>
                <plugin>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>3.6.0</version>
                    <configuration>
                        <detectLinks>true</detectLinks>
                        <dependencyLinks>
                            <dependencyLink>
                                <groupId>org.junit.jupiter</groupId>
                                <artifactId>junit-jupiter-api</artifactId>
                                <url>https://junit.org/junit5/docs/current/api</url>
                            </dependencyLink>
                            <dependencyLink>
                                <groupId>jakarta.servlet</groupId>
                                <artifactId>jakarta.servlet-api</artifactId>
                                <url>https://javadoc.io/doc/jakarta.servlet/jakarta.servlet-api/${jakartaServletVersion}</url>
                            </dependencyLink>
                            <dependencyLink>
                                <groupId>jakarta.faces</groupId>
                                <artifactId>jakarta.faces-api</artifactId>
                                <url>https://javadoc.io/doc/jakarta.faces/jakarta.faces-api/${jakartaFacesVersion}</url>
                            </dependencyLink>
                            <dependencyLink>
                                <groupId>javax.portlet</groupId>
                                <artifactId>portlet-api</artifactId>
                                <url>https://javadoc.io/doc/javax.portlet/portlet-api/${javaxPortletVersion}</url>
                            </dependencyLink>
                            <dependencyLink>
                                <groupId>javax.servlet</groupId>
                                <artifactId>javax.servlet-api</artifactId>
                                <url>https://javadoc.io/doc/javax.servlet/javax.servlet-api/${javaxServletVersion}</url>
                            </dependencyLink>
                            <dependencyLink>
                                <groupId>javax.faces</groupId>
                                <artifactId>javax.faces-api</artifactId>
                                <url>https://javadoc.io/static/javax.faces/javax.faces-api/${javaxFacesVersion}/javadocs</url>
                            </dependencyLink>
                            <dependencyLink>
                                <groupId>commons-digester</groupId>
                                <artifactId>commons-digester</artifactId>
                                <url>https://commons.apache.org/proper/commons-digester/commons-digester-${commonsDigesterVersion}/docs/api</url>
                            </dependencyLink>
                        </dependencyLinks>
                        <linksource>true</linksource>
                        <failOnError>true</failOnError>
                        <quiet>false</quiet>
                        <verbose>true</verbose>
                        <doclint>all</doclint>
                        <notimestamp>true</notimestamp>
                        <release>9</release>
                        <legacyMode>true</legacyMode>
                        <tags>
                            <tag>
                                <name>apiNote</name>
                                <placement>a</placement>
                                <head>API Note:</head>
                            </tag>
                            <tag>
                                <name>implSpec</name>
                                <placement>a</placement>
                                <head>Implementation Requirements:</head>
                            </tag>
                            <tag>
                                <name>implNote</name>
                                <placement>a</placement>
                                <head>Implementation Note:</head>
                            </tag>
                        </tags>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-jxr-plugin</artifactId>
                    <version>3.3.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>3.21.0</version>
                </plugin>
                <plugin>
                    <artifactId>maven-project-info-reports-plugin</artifactId>
                    <version>3.4.5</version>
                </plugin>
                <plugin>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>3.3.1</version>
                    <configuration>
                        <encoding>${sourceEncoding}</encoding>
                        <propertiesEncoding>${propertiesEncoding}</propertiesEncoding>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-scm-publish-plugin</artifactId>
                    <version>3.2.1</version>
                </plugin>
                <plugin>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>3.12.1</version>
                    <configuration>
                        <skipDeploy>true</skipDeploy>
                    </configuration>
                </plugin>
                <plugin>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>3.3.0</version>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${surefireVersion}</version>
                </plugin>
                <plugin>
                    <artifactId>maven-surefire-report-plugin</artifactId>
                    <version>${surefireVersion}</version>
                </plugin>
                <plugin>
                    <groupId>com.github.siom79.japicmp</groupId>
                    <artifactId>japicmp-maven-plugin</artifactId>
                    <version>0.18.2</version>
                </plugin>
                <plugin>
                    <groupId>com.github.spotbugs</groupId>
                    <artifactId>spotbugs-maven-plugin</artifactId>
                    <version>4.7.3.6</version>
                    <dependencies>
                        <dependency>
                            <groupId>com.github.spotbugs</groupId>
                            <artifactId>spotbugs</artifactId>
                            <version>4.8.0</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <groupId>biz.aQute.bnd</groupId>
                    <artifactId>bnd-maven-plugin</artifactId>
                    <version>7.0.0</version>
                </plugin>
                <plugin>
                    <groupId>org.jacoco</groupId>
                    <artifactId>jacoco-maven-plugin</artifactId>
                    <version>0.8.11</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptors>
                        <descriptor>src/assembly/bin.xml</descriptor>
                        <descriptor>src/assembly/src.xml</descriptor>
                    </descriptors>
                    <tarLongFileMode>gnu</tarLongFileMode>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-changes-plugin</artifactId>
                <executions>
                    <execution>
                        <id>validate-changes</id>
                        <phase>pre-site</phase>
                        <goals>
                            <goal>changes-validate</goal>
                        </goals>
                        <configuration>
                            <failOnError>true</failOnError>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default-compile9</id>
                        <phase>compile</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                        <configuration>
                            <release>9</release>
                            <compileSourceRoots> 
                                <compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot>
                            </compileSourceRoots> 
                            <multiReleaseOutput>true</multiReleaseOutput>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                    <execution>
                        <id>enforce-maven</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <requireJavaVersion>
                                    <version>[9,)</version>
                                </requireJavaVersion>
                                <requireMavenVersion>
                                    <version>${mavenVersion}</version>
                                </requireMavenVersion>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestFile>${commons.manifestfile}</manifestFile>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                        <manifestEntries>
                            <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-scm-publish-plugin</artifactId>
                <configuration>
                    <scmBranch>gh-pages</scmBranch>
                    <tryUpdate>true</tryUpdate>
                    <checkinComment>Site checkin for project ${project.name}, version ${project.version}.</checkinComment>
                </configuration>
                <executions>
                    <execution>
                        <id>scm-publish</id>
                        <phase>site-deploy</phase>
                        <goals>
                            <goal>publish-scm</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-site-plugin</artifactId>
                <configuration>
                    <topSiteURL>scm:git:git@github.com:weblegacy/commons-chain</topSiteURL>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-descriptor</id>
                        <goals>
                            <goal>attach-descriptor</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default-prepare-agent</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>default-report</id>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>biz.aQute.bnd</groupId>
                <artifactId>bnd-maven-plugin</artifactId>
                <configuration>
                    <bnd>
                        <![CDATA[
                            Bundle-SymbolicName: ${commons.osgi.symbolicName}
                            Export-Package: ${commons.osgi.export}
                            Private-Package: ${commons.osgi.private}
                            Import-Package: ${commons.osgi.import}
                            DynamicImport-Package: ${commons.osgi.dynamicImport}
                            Bundle-DocURL: ${project.url}
                            Bundle-Developers:
                            Bundle-SCM:
                            Multi-Release: true
                            -includepackage: !*
                            -nouses: true
                            -failok: true
                        ]]>
                    </bnd>
                </configuration>
                <executions>
                    <execution>
                        <id>bnd-process</id>
                        <goals>
                            <goal>bnd-process</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>

            <dependency>
                <groupId>commons-digester</groupId>
                <artifactId>commons-digester</artifactId>
                <version>${commonsDigesterVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
                <version>1.9.4</version>
                <exclusions>
                    <exclusion>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4jVersion}</version>
            </dependency>

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-simple</artifactId>
                <version>${slf4jVersion}</version>
            </dependency>

            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>jcl-over-slf4j</artifactId>
                <version>${slf4jVersion}</version>
            </dependency>

            <!-- Javax-Part -->
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
                <version>${javaxServletVersion}</version>
            </dependency>

            <dependency>
                <groupId>javax.portlet</groupId>
                <artifactId>portlet-api</artifactId>
                <version>${javaxPortletVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.enterprise</groupId>
                        <artifactId>cdi-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>javax.faces</groupId>
                <artifactId>javax.faces-api</artifactId>
                <version>${javaxFacesVersion}</version>
            </dependency>

            <!-- Jakarta-Part -->
            <dependency>
                <groupId>jakarta.servlet</groupId>
                <artifactId>jakarta.servlet-api</artifactId>
                <version>${jakartaServletVersion}</version>
            </dependency>

            <dependency>
                <groupId>jakarta.faces</groupId>
                <artifactId>jakarta.faces-api</artifactId>
                <version>${jakartaFacesVersion}</version>
                <exclusions>
                    <exclusion>
                        <groupId>jakarta.enterprise</groupId>
                        <artifactId>jakarta.enterprise.cdi-api</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>org.glassfish</groupId>
                <artifactId>jakarta.faces</artifactId>
                <classifier>sources</classifier>
                <version>3.0.5</version>
            </dependency>

            <!-- Test-Part -->
            <dependency>
                <groupId>org.junit.jupiter</groupId>
                <artifactId>junit-jupiter-api</artifactId>
                <version>5.10.0</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>commons-chain</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>commons-chain</artifactId>
                <version>${project.version}</version>
                <classifier>tests</classifier>
                <type>test-jar</type>
                <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>commons-chain-web</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>commons-chain-web</artifactId>
                <version>${project.version}</version>
                <classifier>tests</classifier>
                <type>test-jar</type>
                <scope>test</scope>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>commons-chain-web-javax</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>commons-chain-web-jakarta</artifactId>
                <version>${project.version}</version>
            </dependency>

        </dependencies>
    </dependencyManagement>

    <reporting>
        <plugins>

            <plugin>
                <artifactId>maven-project-info-reports-plugin</artifactId>
            </plugin>

            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
            </plugin>

            <plugin>
                <artifactId>maven-changes-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <configuration>
                            <teamlist>team.html</teamlist>
                            <issueLinkTemplatePerSystem>
                                <jira>https://issues.apache.org/jira/browse/%ISSUE%</jira>
                            </issueLinkTemplatePerSystem>
                        </configuration>
                        <reports>
                            <report>changes-report</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <plugin>
                <artifactId>maven-jxr-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <id>default</id>
                        <reports>
                            <report>jxr-no-fork</report>
                            <report>test-jxr-no-fork</report>
                        </reports>
                    </reportSet>
                    <reportSet>
                        <id>aggregrate</id>
                        <inherited>false</inherited>
                        <reports>
                            <report>aggregate</report>
                            <report>test-aggregate</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <plugin>
                <artifactId>maven-pmd-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <id>default</id>
                        <reports>
                            <report>cpd</report>
                            <report>pmd</report>
                        </reports>
                    </reportSet>
                    <reportSet>
                        <id>aggregrate</id>
                        <inherited>false</inherited>
                        <reports>
                            <report>aggregate-cpd</report>
                            <report>aggregate-pmd-no-fork</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <plugin>
                <artifactId>maven-surefire-report-plugin</artifactId>
            </plugin>

            <plugin>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <configuration>
                    <configLocation>checkstyle.xml</configLocation>
                    <enableRulesSummary>false</enableRulesSummary>
                    <headerLocation>license-header.txt</headerLocation>
                </configuration>
                <reportSets>
                    <reportSet>
                        <id>default</id>
                        <reports>
                            <report>checkstyle</report>
                        </reports>
                    </reportSet>
                    <reportSet>
                        <id>aggregrate</id>
                        <inherited>false</inherited>
                        <reports>
                            <report>checkstyle-aggregate</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <plugin>
                <groupId>com.github.siom79.japicmp</groupId>
                <artifactId>japicmp-maven-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>cmp-report</report>
                        </reports>
                    </reportSet>
                </reportSets>
                <configuration>
                    <oldVersion>
                        <dependency>
                            <groupId>commons-chain</groupId>
                            <artifactId>commons-chain</artifactId>
                            <version>${oldversion}</version>
                        </dependency>
                    </oldVersion>
                    <newVersion>
                        <file>
                            <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
                        </file>
                    </newVersion>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <id>default</id>
                        <reports>
                            <report>javadoc-no-fork</report>
                            <report>test-javadoc-no-fork</report>
                        </reports>
                    </reportSet>
                    <reportSet>
                        <id>aggregrate</id>
                        <inherited>false</inherited>
                        <reports>
                            <report>aggregate-no-fork</report>
                            <report>test-aggregate-no-fork</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>report</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>

            <plugin>
                <groupId>com.github.spotbugs</groupId>
                <artifactId>spotbugs-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

    <distributionManagement>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>ossrh</id>
            <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <site>
            <id>github</id>
            <url>scm:git:git@github.com:weblegacy/commons-chain</url>
        </site>
        <downloadUrl>https://github.com/weblegacy/commons-chain/releases</downloadUrl>
    </distributionManagement>
</project>