<?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>org.jeesl</groupId>
    	<artifactId>jeesl</artifactId>
    	<version>0.3.0</version>
        <relativePath>../pom.xml</relativePath>
	</parent>
	
    <artifactId>jeesl-xml</artifactId>
    <packaging>jar</packaging>
    <name>JEESL - XML</name>
    
	<dependencyManagement>
		<dependencies>  
			<dependency>
				<groupId>org.jeesl.bom</groupId>
				<artifactId>bom-core</artifactId>
				<version>${maven.version.jeesl.bom}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>
	
	<dependencies>
		<!-- XML-JAXB -->
		<dependency>
	   		<groupId>org.openfuxml</groupId>
	   		<artifactId>ofx-xml</artifactId>
	   	</dependency>
		<dependency>
	   		<groupId>org.metachart</groupId>
	   		<artifactId>metachart-xml</artifactId>
	   	</dependency>

		<!-- ExLP -->
		<dependency>
   	   		<groupId>net.sf.exlp</groupId>
   	   		<artifactId>exlp-util</artifactId>
   	   		<scope>provided</scope>
   	   		<exclusions>
   	   			<exclusion>
   	   				<artifactId>commons-lang</artifactId>
   	   				<groupId>commons-lang</groupId>
   	   			</exclusion>
   	   			<exclusion>
   	   				<artifactId>commons-logging</artifactId>
   	   				<groupId>commons-logging</groupId>
   	   			</exclusion>
   	   			<exclusion>
   	   				<artifactId>httpclient</artifactId>
   	   				<groupId>org.apache.httpcomponents</groupId>
   	   			</exclusion>
   	   			<exclusion>
   	   				<artifactId>log4j</artifactId>
   	   				<groupId>log4j</groupId>
   	   			</exclusion>
   	   			<exclusion>
   	   				<artifactId>commons-configuration</artifactId>
   	   				<groupId>commons-configuration</groupId>
   	   			</exclusion>
   	   			<exclusion>
   	   				<artifactId>commons-io</artifactId>
   	   				<groupId>commons-io</groupId>
   	   			</exclusion>
   	   		</exclusions>
		</dependency>
   	   	
   	   	<dependency>
   	   		<groupId>commons-lang</groupId>
   	   		<artifactId>commons-lang</artifactId>
   	   		<scope>test</scope>
   	   	</dependency>
   	   	
   	   	<!-- JSON -->
   	   	<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>2.6.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
		   <groupId>com.fasterxml.jackson.datatype</groupId>
		   <artifactId>jackson-datatype-jsr310</artifactId>
		   <scope>provided</scope>
		</dependency>
	
		<!-- Logging -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
   	   		<groupId>log4j</groupId>
   	   		<artifactId>log4j</artifactId>
   	   		<scope>test</scope>
   	   	</dependency>
   	   	<dependency>
   	   		<groupId>org.slf4j</groupId>
   	   		<artifactId>slf4j-log4j12</artifactId>
   	   		<scope>test</scope>
   	   	</dependency>
		
		<!-- JAXB -->
      	<dependency>
    	   	<groupId>javax.xml.bind</groupId>
    	   	<artifactId>jaxb-api</artifactId>
    	   	<scope>provided</scope>
   	   	</dependency>
   	   	<dependency>
   	   		<groupId>com.sun.xml.bind</groupId>
   	   		<artifactId>jaxb-impl</artifactId>
   	   		<scope>provided</scope>
   	   	</dependency>
   	   	<dependency>
   	   		<groupId>com.sun.xml.bind</groupId>
   	   		<artifactId>jaxb-xjc</artifactId>
   	   		<scope>provided</scope>
   	   	</dependency>
   	   	<dependency>
   	   		<groupId>commons-jxpath</groupId>
   	   		<artifactId>commons-jxpath</artifactId>
   	   		<scope>provided</scope>
   	   	</dependency>
    	   	
		<!-- Test -->
   	   	<dependency>
   	   		<groupId>junit</groupId>
   	   		<artifactId>junit</artifactId>
   	   		<type>jar</type>
   	   		<scope>test</scope>
   	   	</dependency>
		<dependency>
			<groupId>org.jeesl</groupId>
			<artifactId>jeesl-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jdom</groupId>
			<artifactId>jdom</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
	   		<groupId>org.openfuxml</groupId>
	   		<artifactId>ofx-util</artifactId>
	   		<scope>test</scope>
	   	</dependency>
	</dependencies>
	
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<inherited>true</inherited>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-jar-plugin</artifactId>
				<executions>
  					<execution>
    					<goals>
       						<goal>test-jar</goal>
    					</goals>
  					</execution>
				</executions>
			</plugin>
			<plugin>
		        <groupId>org.codehaus.mojo</groupId>
		        <artifactId>versions-maven-plugin</artifactId>
		        <configuration><rulesUri>${maven.ignore.versions}</rulesUri></configuration>
			</plugin>
			<plugin>
		        <groupId>org.apache.maven.plugins</groupId>
		        <artifactId>maven-pmd-plugin</artifactId>
		        <configuration>
			        <excludes>
			            <exclude>net/sf/ahtutils/xml/access/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/aht/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/audit/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/cloud/facebook/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/dbseed/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/finance/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/issue/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/mail/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/monitoring/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/navigation/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/project/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/qa/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/report/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/security/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/srs/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/status/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/survey/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/symbol/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/sync/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/system/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/text/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/ts/*.java</exclude>
			            <exclude>net/sf/ahtutils/xml/utils/*.java</exclude>
			            
			            <exclude>org/jeesl/model/xml/system/io/template/*.java</exclude>
						<exclude>org/jeesl/model/xml/system/revision/*.java</exclude>
						<exclude>org/jeesl/model/xml/text/*.java</exclude>
					</excludes>
	        </configuration>
	      </plugin>
		</plugins>
	</build>
</project>