text: <?xml version="1.0" encoding="UTF-8"?>
  <project xmlns="http://maven.apache.org/POM/4.0.0"
  	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
  	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  
  	<modelVersion>4.0.0</modelVersion>
  
  	<parent>
          <groupId>org.hyperic.hq.plugin</groupId>
          <artifactId>modules</artifactId>
         <version>5.8.6</version>
      </parent>
  
  	<groupId>org.hyperic.hq.plugin</groupId>
  	<artifactId>cloudfoundry-plugin</artifactId>
  	<packaging>jar</packaging>
  	<name>Hyperic HQ Plugin - Cloud Foundry Plugin</name>
  	<version>5.8.6</version>
  
  	<properties>
  		<hq.version>5.8.6</hq.version>
  	        <hqapi.version>6.0.0</hqapi.version>
  		<json.version>20080701</json.version>
  		<spring.framework.version>3.0.5.RELEASE</spring.framework.version>
  		<sigar.version>1.6.6.13</sigar.version>
  		<junit.version>4.6</junit.version>
  		<surefire.version>2.8</surefire.version>
  	</properties>
  
  	<dependencies>
  		<!-- Hyperic -->
  		    <!-- inhetited from modules parent 
  		<dependency>
  			<groupId>org.hyperic.hq</groupId>
  			<artifactId>hq-pdk</artifactId>
  			<version>${project.version}</version>
  		</dependency>
  		-->
  		<dependency>
  			<groupId>org.hyperic.hq.agent</groupId>
  			<artifactId>hq-agent-core</artifactId>
  			<version>${project.version}</version>
  		</dependency>
          <dependency>
              <groupId>org.hyperic.hq.hqapi</groupId>
              <artifactId>hqapi1</artifactId>
              <version>${hqapi.version}</version>
              <scope>compile</scope>
          </dependency>
  	    <!-- inhetited from hq-parent 
  		<dependency>
  			<groupId>org.json</groupId>
  			<artifactId>json</artifactId>
  			<version>${json.version}</version>
  		</dependency>
  		-->
  		
  		<!-- Cloud Foundry -->
  		<dependency>
  			<groupId>org.cloudfoundry</groupId>
  			<artifactId>cloudfoundry-client-lib</artifactId>
  			<version>0.7.0.CI-SNAPSHOT</version>
  		</dependency>
  		<dependency>
  			<groupId>org.springframework</groupId>
  			<artifactId>spring-web</artifactId>
  			<version>${spring.framework.version}</version>
  		</dependency>
  		<dependency>
      		<groupId>org.codehaus.jackson</groupId>
      		<artifactId>jackson-core-asl</artifactId>
      		<version>1.6.2</version>
  		</dependency>
  		<dependency>
      		<groupId>org.codehaus.jackson</groupId>
      		<artifactId>jackson-mapper-asl</artifactId>
      		<version>1.6.2</version>
  		</dependency>		
  	</dependencies>
  
  	<build>
  		<plugins>
  		<plugin>
                          <groupId>org.codehaus.mojo</groupId>
                          <artifactId>animal-sniffer-maven-plugin</artifactId>
                          <executions>
                              <execution>
                                  <goals>
                                      <goal>check</goal>
                                  </goals>
                              <configuration>
                                  <signature>
                                      <groupId>org.codehaus.mojo.signature</groupId>
                                      <artifactId>java15-sun</artifactId>
                                      <version>1.0</version>
                                  </signature>
                              </configuration>
                          </execution>
                          </executions>
                 </plugin>
  			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-compiler-plugin</artifactId>
  				<configuration>
  					<source>1.5</source>
  					<target>1.5</target>
  					<maxmem>256m</maxmem>
  					<fork>true</fork>
  				</configuration>
  			</plugin>
  			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-source-plugin</artifactId>
  				<configuration>
  					<attach>true</attach>
  				</configuration>
  				<executions>
  					<execution>
  						<id>attach-sources</id>
  						<phase>verify</phase>
  						<goals>
  							<goal>jar</goal>
  						</goals>
  					</execution>
  				</executions>
  			</plugin>
  			<plugin>
  				<artifactId>maven-jar-plugin</artifactId>
  				<configuration>
  					<archive>
  						<manifest>
  							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  						</manifest>
  						<manifestEntries>
  							<Specification-Title>HQ Plugin</Specification-Title>
  							<Build-Date>${build.timestamp}</Build-Date>
  						</manifestEntries>
  					</archive>
  				</configuration>
  			</plugin>
  			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-dependency-plugin</artifactId>
  				<executions>
  					<execution>
  						<id>copy-dependencies</id>
  						<phase>compile</phase>
  						<goals>
  							<goal>copy-dependencies</goal>
  						</goals>
  						<configuration>
  							<includeGroupIds>org.cloudfoundry,org.springframework,org.codehaus.jackson,org.json</includeGroupIds>
  							<outputDirectory>${project.build.directory}/classes/lib</outputDirectory>
  						</configuration>
  					</execution>
  					<execution>
  						<id>unpack-sigar</id>
  						<goals>
  							<goal>unpack-dependencies</goal>
  						</goals>
  						<phase>generate-test-resources</phase>
  						<configuration>
  							<outputDirectory>${project.build.directory}/generated-test-resources</outputDirectory>
  							<includeGroupIds>org.hyperic</includeGroupIds>
  							<includeArtifactIds>sigar</includeArtifactIds>
  							<excludeTransitive>true</excludeTransitive>
  							<includeTypes>zip</includeTypes>
  							<stripVersion>true</stripVersion>
  						</configuration>
  					</execution>
  				</executions>
  			</plugin>
  			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-surefire-plugin</artifactId>
  				<version>${surefire.version}</version>
  				<executions>
  					<execution>
  						<phase>test</phase>
  						<goals>
  							<goal>test</goal>
  						</goals>
  					</execution>
  				</executions>
  				<configuration>
  					<useFile>false</useFile>
  					<excludes>
  						<exclude>**/testSuite/*.java</exclude>
  						<exclude>**/integration/*.java</exclude>
  					</excludes>
  					<includes>
  						<include>**/unit/*.java</include>
  					</includes>
  					<junitArtifactName>junit:junit</junitArtifactName>
  					<parallel>classes</parallel>
  				</configuration>
  			</plugin>
  			<plugin>
  				<groupId>org.codehaus.mojo</groupId>
  				<artifactId>exec-maven-plugin</artifactId>
  				<executions>
  					<execution>
  						<id>validate-plugin-xml</id>
  						<goals>
  							<goal>java</goal>
  						</goals>
  						<phase>process-resources</phase>
  					</execution>
  				</executions>
  				<configuration>
  					<mainClass>org.hyperic.hq.product.validation.PluginXmlValidator</mainClass>
  					<arguments>
  						<argument>${basedir}</argument>
  					</arguments>
  				</configuration>
  			</plugin>
  			<plugin>
  				<artifactId>maven-resources-plugin</artifactId>
  				<version>2.5</version>
  				<executions>
  					<execution>
  						<id>copy-resources</id>
  						<phase>compile</phase>
  						<goals>
  							<goal>copy-resources</goal>
  						</goals>
  						<configuration>
  							<useDefaultDelimiters>false</useDefaultDelimiters>
  							<delimiters>
    									<delimiter>@</delimiter>
  							</delimiters>
  							<outputDirectory>${basedir}/target/classes</outputDirectory>
  							<resources>
        								<resource>
          								<directory>src/main/resources</directory>
          								<filtering>true</filtering>
          								<includes>
            									<include>**/*.xml</include>
          								</includes>
        								</resource>
        								<resource>
          								<directory>src/main/resources</directory>
          								<filtering>false</filtering>
          								<excludes>
            									<exclude>**/*.xml</exclude>
          								</excludes>
        								</resource>
      						</resources>
  						</configuration>
  					</execution>
  				</executions>
  			</plugin>
  			<plugin>
  				<groupId>com.atlassian.maven.plugins</groupId>
  				<artifactId>maven-clover2-plugin</artifactId>
  				<version>2.6.3</version>
  				<configuration>
  					<skip>true</skip>
  				</configuration>
  			</plugin>
  		</plugins>
  		<testResources>
  			<testResource>
  				<directory>src/test/resources</directory>
  			</testResource>
  			<testResource>
  				<directory>${project.build.directory}/generated-test-resources</directory>
  			</testResource>
  		</testResources>
  	</build>
  
  	<repositories>
  		<repository>
  			<id>hyperic-snapshot</id>
  			<name>Hyperic Snapshot Repository</name>
  			<url>http://maven.hyperic.org/snapshot</url>
  			<snapshots>
  				<enabled>true</enabled>
  			</snapshots>
  		</repository>
  		<repository>
  			<id>hyperic-milestone</id>
  			<name>Hyperic Milestone Repository</name>
  			<url>http://maven.hyperic.org/milestone</url>
  			<snapshots>
  				<enabled>false</enabled>
  			</snapshots>
  		</repository>
  		<repository>
  			<id>hyperic-release</id>
  			<name>Hyperic Release Repository</name>
  			<url>http://maven.hyperic.org/release</url>
  			<snapshots>
  				<enabled>false</enabled>
  			</snapshots>
  		</repository>
  		<repository>
  			<id>hqapi-release</id>
  			<name>HQApi Release Repository</name>
  			<url>http://maven.hyperic.org/hqapi/release</url>
  			<snapshots>
  				<enabled>false</enabled>
  			</snapshots>
  		</repository>
  	</repositories>
  
  	<distributionManagement>
  		<repository>
  			<id>hyperic-milestone-private</id>
  			<name>Private Hyperic Milestone Repository</name>
  			<url>s3://private.maven.hyperic.com/milestone</url>
  		</repository>
  		<snapshotRepository>
  			<id>hyperic-snapshot-private</id>
  			<name>Private Hyperic Snapshot Repository</name>
  			<url>s3://private.maven.hyperic.com/snapshot</url>
  		</snapshotRepository>
  	</distributionManagement>
  
  	<scm>
  		<developerConnection>scm:git:https://github.com/hyperic/hq.git</developerConnection>
  		<url>https://fisheye.springsource.org/browse/hq</url>
  	</scm>
  
  </project>
  