<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <!-- The Basics -->
  <parent>
	<groupId>io.sf.carte</groupId>
	<artifactId>css4j-dist</artifactId>
	<version>0.41.3</version>
  </parent>
  <groupId>io.sf.carte</groupId>
  <artifactId>css4j-dom4j</artifactId>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
		<groupId>io.sf.carte</groupId>
		<artifactId>css4j</artifactId>
		<version>${project.parent.version}</version>
		<type>jar</type>
		<scope>compile</scope>
		<optional>false</optional>
    </dependency>
	<dependency>
		<groupId>io.sf.carte</groupId>
		<artifactId>css4j</artifactId>
		<version>${project.parent.version}</version>
		<type>test-jar</type>
		<scope>test</scope>
	</dependency>
    <dependency>
		<groupId>io.sf.carte</groupId>
		<artifactId>css4j-agent</artifactId>
		<version>${project.parent.version}</version>
		<type>jar</type>
		<scope>test</scope>
		<optional>false</optional>
    </dependency>
	<dependency>
		<groupId>org.dom4j</groupId>
		<artifactId>dom4j</artifactId>
		<version>[2.0.0,)</version>
		<type>jar</type>
		<scope>compile</scope>
		<optional>false</optional>
	</dependency>
	<dependency>
		<groupId>xpp3</groupId>
		<artifactId>xpp3</artifactId>
		<version>1.1.4c</version>
		<scope>compile</scope>
		<optional>false</optional>
	</dependency>
	<dependency>
		<groupId>jaxen</groupId>
		<artifactId>jaxen</artifactId>
		<version>1.1.6</version>
		<scope>test</scope>
		<optional>false</optional>
	</dependency>
  </dependencies>
  <!-- Build Settings -->
  <build>
    <directory>${project.basedir}/build</directory>
    <outputDirectory>${project.build.directory}/bin</outputDirectory>
    <finalName>${project.artifactId}-${project.version}</finalName>
    <testOutputDirectory>${project.build.directory}/testbin</testOutputDirectory>
    <sourceDirectory>${project.basedir}/src</sourceDirectory>
    <testSourceDirectory>${project.basedir}/junit</testSourceDirectory>
	<plugins>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-source-plugin</artifactId>
			<version>3.0.1</version>
			<executions>
				<execution>
					<id>attach-sources</id>
					<goals>
						<goal>jar-no-fork</goal>
					</goals>
				</execution>
			</executions>
		</plugin>
	    <plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-compiler-plugin</artifactId>
			<version>3.6.1</version>
			<configuration>
			  <source>1.6</source>
			  <target>1.6</target>
			</configuration>
			<executions>
				<execution>
				  <id>default-testCompile</id>
				  <configuration>
					<testExcludes>io/sf/carte/doc/AllTestsDOM4J.java</testExcludes>
				  </configuration>
				</execution>
			</executions>
		</plugin>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-javadoc-plugin</artifactId>
			<version>2.10.4</version>
			<configuration>
				<quiet>true</quiet>
			</configuration>
			<executions>
				<execution>
					<id>attach-javadocs</id>
					<goals>
						<goal>jar</goal>
					</goals>
				</execution>
			</executions>
		</plugin>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-jar-plugin</artifactId>
			<version>3.0.2</version>
			<configuration>
			<archive>
				<addMavenDescriptor>false</addMavenDescriptor>
			</archive>
			</configuration>
			<executions>
				<execution>
				  <goals>
					<goal>test-jar</goal>
				  </goals>
				</execution>
			</executions>
		</plugin>
	</plugins>
	<resources>
		<resource>
			<directory>${project.build.sourceDirectory}</directory>
			<excludes>
				<exclude>**/*.java</exclude>
				<exclude>overview.html</exclude>
			</excludes>
		</resource>
		<resource>
			<directory>${project.basedir}</directory>
			<includes>
				<include>LICENSE.txt</include>
			</includes>
		</resource>
	</resources>
	<testResources>
		<testResource>
			<directory>${project.basedir}/junit</directory>
			<excludes>
				<exclude>**/*.java</exclude>
			</excludes>
		</testResource>
	</testResources>
  </build>
  <reporting>
	<plugins>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-javadoc-plugin</artifactId>
			<version>2.10.4</version>
			<configuration>
			  <reportOutputDirectory>${project.build.directory}/doc</reportOutputDirectory>
			  <destDir>api</destDir>
			</configuration>
			<reportSets>
				<reportSet>
					<id>default</id>
					<reports>
					  <report>javadoc</report>
					</reports>
				</reportSet>
			</reportSets>
		</plugin>
	</plugins>
  </reporting>
  <scm>
  	<connection>scm:git:git://git.code.sf.net/p/carte/css4j-dom4j</connection>
	<url>https://sourceforge.net/p/carte/css4j-dom4j/ci/master/tree/</url>
  </scm>
</project>
