| <?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>org.apache.kerby</groupId> |
| <artifactId>kerby-all</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <name>Apache Kerby Project</name> |
| <description>Apache Kerby project</description> |
| <url>http://www.kerby.org</url> |
| <inceptionYear>2014</inceptionYear> |
| |
| <properties> |
| <junit.version>4.12</junit.version> |
| <slf4j.version>1.7.10</slf4j.version> |
| <assertj.version>1.7.1</assertj.version> |
| </properties> |
| |
| <prerequisites> |
| <maven>3.2.0</maven> |
| </prerequisites> |
| |
| <modules> |
| <module>3rdparty</module> |
| <module>lib</module> |
| <module>kerby-asn1</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> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <scope>test</scope> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>${assertj.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <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.3</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> |
| <!-- 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> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| <configuration> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.7</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.5.2</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.4</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.8.2</version> |
| <inherited>true</inherited> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.6.1</version> |
| </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> |
| |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>compile</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>fastinstall</id> |
| <properties> |
| <maven.test.skip>true</maven.test.skip> |
| <pmd.skip>true</pmd.skip> |
| </properties> |
| </profile> |
| <profile> |
| <id>nochecks</id> |
| <properties> |
| <pmd.skip>true</pmd.skip> |
| </properties> |
| </profile> |
| </profiles> |
| |
| </project> |