<?xml version="1.0" encoding="UTF-8"?>
<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>iaik</groupId>
	<artifactId>commons-iaik</artifactId>
	<name>COMMONS IAIK Library</name>
	<version>0.7.1</version>

	<description>Sammlung haeufig verwendeter Klassen und Methoden</description>
	<url>http://www.iaik.tugraz.at</url>
	<inceptionYear>2006</inceptionYear>
	<developers>
		<developer>
			<id>tknall</id>
			<name>Thomas Knall</name>
			<email>thomas.knall@iaik.tugraz.at</email>
			<organization>IAIK</organization>
			<roles>
				<role>developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>

	<organization>
		<name>IAIK - Institute for Applied Information Processing and Communications</name>
		<url>http://www.iaik.tugraz.at</url>
	</organization>

	<build>

		<resources>

			<resource>
				<filtering>true</filtering>
				<directory>src/main/resources</directory>
				<includes>
					<include>**/CommonsIAIK.properties</include>
				</includes>
				<excludes>
					<exclude>srgb.profile</exclude>
				</excludes>
			</resource>
			<resource>
				<filtering>false</filtering>
				<directory>src/main/resources</directory>
				<includes>
					<!-- needed for ITextText only -->
					<include>**/taglib.tld</include>
				</includes>
				<excludes>
					<exclude>srgb.profile</exclude>
				</excludes>
			</resource>
			<resource>
				<filtering>false</filtering>
				<directory>src/main/java</directory>
				<includes>
					<include>**/*.xml</include>
					<include>**/*.xsd</include>
				</includes>
				<excludes>
					<exclude>**/application_config.xml</exclude>
					<exclude>**/application_default_config.xml</exclude>
				</excludes>
			</resource>

		</resources>

		<finalName>${project.artifactId}-${project.version}</finalName>

		<plugins>
			<!--
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>maven-buildnumber-plugin</artifactId>
				<version>0.9.6</version>
				<configuration>
					<format>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</format>
					<items>
						<item>timestamp</item>
					</items>
				</configuration>
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			-->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.3</version>
				<configuration>
					<showsuccess>true</showsuccess>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-site-plugin</artifactId>
				<configuration>
					<locales>en</locales>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
					<excludes>
						<exclude>at/iaik/commons/test/*/</exclude>
					</excludes>
					<!--
					<encoding>UTF-8</encoding>
					-->
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<!-- plugin>
				<groupId>com.pyx4me</groupId>
				<artifactId>proguard-maven-plugin</artifactId>
				<executions>
				<execution>
				<phase>package</phase>
				<goals><goal>proguard</goal></goals>
				</execution>
				</executions>
				<configuration>
				<obfuscate>true</obfuscate>
				<libs>
				<lib>${java.home}/lib/rt.jar</lib>
				<lib>${java.home}/lib/jsse.jar</lib>
				</libs>
				</configuration>
				</plugin-->
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifest>
							<mainClass>at.iaik.commons.metadata.CommonsIAIK</mainClass>
							<!--
								<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
							-->
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
							<addClasspath>true</addClasspath>
						</manifest>
						<manifestEntries>
						<!--
							<Implementation-Build>${buildNumber}</Implementation-Build>
						-->
							<Implementation-Build>${build.date}</Implementation-Build>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.2-beta-2</version>
				<configuration>
					<descriptors>
						<!--
						<descriptor>src/main/assembly/assemble_libraries.xml</descriptor>
						<descriptor>src/main/assembly/assemble_repository.xml</descriptor>
						-->
						<descriptor>src/main/assembly/assemble_libraries.xml</descriptor>
					</descriptors>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<additionalparam></additionalparam>
					<show>public</show>
					<links>
						<link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
						<link>http://download.oracle.com/javase/1.4.2/docs/api/</link>
						<!--
						<link>http://struts.apache.org/1.2.9/api/</link>
						-->
						<link>http://struts.apache.org/1.3.10/apidocs/</link>
						<link>http://logging.apache.org/log4j/docs/api/</link>
						<link>http://www.jconfig.org/javadoc/</link>
						<link>http://www.hibernate.org/hib_docs/v3/api/</link>
						<link>http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/</link>
						<link>http://www.saxproject.org/apidoc/</link>
						<link>http://commons.apache.org/lang/api-release/</link>
						<link>http://commons.apache.org/io/api-release/</link>
					</links>
					<source>1.5</source>
					<target>1.5</target>
					<verbose>false</verbose>
					<windowtitle>${project.name} v${project.version}:${build.date} API</windowtitle>
					<bottom>Copyright ${project.inceptionYear} &lt;a href="${project.organization.url}" target="_blank">${project.organization.name}&lt;/a>. All Rights Reserved.</bottom>
					<!--
					<encoding>UTF-8</encoding>
					-->
				</configuration>
			</plugin>

		</plugins>

	</build>

	<dependencies>
		
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.4</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jsp-api</artifactId>
			<version>2.0</version>
			<optional>true</optional>
		</dependency>
		
		<!-- apache struts upgraded to 1.3.x: see http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 -->
		<!--
		<dependency>
			<groupId>struts</groupId>
			<artifactId>struts</artifactId>
			<version>1.2.9</version>
			<optional>true</optional>
		</dependency>
		-->
		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts-core</artifactId>
			<version>1.3.10</version>
			<optional>true</optional>
		</dependency>

		<dependency>
			<groupId>org.apache.struts</groupId>
			<artifactId>struts-taglib</artifactId>
			<version>1.3.10</version>
			<optional>true</optional>
		</dependency>
		
		<!--
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate</artifactId>
			<version>3.1.3</version>
			<optional>true</optional>
		</dependency>
		-->
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-core</artifactId>
			<version>3.3.0.SP1</version>
			<optional>true</optional>
			<exclusions>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>slf4j-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>slf4j-log4j12</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.14</version>
		</dependency>
		<dependency>
			<groupId>org.jconfig</groupId>
			<artifactId>jconfig</artifactId>
			<version>2.9</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>axis</groupId>
			<artifactId>axis</artifactId>
			<version>1.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>axis</groupId>
			<artifactId>axis-saaj</artifactId>
			<version>1.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>axis</groupId>
			<artifactId>axis-wsdl4j</artifactId>
			<version>1.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>axis</groupId>
			<artifactId>axis-jaxrpc</artifactId>
			<version>1.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-discovery</groupId>
			<artifactId>commons-discovery</artifactId>
			<version>0.2</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>org.jdom</groupId>
			<artifactId>jdom</artifactId>
			<version>1.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.4</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xercesImpl</artifactId>
			<version>2.9.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>tomcat</groupId>
			<artifactId>catalina</artifactId>
			<version>5.0.28</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>1.3.02</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>1.4</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>org.apache.serializer</groupId>
			<artifactId>serializer</artifactId>
			<version>2.7.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>org.apache.xmlgraphics</groupId>
			<artifactId>xmlgraphics-commons</artifactId>
			<version>1.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>xalan</groupId>
			<artifactId>xalan</artifactId>
			<version>2.7.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.1</version>
			<scope>test</scope>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.5</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.3</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-httpclient</groupId>
			<artifactId>commons-httpclient</artifactId>
			<version>3.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>iaik_jce_eval_signed</artifactId>
			<version>4.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>iaik_ixsil_eval</artifactId>
			<version>1.2.2</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>asit</artifactId>
			<version>1.3.6</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>zsproxy</artifactId>
			<version>2007-03-02</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>batik</groupId>
			<artifactId>batik-all</artifactId>
			<version>1.6</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>fop</groupId>
			<artifactId>fop</artifactId>
			<version>0.92beta</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>knowcenter</groupId>
			<artifactId>pdf-as</artifactId>
			<!--
			<version>3.1.1-snapshot</version>
			-->
			<version>3.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>iaik_xsect_eval</artifactId>
			<version>1.11build48</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>iaik_ecc_eval_signed</artifactId>
			<version>2.19</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>iaik</groupId>
			<artifactId>iaik_cms_eval</artifactId>
			<version>4.0</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>at.gv.bmi</groupId>
			<artifactId>szr-client</artifactId>
			<version>3.71</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-cli</groupId>
			<artifactId>commons-cli</artifactId>
			<version>1.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>com.lowagie</groupId>
			<artifactId>itext</artifactId>
			<!--
			<version>2.0.7</version>
			-->
			<version>2.1.3</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.1</version>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>javax.xml</groupId>
			<artifactId>jaxb-impl</artifactId>
			<version>2.1.6</version>
			<optional>true</optional>
		</dependency>
		
	</dependencies>

	<properties>
		<build.date>2011-01-16</build.date>
	</properties>

</project>