<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">
  <parent>
    <groupId>MOA.spss</groupId>
    <artifactId>moa-spss</artifactId>
    <version>1.4.1</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <groupId>MOA.spss.server</groupId>
  <artifactId>moa-spss-lib</artifactId>
  <packaging>jar</packaging>
  <version>1.4.1</version>
  <name>MOA SP/SS API</name>

  <properties>
    <repositoryPath>${basedir}/../../../repository</repositoryPath>
  </properties>
  
  <dependencies>
    <dependency>
      <groupId>axis</groupId>
      <artifactId>axis</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-discovery</groupId>
      <artifactId>commons-discovery</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.mail</groupId>
      <artifactId>mail</artifactId>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
    </dependency>
    <dependency>
      <groupId>postgresql</groupId>
      <artifactId>postgresql</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>xalan-bin-dist</groupId>
      <artifactId>xalan</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>xerces</groupId>
      <artifactId>xercesImpl</artifactId>
    </dependency>
    <dependency>
      <groupId>xalan-bin-dist</groupId>
      <artifactId>xml-apis</artifactId>
    </dependency>
    <dependency>
      <groupId>xalan-bin-dist</groupId>
      <artifactId>serializer</artifactId>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_moa</artifactId>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_ixsil</artifactId>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_jce_full</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_ecc</artifactId>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_cms</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_Pkcs11Provider</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_Pkcs11Wrapper</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>iaik.prod</groupId>
      <artifactId>iaik_Pkcs11Wrapper</artifactId>
      <classifier>win32</classifier>
      <type>dll</type>
      <scope>runtime</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>MOA</groupId>
      <artifactId>moa-common</artifactId>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <addMavenDescriptor>false</addMavenDescriptor>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.2</version>
        <configuration>
        	<quiet>true</quiet>
        	<author>false</author>
        	<version>false</version>
        	<use>true</use>
        	<excludePackageNames>at.gv.egovernment.moa.spss.server.*;at.gv.egovernment.moa.spss.api.impl.*;at.gv.egovernment.moa.spss.impl.*</excludePackageNames>
        	<tags>
        		<tag>
        			<name>pre</name>
        			<placement>a</placement>
        			<head>Preconditions:</head>
        		</tag>
        		<tag>
        			<name>post</name>
        			<placement>a</placement>
        			<head>Postconditions:</head>
        		</tag>
        	</tags>
            <groups>
	            <group>
	              <title>API Factory and Services</title>
	              <packages>at.gv.egovernment.moa.spss.api</packages>
	            </group>
	            <group>
	              <title>Exceptions</title>
	              <packages>at.gv.egovernment.moa.spss</packages>
	            </group>
	            <group>
	              <title>API Objects for Signature Creation</title>
	              <packages>at.gv.egovernment.moa.spss.api.xmlsign</packages>
	            </group>
	            <group>
	              <title>API Objects for CMS Signature Verification</title>
	              <packages>at.gv.egovernment.moa.spss.api.cmsverify</packages>
	            </group>
	            <group>
	              <title>API Objects for XML Signature Verification</title>
	              <packages>at.gv.egovernment.moa.spss.api.xmlverify</packages>
	            </group>
	            <group>
	              <title>Common API Objects</title>
	              <packages>at.gv.egovernment.moa.spss.api.common</packages>
	            </group>
	            <group>
	              <title>Builders and Parsers to convert API Objects to and from XML</title>
	              <packages>at.gv.egovernment.moa.spss.api.xmlbind</packages>
	            </group>
	            <group>
	              <title>Utilities</title>
	              <packages>at.gv.egovernment.moa.util</packages>
	              <packages>at.gv.egovernment.moa.spss.util</packages>
	            </group>
	            <group>
	              <title>Logging</title>
	              <packages>at.gv.egovernment.moa.logging</packages>
	            </group>
	        </groups>
	        <link>http://java.sun.com/j2se/1.4/docs/api/</link>
        </configuration>
    		<executions>
    			<execution>
    				<id>generate-javadoc</id>
    				<phase>package</phase>
    				<goals>
    					<goal>jar</goal>
    				</goals>
    			</execution>
    		</executions>
      </plugin>
    </plugins>
  </build>

</project>