| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed 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. See accompanying LICENSE file. |
| --> |
| <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> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>17</version> |
| <relativePath /> |
| </parent> |
| |
| <groupId>org.apache.kerby</groupId> |
| <artifactId>kerby-all</artifactId> |
| <version>1.0.0-RC2-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Apache Kerby Project</name> |
| <description>Apache Kerby project</description> |
| <url>http://directory.apache.org/kerby</url> |
| <inceptionYear>2014</inceptionYear> |
| |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/directory-kerby.git</connection> |
| <url>https://github.com/apache/directory-kerby</url> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/directory-kerby.git</developerConnection> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <distributionManagement> |
| <site> |
| <id>apache.directory.kerby</id> |
| <url>scpexe://people.apache.org/www/directory.apache.org/kerby/gen-docs/${project.version}/</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <apacheds.version>2.0.0-M20</apacheds.version> |
| <gson.version>2.4</gson.version> |
| <ldap.api.version>1.0.0-M31</ldap.api.version> |
| <log4j.version>1.2.17</log4j.version> |
| <junit.version>4.12</junit.version> |
| <nimbus.jose.version>3.10</nimbus.jose.version> |
| <slf4j.version>1.7.12</slf4j.version> |
| <assertj.version>2.2.0</assertj.version> |
| <findbugs.version>3.0.1</findbugs.version> |
| <checkstyle.dir>${basedir}/docs</checkstyle.dir> |
| <skipTests>false</skipTests> |
| </properties> |
| |
| <prerequisites> |
| <maven>3.2.0</maven> |
| </prerequisites> |
| |
| <modules> |
| <module>kerby-config</module> |
| <module>kerby-util</module> |
| <module>kerby-asn1</module> |
| <module>kerby-pkix</module> |
| <module>kerby-kerb</module> |
| <module>kerby-kdc</module> |
| <module>kerby-tool</module> |
| <module>kerby-kdc-test</module> |
| <module>kerby-backend</module> |
| <module>kerby-dist</module> |
| <module>benchmark</module> |
| <module>kerby-provider</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.11</version> |
| <configuration> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <!-- camellia files --> |
| <exclude>**/camellia-expect-vt.txt</exclude> |
| <!-- CCache files --> |
| <exclude>**/ccache.txt</exclude> |
| <!-- Keytab files --> |
| <exclude>**/keytab.txt</exclude> |
| <!-- MAVEN_DEFAULT_EXCLUDES --> |
| <exclude>**/target/**/*</exclude> |
| <exclude>**/cobertura.ser</exclude> |
| <exclude>**/DEPENDENCIES</exclude> |
| <!-- ECLIPSE_DEFAULT_EXCLUDES --> |
| <exclude>**/.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**/*</exclude> |
| <!-- ECLIPSE_LAUNCH_EXCLUDES --> |
| <exclude>**/*.launch</exclude> |
| <!-- IDEA_DEFAULT_EXCLUDES --> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/*.ipr</exclude> |
| <exclude>**/*.iws</exclude> |
| <!-- MANIFEST_MF_EXCLUDES --> |
| <exclude>**/MANIFEST.MF</exclude> |
| <!-- LOG_FILES_EXCLUDES --> |
| <exclude>**/*.log</exclude> |
| <!-- 3RD_PARTY_EXCLUDES --> |
| <exclude>3rdparty/**/*</exclude> |
| <exclude>kerby-dist/**/*</exclude> |
| <!-- BMP_IMAGES_EXCLUDES --> |
| <exclude>**/*.bmp</exclude> |
| <!-- PMD files --> |
| <exclude>**/.pmd</exclude> |
| <!-- PMD Ruleset files --> |
| <exclude>**/.pmdruleset.xml</exclude> |
| <!-- Checkstyle files --> |
| <exclude>**/.checkstyle</exclude> |
| <!-- BIN files --> |
| <exclude>**/bin/**/*</exclude> |
| <!-- The IP clearance XML doc --> |
| <exclude>docs/kerby-ip-clearance.xml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| <configuration> |
| <skipTests>${skipTests}</skipTests> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <log4j.configuration>log4j.properties</log4j.configuration> |
| </systemPropertyVariables> |
| <failIfNoTests>false</failIfNoTests> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.4</version> |
| <dependencies> |
| <dependency> |
| <groupId>net.sourceforge.pmd</groupId> |
| <artifactId>pmd-core</artifactId> |
| <version>5.3.0</version> |
| </dependency> |
| <dependency> |
| <groupId>net.sourceforge.pmd</groupId> |
| <artifactId>pmd-java</artifactId> |
| <version>5.3.0</version> |
| </dependency> |
| </dependencies> |
| |
| <configuration> |
| <linkXRef>false</linkXRef> |
| <sourceEncoding>utf-8</sourceEncoding> |
| <failOnViolation>true</failOnViolation> |
| <verbose>true</verbose> |
| <targetJdk>1.7</targetJdk> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.15</version> |
| <configuration> |
| <configLocation>${checkstyle.dir}/kerby-checkstyle.xml</configLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <encoding>UTF-8</encoding> |
| <failOnViolation>true</failOnViolation> |
| </configuration> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId> |
| org.apache.maven.plugins |
| </groupId> |
| <artifactId> |
| maven-pmd-plugin |
| </artifactId> |
| <versionRange>[3.4,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId> |
| org.apache.maven.plugins |
| </groupId> |
| <artifactId> |
| maven-checkstyle-plugin |
| </artifactId> |
| <versionRange>[2.15,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>fastinstall</id> |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| <pmd.skip>true</pmd.skip> |
| <checkstyle.skip>true</checkstyle.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>nochecks</id> |
| <properties> |
| <pmd.skip>true</pmd.skip> |
| <checkstyle.skip>true</checkstyle.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>activate-checkstyle-in-module</id> |
| <activation> |
| <file> |
| <exists>${basedir}/../docs/kerby-checkstyle.xml</exists> |
| </file> |
| </activation> |
| <properties> |
| <checkstyle.dir>${basedir}/../docs</checkstyle.dir> |
| </properties> |
| </profile> |
| <profile> |
| <id>activate-checkstyle-in-submodule</id> |
| <activation> |
| <file> |
| <exists>${basedir}/../../docs/kerby-checkstyle.xml</exists> |
| </file> |
| </activation> |
| <properties> |
| <checkstyle.dir>${basedir}/../../docs</checkstyle.dir> |
| </properties> |
| </profile> |
| |
| <profile> |
| <id>activate-checkstyle-supression</id> |
| <activation> |
| <file> |
| <exists>${basedir}/src/checkstyle/suppressions.xml</exists> |
| </file> |
| </activation> |
| <properties> |
| <checkstyle.suppressions.location>${basedir}/src/checkstyle/suppressions.xml</checkstyle.suppressions.location> |
| </properties> |
| </profile> |
| |
| <!-- Override of the 'apache-release' profile, used to launch the Apache RAT plugin --> |
| <profile> |
| <id>apache-release</id> |
| <build> |
| <plugins> |
| <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> |
| |
| </profiles> |
| |
| <repositories> |
| <repository> |
| <id>apache.snapshots</id> |
| <name>Apache Development Snapshot Repository</name> |
| <url>https://repository.apache.org/content/repositories/snapshots/</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs.version}</version> |
| <configuration> |
| <xmlOutput>true</xmlOutput> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |