<?xml version="1.0"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <relativePath>../tl-parent-all</relativePath>
    <groupId>com.top-logic</groupId>
    <artifactId>tl-parent-all</artifactId>
    <version>7.9.4</version>
  </parent>
  <artifactId>ext-com-meterware-httpunit</artifactId>
  <dependencies>
	<dependency>
		<groupId>jakarta.servlet</groupId>
		<artifactId>jakarta.servlet-api</artifactId>
		<scope>provided</scope>
	</dependency>
	<dependency>
		<groupId>jakarta.activation</groupId>
		<artifactId>jakarta.activation-api</artifactId>
	    <scope>test</scope>
	</dependency>
	<dependency>
	    <groupId>jakarta.mail</groupId>
	    <artifactId>jakarta.mail-api</artifactId>
	    <scope>test</scope>
	</dependency>
	<dependency>
	    <groupId>org.mozilla</groupId>
	    <artifactId>rhino</artifactId>
	    <version>1.7R3</version>
	</dependency>
	<dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
		<version>3.8.2</version>
	</dependency>
	<dependency>
	    <groupId>org.jsoup</groupId>
	    <artifactId>jsoup</artifactId>
	</dependency>
  </dependencies>
  
  	<build>
  		<plugins>
			<!-- Skip normal test execution. Actually external library -->
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
				
				<executions>
					<execution>
						<goals>
							<goal>use-latest-releases</goal>
						</goals>
					</execution>
				</executions>

				<configuration>
					<allowMajorUpdates>false</allowMajorUpdates>
					
					<excludes>
						<exclude>org.mozilla:rhino:*:*:*</exclude>
					</excludes>
				</configuration>
			</plugin>
			
			<!-- SpotBugs -->
			<plugin>
				<groupId>com.github.spotbugs</groupId>
				<artifactId>spotbugs-maven-plugin</artifactId>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
		</plugins>
	</build>
  
</project>
