blob: 8283ea0eba0ac9819112e18069166b8d3c4f3070 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.directory.project</groupId>
<artifactId>project</artifactId>
<version>35</version>
<relativePath />
</parent>
<groupId>org.apache.directory.fortress</groupId>
<artifactId>fortress-realm</artifactId>
<packaging>pom</packaging>
<name>Apache Fortress Realm</name>
<version>2.0.9-SNAPSHOT</version>
<inceptionYear>2007</inceptionYear>
<description>
Apache Fortress Realm provides standards-based Role-Based Access Control security provider to Apache Tomcat.
</description>
<url>https://directory.apache.org/fortress/</url>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/directory-fortress-realm.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/directory-fortress-realm.git</developerConnection>
<url>https://github.com/apache/directory-fortress-realm/tree/{project.scm.tag}</url>
<tag>master</tag>
</scm>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/DIRFORTRESS</url>
</issueManagement>
<!-- ====================================================== -->
<!-- The list of current developers -->
<!-- ====================================================== -->
<developers>
<developer>
<id>smckinney</id>
<name>Shawn McKinney</name>
<email>smckinney@apache.org</email>
</developer>
<developer>
<id>elecharny</id>
<name>Emmanuel Lecharny</name>
<email>elecharny@apache.org</email>
</developer>
<developer>
<id>cpike</id>
<name>Chris Pike</name>
<email>cpike@apache.org</email>
</developer>
</developers>
<!-- ====================================================== -->
<!-- The used properties for this project -->
<!-- ====================================================== -->
<properties>
<java.version>1.8</java.version>
<additionalparam>-Xdoclint:none</additionalparam>
<projectName>apache-directory-fortress-realm</projectName>
<distMgmtSiteUrl>
scpexe://people.apache.org/www/directory.apache.org/api/gen-docs/${project.version}/
</distMgmtSiteUrl>
<!-- Set versions for depending jars -->
<fortress-core.version>2.0.8</fortress-core.version>
<junit.version>4.13.2</junit.version>
<checkstyle-configuration.version>0.1</checkstyle-configuration.version>
<slf4j.api.version>1.7.36</slf4j.api.version>
<slf4j.impl.version>2.18.0</slf4j.impl.version>
<tomcat.catalina.version>9.0.64</tomcat.catalina.version>
</properties>
<mailingLists>
<mailingList>
<name>Apache Directory -- Fortress List</name>
<post>fortress@directory.apache.org</post>
<archive>https://mail-archives.apache.org/mod_mbox/directory-fortress/</archive>
</mailingList>
</mailingLists>
<modules>
<module>proxy</module>
<module>impl</module>
</modules>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.2.2</version>
<configuration>
<failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability>
<suppressionFile>${project.basedir}/src/owasp/suppression.xml</suppressionFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<optimize>true</optimize>
<encoding>ISO-8859-1</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<excludes>
<exclude>**/bootstrap</exclude>
<exclude>**/config</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.properties</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/*.src</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<licenses>
<!-- TODO (low prio): Remove this simple workaround when Apache Rat 0.14 has been released. -->
<!-- See also: https://issues.apache.org/jira/browse/RAT-212 -->
<!-- and https://issues.apache.org/jira/browse/LEGAL-265 -->
<license implementation="org.apache.rat.analysis.license.ApacheSoftwareLicense20">
<notes>Also allow the license url to be https.</notes>
<patterns>
<pattern>https://www.apache.org/licenses/LICENSE-2.0</pattern>
</patterns>
</license>
</licenses>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<!-- MAVEN_DEFAULT_EXCLUDES -->
<exclude>**/target/**/*</exclude>
<exclude>**/cobertura.ser</exclude>
<!-- ECLIPSE_DEFAULT_EXCLUDES -->
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
<exclude>**/.settings/**/*</exclude>
<!-- IDEA_DEFAULT_EXCLUDES -->
<exclude>**/*.iml</exclude>
<exclude>**/*.ipr</exclude>
<exclude>**/*.iws</exclude>
<!-- MANIFEST_MF_EXCLUDES -->
<exclude>**/MANIFEST.MF</exclude>
<!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 -->
<exclude>**/dependency-reduced-pom.xml</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>8</source>
<additionalparam>-Xdoclint:none</additionalparam>
<stylesheet>java</stylesheet>
<bottom>&lt;small&gt;Copyright &amp;copy; 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated ${maven.build.timestamp}&lt;/small&gt;</bottom>
<overview>proxy/src/main/java/overview.html</overview>
<docfilessubdirs>true</docfilessubdirs>
<includes />
<version>true</version>
<author>true</author>
<doctitle>Fortress Realm Javadoc ${project.version}</doctitle>
<windowtitle>Apache Fortress Realm Javadoc ${project.version}</windowtitle>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<dependencies>
<!-- Add support for 'scp'/'sftp' -->
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.1</version>
</dependency>
<!-- Add support for 'scpexe' -->
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<configuration>
<tags>
<tag>TODO</tag>
<tag>@todo</tag>
<tag>@deprecated</tag>
<tag>FIXME</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<minmemory>512m</minmemory>
<maxmemory>1g</maxmemory>
<linksource>true</linksource>
<tags>
<tag>
<name>todo</name>
<!-- todo tag for all places -->
<placement>a</placement>
<head>To do:</head>
</tag>
</tags>
<source>1.6</source>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>aggregate</report>
<report>test-aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<!-- must add configuration here too, it isn't inherited from <pluginConfiguration> :-( -->
<configuration>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<!-- MAVEN_DEFAULT_EXCLUDES -->
<exclude>**/target/**/*</exclude>
<exclude>**/cobertura.ser</exclude>
<!-- ECLIPSE_DEFAULT_EXCLUDES -->
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
<exclude>**/.settings/**/*</exclude>
<!-- IDEA_DEFAULT_EXCLUDES -->
<exclude>**/*.iml</exclude>
<exclude>**/*.ipr</exclude>
<exclude>**/*.iws</exclude>
<!-- MANIFEST_MF_EXCLUDES -->
<exclude>**/MANIFEST.MF</exclude>
<!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 -->
<exclude>**/dependency-reduced-pom.xml</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<!-- Project sub-modules dependencies -->
<dependency>
<groupId>org.apache.directory.fortress</groupId>
<artifactId>fortress-core</artifactId>
<version>${fortress-core.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-catalina</artifactId>
<version>${tomcat.catalina.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.api.version}</version>
</dependency>
<!-- logging implementation used for unit tests -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
<version>${slf4j.impl.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>${junit.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</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>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>source-release-assembly</id>
<configuration>
<skipAssembly>false</skipAssembly>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- OWASP Dependency Vulnerability Scanner Profile -->
<profile>
<id>owasp</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>