pom.xml revision 1af2df7a6d4ca36f75815037fad3be449b478a46
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell<?xml version="1.0" encoding="UTF-8"?>
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste<!--
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ The contents of this file are subject to the terms of the Common Development and
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ Distribution License (the License). You may not use this file except in compliance with the
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ License.
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ specific language governing permission and limitations under the License.
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ When distributing Covered Software, include this CDDL Header Notice in each file and include
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ Header, with the fields enclosed by brackets [] replaced by your own identifying
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ information: "Portions copyright [year] [name of copyright owner]".
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste ~ Copyright 2014-2015 ForgeRock AS.
7cbae22b7560eefcf086863923459880aa87f014Jaco Jooste-->
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell<project xmlns="http://maven.apache.org/POM/4.0.0"
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <parent>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <artifactId>openam-audit</artifactId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <groupId>org.forgerock.openam</groupId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <version>13.0.0-SNAPSHOT</version>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell </parent>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <modelVersion>4.0.0</modelVersion>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <name>OpenAM Audit Context</name>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <artifactId>openam-audit-context</artifactId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <packaging>jar</packaging>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <dependencies>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <dependency>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <groupId>org.forgerock.commons</groupId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <artifactId>forgerock-util</artifactId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell </dependency>
1af2df7a6d4ca36f75815037fad3be449b478a46Brian Bailey <dependency>
1af2df7a6d4ca36f75815037fad3be449b478a46Brian Bailey <groupId>org.forgerock.commons</groupId>
1af2df7a6d4ca36f75815037fad3be449b478a46Brian Bailey <artifactId>forgerock-audit-core</artifactId>
1af2df7a6d4ca36f75815037fad3be449b478a46Brian Bailey </dependency>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <dependency>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <groupId>javax.servlet</groupId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <artifactId>servlet-api</artifactId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell </dependency>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <dependency>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <groupId>org.easytesting</groupId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell <artifactId>fest-assert</artifactId>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell </dependency>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell </dependencies>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <profiles>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <profile>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <id>module-precommit</id>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <activation>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <activeByDefault>true</activeByDefault>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </activation>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <build>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <plugins>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <plugin>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <!-- Enforce Checkstyle during compilation -->
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <!-- Strictly speaking Checkstyle should be invoked as a
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington report during site generation. However, we want
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington to fail the build if source code does not comply with
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington our coding guidelines, and not at a later stage when
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington the site is generated (which may never occur for some
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington projects).
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington -->
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <groupId>org.apache.maven.plugins</groupId>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <artifactId>maven-checkstyle-plugin</artifactId>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <executions>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <execution>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <id>check-src-and-tests</id>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <configuration>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <configLocation>${checkstyleSourceConfigLocation}</configLocation>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <headerLocation>${checkstyleHeaderLocation}</headerLocation>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <suppressionsLocation>${checkstyleUnitTestSuppressionsLocation}</suppressionsLocation>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <includeTestSourceDirectory>true</includeTestSourceDirectory>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <!-- Only output errors if we're not expecting any -->
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <consoleOutput>${checkstyleFailOnError}</consoleOutput>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <failsOnError>${checkstyleFailOnError}</failsOnError>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </configuration>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <phase>process-test-classes</phase>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <goals>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington <goal>checkstyle</goal>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </goals>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </execution>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </executions>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </plugin>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </plugins>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </build>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </profile>
7436da7252e66e7a698239a5c6b9ca04df24179aPhill Cunnington </profiles>
aa3a2aee90d1c61946a08c839d9838be7658b453Craig McDonnell</project>