<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>

	<parent>
		<artifactId>easywsdl-parent</artifactId>
		<groupId>org.ow2.easywsdl</groupId>
		<version>2.0</version>
	</parent>

	<name>EasyWSDL - Schema manager</name>
	<artifactId>easywsdl-schema</artifactId>
	<groupId>org.ow2.easywsdl</groupId>
	<version>2.0</version>
	<packaging>jar</packaging>
	
	<description />


	<properties>
		<topDirectoryLocation>..</topDirectoryLocation>
	</properties>

	<scm>
		<connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/easywsdl/tags/easywsdl-schema-2.0</connection>
		<developerConnection>scm:svn:svn+ssh://nboissel@svn.forge.objectweb.org/svnroot/easywsdl/tags/easywsdl-schema-2.0</developerConnection>
		<url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/easywsdl/tags/easywsdl-schema-2.0</url>
	</scm>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.jvnet.jaxb2_commons</groupId>
			<artifactId>runtime</artifactId>
		</dependency>
		
		<!--
			Because of licence, we prefer the JavaBeans(TM) Activation Framework
			(javax.activation:activation) provided by the Geronimo artifact
			instead of the one provided by org.jvnet.jaxb2_commons:runtime
		-->
		<dependency>
			<groupId>org.apache.geronimo.specs</groupId>
			<artifactId>geronimo-stax-api_1.0_spec</artifactId>
			<version>1.0.1</version>
		</dependency>
		<!--
			Because of licence, we prefer the JavaBeans(TM) Activation Framework
			(javax.activation:activation) provided by the Geronimo artifact
			instead of the one provided by org.jvnet.jaxb2_commons:runtime
		-->
		<dependency>
			<groupId>org.apache.geronimo.specs</groupId>
			<artifactId>geronimo-activation_1.1_spec</artifactId>
			<version>1.0.2</version>
		</dependency>

	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.jvnet.jaxb2.maven2</groupId>
				<artifactId>maven-jaxb2-plugin</artifactId>
				<configuration>
					<schemaDirectory>${basedir}/src/main/resources/schema</schemaDirectory>
					<schemaIncludes>
						<include>XMLSchema.xsd</include>
					</schemaIncludes>
					<bindingIncludes>
						<include>binding.xjb</include>
					</bindingIncludes>
					<extension>true</extension>
					<plugins>
						<plugin>
							<groupId>org.jvnet.jaxb2_commons</groupId>
							<artifactId>basic</artifactId>
						</plugin>
					</plugins>
					<args>
						<arg>-XtoString</arg>
						<arg>-Xequals</arg>
						<arg>-XhashCode</arg>
					</args>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>