<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>

	<name>Open Archives Initiative Protocol for Metadata Harvesting : XML Schema</name>
	
	<groupId>de.dnb</groupId>
	<artifactId>oaipmh-spec</artifactId>
	<version>2.0</version>
	
	<packaging>jar</packaging>
	
	<description>
		Java classes (generated with XML-Beans) for XML-Schemas
		http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd and 
		http://www.openarchives.org/OAI/2.0/oai_dc.xsd
		See http://www.openarchives.org/OAI/openarchivesprotocol.html for the official information.
	</description>
	
	<url>http://oaiharvestmangr.sourceforge.net/</url>

	<licenses>
		<license>
			<name>Apache 2</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
			<comments>A business-friendly Free and Open Source Software (FOSS) license</comments>
		</license>
	</licenses>

	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>

	<organization>
		<name>Deutsche Nationalbibliothek / German National Library</name>
		<url>http://dnb.de</url>
	</organization>

	<developers>
		<developer>
			<id>karaca</id>
			<name>Kadir Karaca Koçer</name>
			<url>http://sourceforge.net/users/karaca</url>
			<organization>Deutsche Nationalbibliothek / German National Library</organization>
			<organizationUrl>http://dnb.de</organizationUrl>
			<roles>
				<role>architect</role>
				<role>developer</role>
			</roles>
			<timezone>+1</timezone>
			<properties>
				<picUrl>https://secure.gravatar.com/avatar/15ada2c558ecdd29c092e9b0063806c3.png</picUrl>
			</properties>
		</developer>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<scm>
		<url>https://oaiharvestmangr.svn.sourceforge.net/svnroot/oaiharvestmangr/oaipmh-spec/trunk</url>
		<connection>scm:svn:https://oaiharvestmangr.svn.sourceforge.net/svnroot/oaiharvestmangr/oaipmh-spec/trunk</connection>
		<developerConnection>scm:svn:https://oaiharvestmangr.svn.sourceforge.net/svnroot/oaiharvestmangr/oaipmh-spec/trunk</developerConnection>
		<tag>HEAD</tag>
	</scm>

	<distributionManagement>
		<repository>
			<id>sonatype-nexus-staging</id>
			<name>Sonatype OSS Maven Repository : Releases</name>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
		<snapshotRepository>
			<id>sonatype-nexus-snapshots</id>
			<name>Sonatype OSS Maven Repository : Snapshots</name>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
			<uniqueVersion>true</uniqueVersion>
		</snapshotRepository>
	</distributionManagement>
	
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.7.2</version>
				<configuration>
					<skipTests>true</skipTests>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>xmlbeans-maven-plugin</artifactId>
				<version>2.3.3</version>
				<executions>
					<execution>
						<goals>
							<goal>xmlbeans</goal>
						</goals>
					</execution>
				</executions>
				<inherited>true</inherited>
				<configuration>
					<schemaDirectory>src/main/xsd</schemaDirectory>
				    <download>true</download>
					<sourceSchemas>
						<!-- both schemas are from http://www.openarchives.org/OAI/2.0/ -->
						<sourceSchema>OAI-PMH.xsd</sourceSchema>
						<sourceSchema>oai_dc.xsd</sourceSchema>
					</sourceSchemas>
					<javaSource>1.6</javaSource>
					<memoryInitialSize>128m</memoryInitialSize>
					<memoryMaximumSize>512m</memoryMaximumSize>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.8</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
						<configuration>
							<show>public</show>
							<nohelp>true</nohelp>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.0</version>
				<configuration>
					<locales>de,en</locales>
				</configuration>
			</plugin>
			<plugin>
          		<groupId>org.apache.maven.plugins</groupId>
          		<artifactId>maven-gpg-plugin</artifactId>
          		<version>1.4</version>
          		<executions>
            		<execution>
             			<id>sign-artifacts</id>
              			<phase>verify</phase>
              			<goals>
                			<goal>sign</goal>
              			</goals>
            		</execution>
          		</executions>
        	</plugin>	
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>org.apache.xmlbeans</groupId>
			<artifactId>xmlbeans</artifactId>
			<version>[2.5,2.6)</version>
		</dependency>
	</dependencies>
</project>
