<?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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<artifactId>jboss-parent</artifactId>
		<groupId>org.jboss</groupId>
		<version>16</version>
		<relativePath />
	</parent>

	<groupId>org.jboss.jbossset</groupId>
	<artifactId>pull-shared</artifactId>
    <version>0.5.2.Final</version>
	<packaging>jar</packaging>
	<name>Pull Shared</name>
    <description>A simple Java API to Bugzilla, wrapped around the XML-RPC API</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>1.6</maven.compiler.source>
		<maven.compiler.target>1.6</maven.compiler.target>

		<!-- Dependency versions, please keep alphabetically -->
		<checkstyle.plugin.version>2.11</checkstyle.plugin.version>
		<jira.rest.client.version>1.0</jira.rest.client.version>
		<mockito.version>1.9.5</mockito.version>
		<org.eclipse.egit.github.core.version>2.1.2</org.eclipse.egit.github.core.version>
		<testng.version>6.8.7</testng.version>
		<xmlrpc-client.version>3.1.3</xmlrpc-client.version>

		<!-- Plugin versions -->
		<org.wildfly.wildfly.build.config.version>8.0.0.Final</org.wildfly.wildfly.build.config.version>
	</properties>


  <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/pull-shared.git</connection>
	<developerConnection>scm:git:git@github.com:jboss-set/pull-shared.git</developerConnection>
	<url>https://github.com/jboss-set/pull-shared</url>
	<tag>pull-shared-0.5.2.Final</tag>
  </scm>

  <developers>
    <developer>
      <id>rpelisse</id>
      <name>Romain Pelisse</name>
      <organization>Red Hat</organization>
      <email>belaran@redhat.com</email>
      <timezone>Germany/Berlin</timezone>
    </developer>
    <developer>
      <id>ewertz</id>
      <name>Joe Wertz</name>
      <organization>Red Hat</organization>
      <email>ewertz@redhat.com</email>
      <timezone>China/Shanghai</timezone>
    </developer>
  </developers>

  <build>
      <plugins>
	    <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-checkstyle-plugin</artifactId>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.9.1</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-checkstyle-plugin</artifactId>
					<version>${checkstyle.plugin.version}</version>
					<configuration>
						<configLocation>jboss-as-checkstyle/checkstyle.xml</configLocation>
						<consoleOutput>true</consoleOutput>
						<failsOnError>true</failsOnError>
						<useFile />
					</configuration>
					<dependencies>
						<dependency>
							<groupId>org.wildfly</groupId>
							<artifactId>wildfly-build-config</artifactId>
							<version>${org.wildfly.wildfly.build.config.version}</version>
						</dependency>
					</dependencies>
					<executions>
						<execution>
							<id>check-style</id>
							<phase>compile</phase>
							<goals>
								<goal>checkstyle</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<executions>
						<execution>
							<id>default-test</id> <!-- to override default configuration - in fact: unit tests -->
							<configuration>
								<excludedGroups>connection</excludedGroups>
							</configuration>
						</execution>
					</executions>
                </plugin>
              </plugins>
		</pluginManagement>
	</build>

	<dependencies>
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.9</version>
		</dependency>
		<dependency>
			<groupId>org.eclipse.mylyn.github</groupId>
			<artifactId>org.eclipse.egit.github.core</artifactId>
			<version>${org.eclipse.egit.github.core.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.xmlrpc</groupId>
			<artifactId>xmlrpc-client</artifactId>
			<version>${xmlrpc-client.version}</version>
		</dependency>
		<dependency>
			<groupId>com.sun.jersey</groupId>
			<artifactId>jersey-json</artifactId>
			<version>1.5</version>
		</dependency>
		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-rest-java-client</artifactId>
			<version>${jira.rest.client.version}</version>
		</dependency>

		<!-- Test dependencies -->
		<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>${testng.version}</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<version>${mockito.version}</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

	<repositories>
		<repository>
			<id>repository.engineering.redhat.com</id>
			<name>Repository Engineering Redhat</name>
			<url>https://repository.engineering.redhat.com/nexus/content/groups/eng-ops-public/</url>
			<layout>default</layout>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</snapshots>
		</repository>

		<!-- Atlassian public repo for the Jira client -->
		<repository>
			<id>atlassian-public</id>
			<url>https://maven.atlassian.com/repository/public</url>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
				<checksumPolicy>warn</checksumPolicy>
			</snapshots>
			<releases>
				<enabled>true</enabled>
				<checksumPolicy>warn</checksumPolicy>
			</releases>
		</repository>
	</repositories>

</project>
