<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>
  <groupId>org.ozoneplatform</groupId>
  <artifactId>ozone-auditing</artifactId>
  <packaging>jar</packaging>
  <version>1.2.1</version>
  <name>${project.groupId}:${project.artifactId}</name>
  <description> Common auditing components</description>
  <url>https://github.com/ozone-development/ozp-auditing</url>
  <licenses>
    <license>
     <name>Apache License, Version 2.0</name>
       <url>http://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>OZONE Team</name>
      <email>goss-support@owfgoss.org</email>
      <organization>Next Century</organization>
      <organizationUrl>https://www.nextcentury.com</organizationUrl>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:git@github.com:ozone-development/ozp-auditing.git</connection>
    <developerConnection>scm:git:git@github.com:ozone-development/ozp-auditing.git</developerConnection>
    <url>git@github.com:ozone-development/ozp-auditing.git</url>
  </scm>
  <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.0</version>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
                <executions>
                    <execution>
                        <id>default-testCompile</id>
                        <phase>test-compile</phase>
                        <configuration>
                            <!-- TODO: Fix LDAP tests and then remove this exclusion -->
                            <testExcludes>
                                <exclude>**/ldap/*.java</exclude>
                            </testExcludes>
                        </configuration>
                        <goals>
                            <goal>testCompile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-source-plugin</artifactId>
              <executions>
                <execution>
                  <id>attach-sources</id>
                  <goals>
                    <goal>jar</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
              <executions>
                <execution>
                  <id>attach-javadocs</id>
                  <goals>
                    <goal>jar</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>src/</directory>
                <!--
                  Exclude configuration resources from the JAR. The end user
                  must (1) pick specific sample Spring configuration files,
                  (2) customize said files for their environment, and then
                  (3) deploy them to the appropriate CLASSPATH location on
                  their server manually.
                  -->
                <excludes>
                    <exclude>conf/**</exclude>
                    <exclude>spring/**</exclude>
                </excludes>
            </resource>
        </resources>
    </build>
</project>
