<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">
  
  <parent>
    <groupId>org.jboss</groupId>
    <artifactId>jboss-parent</artifactId>
    <version>5-beta-5</version>
  </parent>
  
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jboss.maven.plugins</groupId>
  <artifactId>maven-buildmagic-thirdparty-plugin</artifactId>
  <packaging>maven-plugin</packaging>
  <name>JBoss Buildmagic Thirdparty Repository Maven Plugin</name>
  <version>2.2.1.Final</version>
  <description>
    Plugin for deploying artifacts to JBoss ant/buildmagic repository, and building a thirdparty directory
    from dependencies in a maven repository.
  </description>
  
  <url>http://www.jboss.org/maven-buildmagic-thirdparty-plugin/</url>
  <scm>
    <connection>scm:svn:http://anonsvn.jboss.org/repos/maven/plugins/jboss/trunk/maven-buildmagic-thirdparty-plugin</connection>
    <developerConnection>scm:svn:https://svn.jboss.org/repos/maven/plugins/jboss/trunk/maven-buildmagic-thirdparty-plugin</developerConnection>
  </scm>
  <inceptionYear>2007</inceptionYear>
  <issueManagement>
    <system>jira</system>
    <url>http://jira.jboss.org/jira/browse/JBBUILD</url>
  </issueManagement>
  
  <developers>
    <developer>
      <id>pgier</id>
      <name>Paul Gier</name>
      <organization>JBoss, a division of Red Hat, Inc</organization>
      <timezone>-5</timezone>
    </developer>
  </developers>
  
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-7</version>
        <configuration>
          <tagBase>https://svn.jboss.org/repos/maven/plugins/jboss/tags</tagBase>
        </configuration>
      </plugin>
    </plugins>
  </build>
  
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.4</version>
        <configuration>
          <minmemory>128m</minmemory>
          <maxmemory>512</maxmemory>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>2.4.1</version>
      </plugin>
    </plugins>
  </reporting>

  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>${maven.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <version>${maven.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <version>${maven.version}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <version>${maven.version}</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>1.5.5</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
  <profiles>
    <profile>
      <id>run-its</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-invoker-plugin</artifactId>
            <version>1.3</version>
            <executions>
              <execution>
                <id>integration-test</id>
                <phase>integration-test</phase>
                <goals>
                  <goal>install</goal>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <goals>
                    <goal>clean</goal>
                    <goal>package</goal>
                  </goals>
                  <projectsDirectory>src/it</projectsDirectory>
                  <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
                  <pomIncludes>
                    <pomInclude>${pom.includes}</pomInclude>
                  </pomIncludes>
                  <postBuildHookScript>verify.bsh</postBuildHookScript>
                  <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  
  <distributionManagement>
    <site>
      <id>www.jboss.org</id>
      <name>www.jboss.org</name>
      <!-- This should be set to a local checkout of the jboss.org/jbossretro freezone. -->
      <url>file://${maven.buildmagic.thirdparty.plugin.site.root}</url>
    </site>
  </distributionManagement>
  
  <properties>
    <pom.includes>*/pom.xml</pom.includes>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.version>2.0.10</maven.version>
  </properties>
</project>
