<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 -->
  <groupId>io.sf.carte</groupId>
  <artifactId>css4j-dist</artifactId>
  <version>0.40.3</version>
  <packaging>pom</packaging>
  <modules>
	<module>css4j</module>
	<module>css4j-agent</module>
	<module>css4j-dom4j</module>
	<module>css4j-awt</module>
  </modules>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencies>
    <dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
		<version>4.12</version>
		<type>jar</type>
		<scope>test</scope>
		<optional>false</optional>
    </dependency>
	<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-util -->
	<dependency>
		<groupId>org.apache.xmlgraphics</groupId>
		<artifactId>batik-util</artifactId>
		<version>1.9</version>
		<scope>test</scope>
		<optional>false</optional>
	</dependency>
	<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-css -->
	<dependency>
		<groupId>org.apache.xmlgraphics</groupId>
		<artifactId>batik-css</artifactId>
		<version>1.9</version>
		<scope>test</scope>
		<optional>false</optional>
	</dependency>
	<!-- https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-i18n -->
	<dependency>
		<groupId>org.apache.xmlgraphics</groupId>
		<artifactId>batik-i18n</artifactId>
		<version>1.9</version>
		<scope>test</scope>
		<optional>false</optional>
	</dependency>
	<!-- https://mvnrepository.com/artifact/net.sourceforge.cssparser/cssparser -->
	<dependency>
		<groupId>net.sourceforge.cssparser</groupId>
		<artifactId>cssparser</artifactId>
		<version>0.9.23</version>
		<scope>test</scope>
		<optional>true</optional>
	</dependency>
  </dependencies>
  <distributionManagement>
    <downloadUrl>https://sourceforge.net/projects/carte/files/css4j/</downloadUrl>
  </distributionManagement>
  <!-- Build Settings -->
  <build>
	<defaultGoal>clean package</defaultGoal>
    <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>
	<pluginManagement>
		<plugins>
			<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>
			</plugin>
			<plugin>
				  <groupId>org.apache.maven.plugins</groupId>
				  <artifactId>maven-surefire-plugin</artifactId>
				  <version>2.20</version>
				  <configuration>
					<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
					<disableXmlReport>true</disableXmlReport>
					<printSummary>false</printSummary>
				  </configuration>
			</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>
			</plugin>
			<plugin>
				<groupId>io.github.zlika</groupId>
				<artifactId>reproducible-build-maven-plugin</artifactId>
				<version>0.2</version>
				<executions>
					<execution>
						<goals>
							<goal>strip-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</pluginManagement>
  </build>
  <name>CSS4J</name>
  <description>Implementation of W3C's CSS Object Model API in the Java(tm) programming language</description>
  <url>https://carte.sourceforge.io/css4j/</url>
  <licenses>
	<license>
		<name>BSD 3-clause license</name>
		<url>https://carte.sourceforge.io/css4j/LICENSE.txt</url>
	</license>
  </licenses>
  <scm>
  	<connection>scm:git:git://git.code.sf.net/p/carte/css4j-dist</connection>
  </scm>
  <issueManagement>
	<url>https://sourceforge.net/p/carte/tickets/</url>
  </issueManagement>
</project>
