<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>

    <parent>
		<groupId>com.atlassian.license</groupId>
		<artifactId>atlassian-license-loader-parent</artifactId>
		<version>0.1</version>
    </parent>
    <name>JIRA License Loader Plugin</name>

    <groupId>com.atlassian.license</groupId>
    <artifactId>jira-license-loader-plugin</artifactId>

    <packaging>atlassian-plugin</packaging>

    <build>
        <plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.3</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.3</version>
			</plugin> 
			<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-jira-plugin</artifactId>
				<version>3.0-20090705.232201-1</version>
				<extensions>true</extensions>
				<configuration>
					<jvmArgs>-Dhome.dir=${project.build.directory}/jira/jira-home -Dlicense.pollTime=60000</jvmArgs>
					<libArtifacts>
						<libArtifact>
						    <groupId>com.atlassian.license</groupId>
						    <artifactId>jira-license-loader-plugin</artifactId>
							<version>${project.version}</version>
						</libArtifact>
						<libArtifact>
				    		<groupId>com.atlassian.sal</groupId>
				    		<artifactId>sal-api</artifactId>
				    		<version>2.0.7</version>
						</libArtifact>
						<libArtifact>
				    		<groupId>com.atlassian.sal</groupId>
				    		<artifactId>sal-core</artifactId>
				    		<version>2.0.7</version>
						</libArtifact>
						<libArtifact>
				    		<groupId>com.atlassian.sal</groupId>
				    		<artifactId>sal-legacyjira-plugin</artifactId>
				    		<version>2.0.7</version>
						</libArtifact>
					</libArtifacts>
				</configuration>
			</plugin>
		</plugins>
    </build>
    
    <dependencies>
    	<dependency>
    		<groupId>com.atlassian.sal</groupId>
    		<artifactId>sal-api</artifactId>
    		<version>2.0.7</version>
    	</dependency>
    	<dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.12</version>
            <scope>provided</scope>
    	</dependency>

		<!--  TEST -->
        <dependency>
            <groupId>net.sourceforge.jwebunit</groupId>
            <artifactId>jwebunit-core</artifactId>
            <version>2.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.5</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>net.sourceforge.jwebunit</groupId>
            <artifactId>jwebunit-htmlunit-plugin</artifactId>
            <version>2.0</version>
            <exclusions>
                <exclusion>
                    <groupId>xom</groupId>
                    <artifactId>xom</artifactId>
                </exclusion>
                <exclusion>
		            <groupId>net.sourceforge.htmlunit</groupId>
		            <artifactId>htmlunit</artifactId>
                </exclusion>
            </exclusions>
            <scope>test</scope>
        </dependency>


        <dependency>
            <groupId>net.sourceforge.htmlunit</groupId>
            <artifactId>htmlunit</artifactId>
            <version>2.4</version>
            <exclusions>
                <exclusion>
		            <groupId>net.sourceforge.nekohtml</groupId>
		            <artifactId>nekohtml</artifactId>
                </exclusion>
            </exclusions>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>net.sourceforge.nekohtml</groupId>
            <artifactId>nekohtml</artifactId>
            <version>1.9.11</version>
            <scope>test</scope>
        </dependency>


    </dependencies>

	<properties>
		<manifest.validation.skip>true</manifest.validation.skip>
		<product.version>3.13.4</product.version>
	</properties>
</project>