<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">
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.pacesys</groupId>
	<artifactId>openstack4j-parent</artifactId>
	<version>2.0.0</version>
	<name>OpenStack4j Parent</name>
	<description>OpenStack Java API</description>
	<url>http://github.com/gondor/openstack4j/</url>
	<packaging>pom</packaging>
	<properties>
		<release.version>2.0.0</release.version>
	</properties>
	<licenses>
		<license>
			<name>MIT License</name>
			<url>http://opensource.org/licenses/MIT</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<developers>
		<developer>
			<name>Jeremy Unruh</name>
			<url>http://www.pacesys.org</url>
		</developer>
	</developers>
	<scm>
		<connection>scm:git:git@github.com:gondor/openstack4j.git</connection>
		<developerConnection>scm:git:git@github.com:gondor/openstack4j.git</developerConnection>
		<url>http://github.com/gondor/openstack4j/</url>
	  <tag>HEAD</tag>
  </scm>
	<mailingLists>
		<mailingList>
			<name>OpenStack4j List</name>
			<archive>http://groups.google.com/group/openstack4j/topics</archive>
			<subscribe>http://groups.google.com/group/openstack4j/subscribe</subscribe>
			<unsubscribe>http://groups.google.com/group/openstack4j/subscribe</unsubscribe>
			<post>http://groups.google.com/group/openstack4j/post</post>
		</mailingList>
	</mailingLists>
	<modules>
		<module>core</module>
		<module>core-test</module>
		<module>connectors</module>
		<module>plugins</module>
		<module>distribution</module>
	</modules>

	<dependencies>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>17.0</version>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>2.4.1.3</version>
		</dependency>
		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<version>2.0.0</version>
		</dependency>
	</dependencies>

	<build>
		<finalName>openstack4j</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.0</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.5</version>
				<configuration>
					<finalName>${project.artifactId}-${release.version}</finalName>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.9</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<phase>verify</phase>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5</version><!--$NO-MVN-MAN-VER$ -->
				<configuration>
					<autoVersionSubmodules>true</autoVersionSubmodules>
					<useReleaseProfile>true</useReleaseProfile>
					<pushChanges>false</pushChanges>
					<releaseProfiles>release</releaseProfiles>
					<goals>deploy</goals>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<configuration>
					<author>true</author>
					<protected>true</protected>
					<excludePackageNames>*.internal</excludePackageNames>
					<reportOutputDirectory>docs</reportOutputDirectory>
					<destDir>javadoc</destDir>
				</configuration>
			</plugin>
		</plugins>
	</reporting>
	
	<dependencyManagement>
	<dependencies>
	<dependency>
			<groupId>org.testng</groupId>
			<artifactId>testng</artifactId>
			<version>6.8</version>
			<scope>test</scope>
			<exclusions>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
    </dependencies>
	</dependencyManagement>
	<profiles>
	    <profile>
	      <id>release</id>
	      <build>
	        <plugins>
				<plugin>
				          <groupId>org.apache.maven.plugins</groupId>
				          <artifactId>maven-deploy-plugin</artifactId>
				          <version>2.8.2</version>
				        </plugin>
	          <plugin>
	            <groupId>org.apache.maven.plugins</groupId>
	            <artifactId>maven-gpg-plugin</artifactId>
	            <version>1.4</version>
	            <executions>
	              <execution>
	                <id>sign-artifacts-for-release</id>
	                <phase>verify</phase>
	                <goals>
	                  <goal>sign</goal>
	                </goals>
	              </execution>
	            </executions>
	          </plugin>
			<plugin>
									<groupId>org.apache.maven.plugins</groupId>
									<artifactId>maven-source-plugin</artifactId>
									<version>2.4</version>
									<executions>
										<execution>
											<id>attach-sources-for-release</id>
											<phase>package</phase>
											<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>
	      </build>
	    </profile>
	</profiles>
</project>
