<?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>
	<groupId>org.blueobelisk</groupId>
	<artifactId>cmlxom</artifactId>
	<version>4.17</version>
	<packaging>jar</packaging>
	<name>CMLXOM</name>
	<description>A Java library for processing CML</description>
	<url>https://github.com/BlueObelisk/cmlxom</url>
	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>

	<scm>
		<url>https://github.com/BlueObelisk/cmlxom</url>
		<connection>scm:git:git://github.com/blueobelisk/cmlxom.git</connection>
		<developerConnection>scm:git:ssh://git@github.com/blueobelisk/cmlxom.git</developerConnection>
	</scm>
	<developers>
		<developer>
			<id>adw27</id>
			<name>Andrew Walkingshaw</name>
		</developer>
		<developer>
			<id>anyday</id>
			<name>Nick Day</name>
		</developer>
		<developer>
			<id>billyfish</id>
			<name>Simon "Billy" Tyrrell</name>
		</developer>
		<developer>
			<id>dmj30</id>
			<name>David Jessop</name>
		</developer>
		<developer>
			<id>drzz</id>
			<name>Daniel Zaharevitz</name>
		</developer>
		<developer>
			<id>egonw</id>
			<name>Egon Willighagen</name>
		</developer>
		<developer>
			<id>ghutchis</id>
			<name>Geoff Hutchison</name>
		</developer>
		<developer>
			<id>glh29</id>
			<name>Gemma Holliday</name>
		</developer>
		<developer>
			<id>Gowrishankar04</id>
			<name>Gowri Shankar K</name>
		</developer>
		<developer>
			<id>iamramin</id>
			<name>Ramin Ghorashi</name>
		</developer>
		<developer>
			<id>icebearsoft</id>
			<name>Zdenek Wagner</name>
		</developer>
		<developer>
			<id>jat45</id>
			<name>Joe Townsend</name>
		</developer>
		<developer>
			<id>jd323</id>
			<name>Justin Davies</name>
		</developer>
		<developer>
			<id>jimdowning</id>
			<name>Jim Downing</name>
		</developer>
		<developer>
			<id>jiratj</id>
			<name>Jiri Jirat</name>
		</developer>
		<developer>
			<id>jryder</id>
			<name>Jen Ryder</name>
		</developer>
		<developer>
			<id>karne</id>
			<name>Michael Wright</name>
		</developer>
                <developer>
                        <id>lehebax</id>
                        <name>Sakshi Jain</name>
                </developer>
		<developer>
			<id>msh41</id>
			<name>Mark Holt</name>
		</developer>
		<developer>
			<id>nicmila</id>
			<name>Miloslav Nic</name>
		</developer>
		<developer>
			<id>nickengland</id>
			<name>Nick England</name>
		</developer>
		<developer>
			<id>peter_corbett</id>
			<name>Peter Corbett</name>
		</developer>
		<developer>
			<id>petermr</id>
			<name>Peter Murray-Rust</name>
		</developer>
		<developer>
			<id>rzepa1</id>
			<name>Henry Rzepa</name>
		</developer>
		<developer>
			<id>sea36</id>
			<name>Sam Adams</name>
		</developer>
		<developer>
			<id>shk3</id>
			<name>Stefan Kuhn</name>
		</developer>
                <developer>
                        <id>sivasuriyankumarasamy</id>
                        <name>sivasuriyankumarasamy</name>
                </developer>
		<developer>
			<id>steinbeck</id>
			<name>Christoph Steinbeck</name>
		</developer>
		<developer>
			<id>tohel</id>
			<name>Tobias Helmut</name>
		</developer>
		<developer>
			<id>tohw</id>
			<name>Toby White</name>
		</developer>
		<developer>
			<id>yz237</id>
			<name>Yong Zhang</name>
		</developer>
	</developers>

	<inceptionYear>1994</inceptionYear>
	<mailingLists>
		<mailingList>
			<name>cml-discuss</name>
			<subscribe>https://lists.sourceforge.net/lists/listinfo/cml-discuss</subscribe>
			<unsubscribe>https://lists.sourceforge.net/lists/listinfo/cml-discuss</unsubscribe>
			<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=cml-discuss</archive>
		</mailingList>
	</mailingLists>

	<ciManagement>
		<system>hudson</system>
		<url>https://hudson.ch.cam.ac.uk/job/cmlxom</url>
	</ciManagement>
	<organization>
		<name>Peter Murray-Rust</name>
		<url>http://blogs.ch.cam.ac.uk/pmr/</url>
	</organization>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
				<version>3.6.2</version>
				<executions>
					<execution>
					<id>enforce-maven</id>
					<goals>
						<goal>enforce</goal>
					</goals>
					<configuration>
						<rules>
						<requireMavenVersion>
							<version>3.6.3</version>
						</requireMavenVersion>
						<requireJavaVersion>
							<version>1.8</version>
						</requireJavaVersion>
						</rules>
					</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
        			<groupId>org.apache.maven.plugins</groupId>
        			<artifactId>maven-compiler-plugin</artifactId>
        			<version>3.14.1</version>
        			<configuration>
          				<source>1.8</source>
          				<target>1.8</target>
        			</configuration>
      			</plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.12.0</version>
				<configuration>
					<doclint>all,-missing</doclint>
					<source>8</source>
				</configuration>
                <executions>
                  <execution>
                    <id>attach-javadocs</id>
                    <goals>
                      <goal>jar</goal>
                    </goals>
                  </execution>
                  <execution>
                    <id>aggregate</id>
                    <goals>
                      <goal>aggregate</goal>
                    </goals>
                    <phase>site</phase>
                    <configuration>
                    </configuration>
                  </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-source-plugin</artifactId>
                <version>3.3.1</version>
                <executions>
                  <execution>
                    <id>attach-sources</id>
                    <goals>
                      <goal>jar-no-fork</goal>
                    </goals>
                  </execution>
                </executions>
            </plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<check>
						<haltOnFailure>false</haltOnFailure>
						<regexes>
							<regex>
								<pattern>org.xmlcml.*</pattern>
								<branchRate>80</branchRate>
								<lineRate>80</lineRate>
							</regex>
						</regexes>
					</check>
					<instrumentation>
						<includes>
							<include>org/xmlcml/**/*.class</include>
						</includes>
					</instrumentation>
				</configuration>
				<executions>
					<execution>
						<id>clean</id>
						<phase>pre-site</phase>
						<goals>
							<goal>clean</goal>
						</goals>
					</execution>
					<execution>
						<id>instrument</id>
						<phase>site</phase>
						<goals>
							<goal>instrument</goal>
							<goal>cobertura</goal>
							<goal>check</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>5.0.0</version>
				<configuration>
					<header>src/main/resources/header.txt</header>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.sonatype.central</groupId>
				<artifactId>central-publishing-maven-plugin</artifactId>
				<version>0.9.0</version>
				<extensions>true</extensions>
				<configuration>
					<publishingServerId>central</publishingServerId>
					<autoPublish>true</autoPublish>
					<waitUntil>published</waitUntil>
				</configuration>
			</plugin>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-gpg-plugin</artifactId>
                <version>3.2.8</version>
                <executions>
                  <execution>
                    <id>sign-artifacts</id>
                        <phase>verify</phase>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>0.8.14</version>
        <executions>
          <execution>
            <id>start-agent</id>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
          </execution>
          <execution>
            <id>generate-report</id>
            <goals>
              <goal>report</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

  <distributionManagement>
    <snapshotRepository>
      <id>central</id>
      <url>https://central.sonatype.com/repository/maven-snapshots/</url>
    </snapshotRepository>
    <repository>
      <id>central</id>
      <url>https://central.sonatype.com</url>
    </repository>
  </distributionManagement>

  <repositories>
    <repository>
      <id>sonatypeSnapshots</id>
      <name>Sonatype Snapshots</name>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <url>https://central.sonatype.com/repository/maven-snapshots/</url>
	  <layout>default</layout>
    </repository>
  </repositories>
 
	<dependencies>
		<dependency>
			<groupId>org.blueobelisk</groupId>
			<artifactId>euclid</artifactId>
			<version>2.16</version>
		</dependency>
		<dependency>
			<groupId>xom</groupId>
			<artifactId>xom</artifactId>
			<version>1.4.0</version>
			<exclusions>
				<exclusion>
					<groupId>xerces</groupId>
					<artifactId>xercesImpl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xercesImpl</artifactId>
			<version>2.12.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
			<version>2.14.1</version>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.21.0</version>
		</dependency>
		<dependency>
			<groupId>org.apache.logging.log4j</groupId>
			<artifactId>log4j-1.2-api</artifactId>
			<version>2.25.4</version>
		</dependency>
		<dependency>
			<groupId>org.ccil.cowan.tagsoup</groupId>
			<artifactId>tagsoup</artifactId>
			<version>1.2.1</version>
		</dependency>
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>1.4.01</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.13.2</version>
			<!-- Not scope test due to provided CMLAssert and CMLXOMTestUtils -->
			<optional>true</optional>
		</dependency>
	</dependencies>

	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<plugin>
						<artifactId>maven-assembly-plugin</artifactId>
						<version>3.7.1</version>
						<configuration>
							<descriptorRefs>
								<descriptorRef>src</descriptorRef>
							</descriptorRefs>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>3.9.0</version>
				<reportSets>
					<reportSet>
						<reports>
							<report>index</report>
							<report>summary</report>
							<report>dependencies</report>
							<report>project-team</report>
							<report>license</report>
							<report>cim</report>
							<report>scm</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
				<version>3.5.4</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jxr-plugin</artifactId>
				<version>3.6.0</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-pmd-plugin</artifactId>
				<version>3.28.0</version>
				<configuration>
					<targetJdk>1.5</targetJdk>
					<linkXRef>true</linkXRef>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>3.6.0</version>
				<configuration>
					<configLocation>src/test/resources/checkstyle.xml</configLocation>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.7</version>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>apt-maven-plugin</artifactId>
			</plugin>
		</plugins>
	</reporting>

</project>
