<?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.zeroturnaround</groupId>
    <artifactId>javarebel-integration</artifactId>
    <packaging>jar</packaging>
    <version>2.0.1</version>
    <name>JavaRebel Integration</name>
    <repositories>
        <repository>
            <id>zt-repo</id>
            <url>http://repos.zeroturnaround.com/maven2</url>
            <snapshots>
              <enabled>true</enabled>
              <updatePolicy>always</updatePolicy>
            </snapshots>            
        </repository>    
        <repository>
            <id>ibiblio</id>
            <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
        </repository>
    </repositories>      
    <distributionManagement>
        <repository>
            <id>zt-repo</id>
            <name>Zero turnaround repo</name>
            <url>dav:http://repos.zeroturnaround.com/maven2</url>
            <layout>default</layout>
        </repository>
    </distributionManagement>
    <build>
        <sourceDirectory>src</sourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifestEntries>
                            <JavaRebel-Plugin>org.zeroturnaround.javarebel.integration.spring.IntegrationPlugin</JavaRebel-Plugin>
                        </manifestEntries>

                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
    <dependencies>
    	<dependency>
    		<groupId>org.zeroturnaround</groupId>
    		<artifactId>javarebel-sdk</artifactId>
    		<version>2.0.1</version>
    	</dependency>
    	<dependency>
    		<groupId>org.zeroturnaround</groupId>
    		<artifactId>javarebel-utils</artifactId>
    		<version>2.0.1</version>
    		<type>jar</type>
    		<scope>compile</scope>
    	</dependency>
    	<dependency>
    		<groupId>javax.servlet</groupId>
    		<artifactId>servlet-api</artifactId>
    		<version>2.4</version>
    		<type>jar</type>
    		<scope>provided</scope>
    	</dependency>
    </dependencies>
  
</project>
