<?xml version="1.0"?>
<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>org.n52</groupId>
	    <artifactId>52-North</artifactId>
	    <version>5.6.3</version>
    </parent>
    <groupId>org.n52.sensorweb</groupId>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>52n-common-xml</artifactId>
    <version>1.1.1-AXIOM</version>
	<packaging>pom</packaging>
	<name>52North XML Schema Bindings</name>
	<description>
		The 52n XML Bindings comprise the OGC schema models and 
		all 52n schema models needed across the 52n SWE framework.
	</description>
	
	<scm>
        <connection>scm:svn:https://svn.52north.org/svn/swe/incubation/ox-framework-2.0/52n-common-xml/trunk/</connection>
        <developerConnection>scm:svn:https://svn.52north.org/svn/swe/incubation/ox-framework-2.0/52n-common-xml/trunk/</developerConnection>
        <url>https://svn.52north.org/cgi-bin/viewvc.cgi/incubation/ox-framework-2.0/52n-common-xml/trunk/?root=sensorweb</url>
    </scm>
	
	<modules>
		<!-- schema dependencies -->
		<module>52n-oasis-schema</module>
		<module>52n-ogc-schema</module>
		<module>52n-w3c-schema</module>
		<!-- binding dependencies -->
		<module>52n-xml-context-v100</module>
		<module>52n-xml-csw-v202</module>
		<module>52n-xml-filter-v100</module>
		<module>52n-xml-filter-v110</module>
		<module>52n-xml-filter-v20</module>
		<module>52n-xml-gml-v212</module>
		<!-- <module>52n-xml-gml-v301</module> -->
		<module>52n-xml-gml-v311</module>
		<module>52n-xml-gml-v321</module>
		<module>52n-xml-kml-v220</module>
		<module>52n-xml-om-v100</module>
		<module>52n-xml-om-v20</module>
		<module>52n-xml-ows-v100</module>
		<module>52n-xml-ows-v110</module>
		<module>52n-xml-sampling-v100</module>
		<module>52n-xml-sampling-v20</module>
		<module>52n-xml-sensorML-v100</module>
		<module>52n-xml-sensorML-v101</module>
		<module>52n-xml-sld-v100</module>
		<module>52n-xml-sld-v110</module>
		<module>52n-xml-sos-v100</module>
		<module>52n-xml-sos-v20</module>
		<module>52n-xml-sps-v100</module>
		<module>52n-xml-sps-v20</module>
		<module>52n-xml-sweCommon-v100</module>
		<module>52n-xml-sweCommon-v101</module>
		<module>52n-xml-sweCommon-v20</module>
		<module>52n-xml-swes-v20</module>
		<module>52n-xml-wcs-v11</module>
		<module>52n-xml-wfs-v110</module>
		<module>52n-xml-wms-v130</module>
		<module>52n-xml-xlink-v110</module>
	</modules>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	
    <dependencyManagement>
        <dependencies>
			<!-- ### MODULE DEPENDENCIES ### -->
			<!-- schema dependencies -->
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-oasis-schema</artifactId>
				<version>${project.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-ogc-schema</artifactId>
				<version>${project.version}</version>
				<scope>provided</scope>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-w3c-schema</artifactId>
				<version>${project.version}</version>
				<scope>provided</scope>
			</dependency>
			<!-- binding dependencies -->
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-context-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-csw-v202</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-filter-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-filter-v110</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-filter-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-gml-v212</artifactId>
				<version>${project.version}</version>
			</dependency>
			<!-- 
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-gml-v301</artifactId>
				<version>${project.version}</version>
			</dependency>
			 -->
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-gml-v311</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-gml-v321</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-kml-220</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-om-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-om-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-ows-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-ows-v110</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sampling-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sampling-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sensorML-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sensorML-v101</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sld-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sld-v110</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sos-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sos-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sps-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sps-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sweCommon-v100</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sweCommon-v101</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-sweCommon-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-swes-v20</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-wcs-v11</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-wfs-v110</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-wms-v130</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.n52.sensorweb</groupId>
				<artifactId>52n-xml-xlink-v110</artifactId>
				<version>1.0.0</version>
			</dependency>
			<!-- ### EXTERNAL DEPENDENCIES ### -->
            <dependency>
                <groupId>org.apache.xmlbeans</groupId>
                <artifactId>xmlbeans</artifactId>
                <version>2.4.0</version>
            </dependency>
			<dependency>
			   <groupId>commons-codec</groupId>
			   <artifactId>commons-codec</artifactId>
			   <version>1.5</version>
			</dependency>
        </dependencies>
    </dependencyManagement>
    <build>
		<pluginManagement>
			<plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
					<version>2.4</version>
                    <inherited>true</inherited>
                    <configuration>
                        <archive>
                        <!-- no index leads to errors, in some classloaders -->
                            <index>false</index>
                            <manifest>
                                <addClasspath>true</addClasspath>
                                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            </manifest>
                        </archive>
                    </configuration>
                </plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>xmlbeans-maven-plugin</artifactId>
					<version>2.3.3</version>
					<executions>
						<execution>
							<id>main</id>
							<goals>
								<goal>xmlbeans</goal>
							</goals>
						</execution>
					</executions>
					<configuration>
						<!--
						xmlbeans plugin only used to generate the classes not for compiling or jar generation.
						-->
						<noJavac>true</noJavac>
						<memoryInitialSize>256</memoryInitialSize>
						<memoryMaximumSize>256</memoryMaximumSize>
						<download>false</download>
						<schemaDirectory>target/xmlbeans-xsds/META-INF/xml</schemaDirectory>
						<xsdJars>
							<xsdJar>org.n52.sensorweb:52n-ogc-schema</xsdJar>
						</xsdJars>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
	
    <profiles>
		<profile>
			<id>release</id>
			<!-- a profile wich shall be activated if a release is performed -->
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-release-plugin</artifactId>
						<configuration>
							<!-- no build in release:prepare (takes to long time), so in bad 
								cases release fails on perform -->
							<preparationGoals>clean</preparationGoals>
							<autoVersionSubmodules>true</autoVersionSubmodules>
							<tagBase>https://svn.52north.org/svn/swe/incubation/ox-framework-2.0/52n-common-xml/tags</tagBase>
							<goals>deploy</goals>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
    </profiles>
</project>
