<?xml version="1.0" encoding="UTF-8"?>
<!-- ~ The MIT License ~ ~ Original work sponsored and donated by National Board of e-Health (NSI), Denmark (http://www.nsi.dk) ~ ~ Copyright (C) 2011 National Board of e-Health (NSI), Denmark (http://www.nsi.dk) ~ ~ Permission is hereby granted, free of charge, to any person obtaining a copy of ~ this 
	software and associated documentation files (the "Software"), to deal in ~ the Software without restriction, including without limitation the rights to ~ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies ~ of the Software, and to permit persons to whom the Software is furnished 
	to do ~ so, subject to the following conditions: ~ ~ The above copyright notice and this permission notice shall be included in all ~ copies or substantial portions of the Software. ~ ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ~ IMPLIED, INCLUDING BUT NOT LIMITED TO 
	THE WARRANTIES OF MERCHANTABILITY, ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ~ OUT OF OR IN CONNECTION WITH THE 
	SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ~ SOFTWARE. ~ ~ $HeadURL$ ~ $Id$ -->

<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>
  <groupId>dk.sosi.seal</groupId>
  <artifactId>modules</artifactId>
  <packaging>pom</packaging>
  <version>2.2.1</version>
  <name>SOSI Seal Modules</name>
  <url>http://www.sosi.dk</url>

  <modules>
    <module>luna-dummy</module>
    <module>seal</module>
    <module>testtools</module>
  </modules>

  <properties>
    <sosi.site.url>file:///var/www/html/sosi/</sosi.site.url>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <compileSource>1.5</compileSource>
    <encoding>UTF-8</encoding>
  </properties>

  <repositories>
    <repository>
      <id>local repository</id>
      <url>file://${basedir}/../../local-repository</url>
    </repository>
    <repository>
      <id>Codehaus Snapshots</id>
      <url>http://nexus.codehaus.org/snapshots/</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>Codehaus Snapshots</id>
      <url>http://nexus.codehaus.org/snapshots/</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </pluginRepository>
    <pluginRepository>
      <id>Atlassian clover repository</id>
      <url>https://maven.atlassian.com/content/groups/public/</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>true</enabled>
      </releases>
    </pluginRepository>
  </pluginRepositories>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.santuario</groupId>
        <artifactId>xmlsec</artifactId>
        <version>1.4.7</version>
      </dependency>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.10</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.1.1</version>
      </dependency>
      <dependency>
        <groupId>xalan</groupId>
        <artifactId>xalan</artifactId>
        <version>2.7.1</version>
      </dependency>
      <dependency>
        <groupId>axis</groupId>
        <artifactId>axis</artifactId>
        <version>1.4</version>
      </dependency>
      <dependency>
        <groupId>org.apache.axis</groupId>
        <artifactId>axis-saaj</artifactId>
        <version>1.4</version>
      </dependency>
      <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.17</version>
      </dependency>
      <dependency>
        <groupId>org.bouncycastle</groupId>
        <artifactId>bcprov-jdk15on</artifactId>
        <version>1.51</version>
      </dependency>
      <dependency>
        <groupId>commons-httpclient</groupId>
        <artifactId>commons-httpclient</artifactId>
        <version>3.1</version>
      </dependency>
      <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>1.6</version>
      </dependency>
      <dependency>
        <groupId>org.jdom</groupId>
        <artifactId>jdom</artifactId>
        <version>1.1.3</version>
      </dependency>
      <dependency>
        <groupId>com.unboundid</groupId>
        <artifactId>unboundid-ldapsdk</artifactId>
        <version>2.3.1</version>
      </dependency>
      <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-all</artifactId>
        <version>1.9.0</version>
      </dependency>
      <dependency>
        <groupId>org.apache.ws.security</groupId>
        <artifactId>wss4j</artifactId>
        <!-- Beware that some wss4j classes are copied to the dk.sosi.seal.transform package and slightly
         extended. -->
        <version>1.5.12</version>
      </dependency>
      <!-- Seal no longer depends on xerces and xml-apis, however these are used to
      test that Seal also works together WITH xerces -->
      <dependency>
        <groupId>xerces</groupId>
        <artifactId>xercesImpl</artifactId>
        <version>2.11.0</version>
      </dependency>
      <dependency>
        <groupId>xml-apis</groupId>
        <artifactId>xml-apis</artifactId>
        <version>1.4.01</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <issueManagement>
    <system>Jira</system>
    <url>http://www.sosi.dk/jira/browse/SEALJAVA</url>
  </issueManagement>

  <ciManagement>
    <system>Bamboo</system>
    <url>http://gaheris.lakeside.dk/bamboo/browse/SOSI-SOSITRUNK</url>
  </ciManagement>

  <developers>
    <developer>
      <id>jan</id>
      <name>Jan Riis</name>
      <roles>
        <role>Project Manager</role>
        <role>Architect</role>
      </roles>
      <organization>Lakeside</organization>
      <url>http://www.lakeside.dk</url>
    </developer>
    <developer>
      <id>kkj</id>
      <name>Kaare Kjelstroem</name>
      <roles>
        <role>Architect</role>
      </roles>
      <organization>Silverbullet</organization>
      <url>http://www.silverbullet.com</url>
    </developer>
    <developer>
      <id>thomas</id>
      <name>Thomas Rix</name>
      <roles>
        <role>Senior Engineer</role>
      </roles>
      <organization>Posility</organization>
      <url>http://www.posility.com</url>
    </developer>
    <developer>
      <id>soren</id>
      <name>Soeren Raaschou</name>
      <roles>
        <role>Senior Engineer</role>
      </roles>
      <organization>Posility</organization>
      <url>http://www.posility.com</url>
    </developer>
    <developer>
      <id>simon</id>
      <name>Simon Vogensen</name>
      <roles>
        <role>Developer</role>
      </roles>
      <organization>Lakeside</organization>
      <url>http://www.lakeside.dk</url>
    </developer>
    <developer>
      <id>peterbuus</id>
      <name>Peter Buus</name>
      <roles>
        <role>Developer (WS Trust)</role>
      </roles>
      <organization>Signaturgruppen</organization>
      <url>http://www.signaturgruppen.dk</url>
    </developer>
    <developer>
      <id>thomas</id>
      <name>Thomas Nymand</name>
      <roles>
        <role>Developer (WS Trust)</role>
      </roles>
      <organization>Signaturgruppen</organization>
      <url>http://www.signaturgruppen.dk</url>
    </developer>
    <developer>
      <id>chg</id>
      <name>Christian Gasser</name>
      <roles>
        <role>Developer</role>
      </roles>
      <organization>Lakeside</organization>
      <url>http://www.lakeside.dk</url>
    </developer>
    <developer>
      <id>ksr</id>
      <name>Kent Sølvsten</name>
      <roles>
        <role>Developer</role>
      </roles>
      <organization>Lakeside</organization>
      <url>http://www.lakeside.dk</url>
    </developer>
    <developer>
      <id>ads</id>
      <name>Anders Sørensen</name>
      <roles>
        <role>Developer</role>
      </roles>
      <organization>Lakeside</organization>
      <url>http://www.lakeside.dk</url>
    </developer>
  </developers>

  <licenses>
    <license>
      <name>The MIT License (MIT)</name>
      <url>http://www.opensource.org/licenses/mit-license.php</url>
      <distribution>repo</distribution>
      <comments/>
    </license>
  </licenses>

  <scm>
    <connection>scm:svn:https://svn.softwareborsen.dk/sosi/trunk/modules</connection>
    <developerConnection>scm:svn:https://svn.softwareborsen.dk/sosi/trunk/modules</developerConnection>
    <url>https://svn.softwareborsen.dk/sosi/trunk/modules</url>
  </scm>

  <distributionManagement>
    <repository>
      <id>nsp-nexus</id>
      <name>NSP release repository</name>
      <url>https://nexus.nspop.dk/nexus/content/repositories/releases/</url>
      <layout>default</layout>
    </repository>
    <snapshotRepository>
      <uniqueVersion>false</uniqueVersion>
      <id>nsp-nexus</id>
      <name>NSP snapshot repository</name>
      <url>https://nexus.nspop.dk/nexus/content/repositories/snapshots/</url>
      <layout>default</layout>
    </snapshotRepository>
    <site>
      <id>website</id>
      <url>${sosi.site.url}</url>
    </site>
  </distributionManagement>

  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.7.2</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          <encoding>${encoding}</encoding>
          <javadocVersion>${compileSource}</javadocVersion>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>2.2</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.7.2</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <targetJdk>${compileSource}</targetJdk>
          <rulesets>
            <ruleset>/rulesets/basic.xml</ruleset>
            <ruleset>/rulesets/controversial.xml</ruleset>
          </rulesets>
          <format>xml</format>
          <sourceEncoding>${encoding}</sourceEncoding>
          <minimumTokens>100</minimumTokens>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <xrefLocation>${basedir}/target/site/xref</xrefLocation>
          <testXrefLocation>${basedir}/target/site/xref-test</testXrefLocation>
          <tagListOptions>
            <tagClasses>
              <tagClass>
                <displayName>Todo Work</displayName>
                <tags>
                  <tag>
                    <matchString>todo</matchString>
                    <matchType>ignoreCase</matchType>
                  </tag>
                  <tag>
                    <matchString>FIXME</matchString>
                    <matchType>exact</matchType>
                  </tag>
                </tags>
              </tagClass>
            </tagClasses>
          </tagListOptions>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.2</version>
      </plugin>
    </plugins>
  </reporting>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>${compileSource}</source>
          <target>${compileSource}</target>
          <encoding>${encoding}</encoding>
        </configuration>
      </plugin>
    </plugins>
    <finalName>sosi</finalName>
  </build>

</project>