<?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>
	
	<parent>
    	<groupId>net.sf.exlp</groupId>
    	<artifactId>exlp</artifactId>
    	<version>0.1.11</version>
        <relativePath>../pom.xml</relativePath>
	</parent>
	
    <artifactId>exlp-xml</artifactId>
    <packaging>jar</packaging>
    <name>ExLP - XML</name>
    
	<dependencyManagement>
		<dependencies>      	         
			<dependency>
				<groupId>net.sf.exlp</groupId>
				<artifactId>exlp-bom</artifactId>
				<version>${project.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>
    
    <dependencies>
    
    	<!-- JAXB -->
      	<dependency><!-- Deprecated -->
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
    		<type>jar</type>
    		<scope>test</scope>
		</dependency>
		<dependency><!-- Deprecated -->
  			<groupId>com.sun.xml.bind</groupId>
    		<artifactId>jaxb-impl</artifactId>
    		<type>jar</type>
    		<scope>provided</scope>
    	</dependency>
    	<dependency><!-- Deprecated -->
 			<groupId>com.sun.xml.bind</groupId>
    		<artifactId>jaxb-xjc</artifactId>
    		<type>jar</type>
    		<scope>test</scope>
  		</dependency>
  		
		<dependency>
			<groupId>org.jboss.resteasy</groupId>
			<artifactId>resteasy-jaxrs</artifactId>
			<version>3.0.1.Final</version>
			<scope>provided</scope>
			<exclusions>
            	<exclusion>
            		<artifactId>commons-logging</artifactId>
            		<groupId>commons-logging</groupId>
            	</exclusion>
            	<exclusion>
            		<artifactId>slf4j-simple</artifactId>
            		<groupId>org.slf4j</groupId>
            	</exclusion>
			</exclusions>
		</dependency>   		
	</dependencies>
    
	<build>
		<plugins>
		<!-- 
            <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <version>0.11.0</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                        <configuration>
                        	<schemaDirectory>src/main/xsd</schemaDirectory>
									<schemaIncludes><include>*.xsd</include></schemaIncludes>
									    <schemaExcludes>
        <exclude>geojsf.xsd</exclude>
    </schemaExcludes>

<bindingDirectory>src/main/ant</bindingDirectory>
<bindingIncludes>
    <include>**/*.xjb</include>
</bindingIncludes>
<specVersion>2.2</specVersion>
<generateDirectory>${project.basedir}/src/main/java</generateDirectory>
<packageLevelAnnotations>false</packageLevelAnnotations>
<noFileHeader>true</noFileHeader>
<cleanPackageDirectories>true</cleanPackageDirectories>
<forceRegenerate>true</forceRegenerate>

<encoding>${project.build.sourceEncoding}</encoding>
<locale>en</locale>
<addCompileSourceRoot>false</addCompileSourceRoot>
<addTestCompileSourceRoot>false</addTestCompileSourceRoot>

    <schema>
        <url>http://www.geojsf.org</url>
        <excludes>
                <exclude>*.xsd</exclude>
            </excludes>
    </schema>

                        </configuration>
                    </execution>
                </executions>
            </plugin> -->
			<plugin>
		        <groupId>org.codehaus.mojo</groupId>
		        <artifactId>versions-maven-plugin</artifactId>
		        <configuration>
					<rulesUri>${maven.ignore}</rulesUri>
		        </configuration>
			</plugin>
        </plugins>
        <pluginManagement>
      	<plugins>
      		<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
      		<plugin>
      			<groupId>org.eclipse.m2e</groupId>
      			<artifactId>lifecycle-mapping</artifactId>
      			<version>1.0.0</version>
      			<configuration>
      				<lifecycleMappingMetadata>
      					<pluginExecutions>
      						<pluginExecution>
      							<pluginExecutionFilter>
      								<groupId>org.jvnet.jaxb2.maven2</groupId>
                					<artifactId>maven-jaxb2-plugin</artifactId>
      								<versionRange>
      									[0.1.10,)
      								</versionRange>
      								<goals>
      									<goal>generate</goal>
      								</goals>
      							</pluginExecutionFilter>
      							<action>
      								<ignore />
      							</action>
      						</pluginExecution>
      					</pluginExecutions>
      				</lifecycleMappingMetadata>
      			</configuration>
      		</plugin>
      	</plugins>
      </pluginManagement>
	</build>
	
</project>