<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>easy-parent</artifactId>
		<groupId>org.ow2.easywsdl</groupId>
		<version>1.0</version>
	</parent>

	<name>EasyWSDL - Extensions SAWSDL manager</name>
	<artifactId>easy-sawsdl</artifactId>
	<groupId>org.ow2.easywsdl.extensions</groupId>
	<version>1.0</version>
	<packaging>jar</packaging>

	<properties>
		<topDirectoryLocation>../..</topDirectoryLocation>
	</properties>

	<scm>
		<connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/easywsdl/tags/easy-sawsdl-1.0</connection>
		<developerConnection>scm:svn:svn+ssh://rnaudin@svn.forge.objectweb.org/svnroot/easywsdl/tags/easy-sawsdl-1.0</developerConnection>
		<url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/easywsdl/trunk/tags/easy-sawsdl-1.0</url>
	</scm>


	<dependencies>

		<dependency>
			<artifactId>easy-wsdl</artifactId>
			<groupId>org.ow2.easywsdl</groupId>
			<version>1.0</version>
		</dependency>

		<!-- Test dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>

	</dependencies>


	<repositories>
		<repository>
			<id>maven2-repository.dev.java.net</id>
			<url>http://download.java.net/maven/2</url>
		</repository>
		<repository>
			<id>maven-repository.dev.java.net</id>
			<url>http://download.java.net/maven/1</url>
			<layout>legacy</layout>
		</repository>
		<repository>
			<id>maven2-repository.jboss.com</id>
			<url>http://repository.jboss.com/maven2</url>
		</repository>
	</repositories>

	<pluginRepositories>
		<pluginRepository>
			<id>maven2-repository.dev.java.net</id>
			<url>http://download.java.net/maven/2</url>
		</pluginRepository>
		<pluginRepository>
			<id>maven-repository.dev.java.net</id>
			<url>http://download.java.net/maven/1</url>
			<layout>legacy</layout>
		</pluginRepository>
		<!--
			| This repository is needed by the jaxb2-maven-plugin.
			|-->
		<pluginRepository>
			<id>codehaus.release</id>
			<name>CodeHaus Release Repository</name>
			<url>http://repository.codehaus.org</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>

	<build>
		<plugins>
			<!-- start: must be commented when use java 1.6 -->
			<!-- <plugin>
				<groupId>org.jvnet.jaxb2.maven2</groupId>
				<artifactId>maven-jaxb2-plugin</artifactId>
				<version>0.5</version>
				</plugin>  -->
			<!-- end: must be commented when use java 1.6 -->


			<plugin>
				<groupId>org.jvnet.jaxb2.maven2</groupId>
				<artifactId>maven-jaxb2-plugin</artifactId>
				<version>0.5</version>
				<executions>
					<execution>
						<goals>
							<goal>generate</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<schemaDirectory>
						${basedir}/src/main/resources/schema/annotation/
					</schemaDirectory>
					<schemaIncludes>
						<include>sawsdl/sawsdl.xsd</include>
					</schemaIncludes>
					<bindingIncludes>
						<include>binding.xjb</include>
					</bindingIncludes>

					<extension>true</extension>
					<plugins>
						<plugin>
							<groupId>org.jvnet.hyperjaxb3</groupId>
							<artifactId>
								hyperjaxb3-ejb-plugin
							</artifactId>
							<version>0.3</version>
						</plugin>
						<plugin>
							<groupId>org.jvnet.jaxb2_commons</groupId>
							<artifactId>basic</artifactId>
							<version>0.2.GA</version>
						</plugin>
					</plugins>
					<args>
						<arg>-XtoString</arg>
						<arg>-Xequals</arg>
						<arg>-XhashCode</arg>
						<arg>-Xhyperjaxb3-ejb</arg>
						<arg>
							-Xhyperjaxb3-ejb-generateTransientId=true
						</arg>
					</args>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>