<?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">
  <parent>
    <artifactId>jboss-parent</artifactId>
    <groupId>org.jboss</groupId>
    <version>19</version>
    <relativePath>../pom.xml/pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jboss.set</groupId>
  <artifactId>assistant</artifactId>
  <name>assistant</name>
  <version>0.1.Final</version>
  <description>A shared component to define customized work flow rule and logic to deal with GitHub Pull Request, Jira and Bugzilla issues</description>
  <licenses>
    <license>
      <name>GNU General Lesser Public License (LGPL) version 3.0</name>
      <url>http://www.gnu.org/licenses/lgpl-3.0.html</url>
      <distribution>repo</distribution>
      <comments>Source's header state LGPL but no version, hence v3 is assumed here.</comments>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git://github.com/jboss-set/assistant.git</connection>
    <developerConnection>scm:git:git@github.com:jboss-set/assistant.git</developerConnection>
    <tag>assistant-0.1.Final</tag>
    <url>https://github.com/jboss-set/assistant</url>
  </scm>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <executions>
            <execution>
              <id>check-style</id>
              <phase>compile</phase>
              <goals>
                <goal>checkstyle</goal>
              </goals>
            </execution>
          </executions>
          <dependencies>
            <dependency>
              <groupId>com.puppycrawl.tools</groupId>
              <artifactId>checkstyle</artifactId>
              <version>${version.checkstyle}</version>
              <exclusions>
                <exclusion>
                  <artifactId>tools</artifactId>
                  <groupId>com.sun</groupId>
                </exclusion>
              </exclusions>
            </dependency>
            <dependency>
              <groupId>org.wildfly.checkstyle</groupId>
              <artifactId>wildfly-checkstyle-config</artifactId>
              <version>${org.wildfly.checkstyle-config.version}</version>
            </dependency>
          </dependencies>
          <configuration>
            <configLocation>wildfly-checkstyle/checkstyle.xml</configLocation>
            <consoleOutput>true</consoleOutput>
            <failsOnError>true</failsOnError>
            <useFile />
            <linkXRef>false</linkXRef>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <executions>
            <execution>
              <id>default-test</id>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>org.jboss.pull.processor.Main</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
      <id>jboss-product-repository</id>
      <name>JBoss Internal Product Repository</name>
      <url>http://download.lab.bos.redhat.com/brewroot/repos/jb-eap-6-rhel-6-build/latest/maven/</url>
    </repository>
  </repositories>
  <properties>
    <commons.beanutils.version>1.9.2</commons.beanutils.version>
    <junit.version>4.12</junit.version>
    <org.wildfly.checkstyle-config.version>1.0.4.Final</org.wildfly.checkstyle-config.version>
    <com.google.guava.version>18.0</com.google.guava.version>
    <org.mockito.version>1.10.19</org.mockito.version>
    <maven.compiler.target>1.8</maven.compiler.target>
    <jdk.min.version>1.8</jdk.min.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <commons.logging.version>1.1.3</commons.logging.version>
    <version.org.jboss.set.aphrodite>0.4.3.Final</version.org.jboss.set.aphrodite>
    <javax.json.version>1.0.4</javax.json.version>
    <maven.compiler.source>1.8</maven.compiler.source>
    <checkstyle.plugin.version>2.11</checkstyle.plugin.version>
  </properties>
</project>

