<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>
	<groupId>de.uni-muenchen.phonetik</groupId>
	<artifactId>ips.svgpromptpresenter</artifactId>
	<version>0.4.2</version>
	<description>SVG prompt presenter plugin for Speechrecorder of the Institute of Phonetics and Speech Processing</description>
	<name>SVG Prompt Presenter</name>
	<licenses>
		<license>
			<name>GNU Lesser General Public License version 3</name>
			<url>https://www.gnu.org/licenses/lgpl-3.0.en.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<distributionManagement>
		<repository>
			<id>IPS-WWW-files</id>
			<url>${ips.distributionManagementURL}</url>
		</repository>
	</distributionManagement>
	<properties>
		<maven.compiler.source>11</maven.compiler.source>
		<maven.compiler.target>11</maven.compiler.target>
	</properties>
	<organization>
		<name>Institute of Phonetics and Speech Processing</name>
		<url>https://www.phonetik.uni-muenchen.de</url>
	</organization>

	<dependencies>
		<!-- https://mvnrepository.com/artifact/org.mozilla/rhino -->
		<dependency>
			<groupId>org.mozilla</groupId>
			<artifactId>rhino</artifactId>
			<version>1.7.11</version>
		</dependency>
	
		<dependency>
	<groupId>org.apache.xmlgraphics</groupId>
	<artifactId>batik-swing</artifactId>
	<version>1.12</version>
	<!-- Exclude XML APIs and Xalan, otherwise Speechrecorder will fail -->
	<exclusions>
		<exclusion>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
		</exclusion>
		<exclusion>
			<groupId>xalan</groupId>
			<artifactId>xalan</artifactId>
		</exclusion>
	</exclusions>
</dependency>
		<dependency>
			<groupId>de.uni-muenchen.phonetik</groupId>
			<artifactId>ips.speechrecorder</artifactId>
			<version>4.4.50</version>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>1.17</version>
				<configuration>
					<licenseName>lgpl_v3</licenseName>
					<inceptionYear>2019</inceptionYear>
					<fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByMultiLicense.ftl</fileTemplate>
					<licensesOutputFileEol>LF</licensesOutputFileEol>
					<lineSeparator>\n</lineSeparator>
				</configuration>
				<executions>
					<execution>
						<id>license-add-third-party</id>
						<goals>
							<goal>update-project-license</goal>
							<goal>add-third-party</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>3.0.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>3.0.1</version>
				<configuration>
					<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
					<additionalOptions>-html5</additionalOptions>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<phase>deploy</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>