| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to jclouds, Inc. (jclouds) under one or more |
| contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. jclouds licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.sonatype.oss</groupId> |
| <artifactId>oss-parent</artifactId> |
| <version>4</version> |
| </parent> |
| <groupId>org.jclouds.chef</groupId> |
| <artifactId>chef-parent</artifactId> |
| <version>1.5.1</version> |
| <packaging>pom</packaging> |
| <name>JClouds Chef :: Parent POM</name> |
| <description>JClouds Chef Parent POM for Maven configuration</description> |
| <licenses> |
| <license> |
| <name>Apache License</name> |
| <url>../resources/LICENSE.txt</url> |
| </license> |
| </licenses> |
| <organization> |
| <name>jclouds</name> |
| <url>http://www.jclouds.org/</url> |
| </organization> |
| <properties> |
| <maven.compile.source>1.6</maven.compile.source> |
| <maven.compile.target>1.6</maven.compile.target> |
| </properties> |
| <scm> |
| <connection>scm:git:git://github.com/jclouds/jclouds-chef.git</connection> |
| <developerConnection>scm:git:ssh://git@github.com/jclouds/jclouds-chef.git</developerConnection> |
| <url>http://github.com/jclouds/jclouds-chef</url> |
| <tag>jclouds-chef-1.5.1</tag> |
| </scm> |
| <repositories> |
| <repository> |
| <id>sonatype-nexus-snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| <repository> |
| <id>clojars</id> |
| <url>http://clojars.org/repo/</url> |
| </repository> |
| </repositories> |
| <dependencies> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymockclassextension</artifactId> |
| <version>3.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>6.5.2</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.3.1</version> |
| <configuration> |
| <releaseProfiles>doc</releaseProfiles> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.12</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <finalName>${project.artifactId}</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.3</version> |
| <executions> |
| <execution> |
| <id>process-remote-resources</id> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| <configuration> |
| <resourceBundles> |
| <resourceBundle>org.jclouds:jclouds-resources:${project.version}</resourceBundle> |
| </resourceBundles> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <source>${maven.compile.source}</source> |
| <target>${maven.compile.target}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Specification-Title>jclouds ${project.name}</Specification-Title> |
| <Specification-Vendor>jclouds</Specification-Vendor> |
| <Implementation-Vendor>jclouds</Implementation-Vendor> |
| <Implementation-Vendor-Id>org.jclouds</Implementation-Vendor-Id> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK> |
| <X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <obrRepository>NONE</obrRepository> |
| <instructions> |
| <Bundle-Activator>${jclouds.osgi.activator}</Bundle-Activator> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Export-Package>${jclouds.osgi.export}</Export-Package> |
| <Import-Package>${jclouds.osgi.import}</Import-Package> |
| <DynamicImport-Package>${jclouds.osgi.dynamic}</DynamicImport-Package> |
| <Fragment-Host>${jclouds.osgi.fragment}</Fragment-Host> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <argLine>-Xmx512m -Xms256m -Djava.awt.headless=true -XX:MaxPermSize=256m -Xss256k</argLine> |
| <groups>integration</groups> |
| <excludedGroups>unit,performance,live</excludedGroups> |
| <properties> |
| <property> |
| <name>suitename</name> |
| <value>Integration Tests</value> |
| </property> |
| </properties> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <parallel>methods</parallel> |
| <threadCount>5</threadCount> |
| <groups>unit,performance</groups> |
| <excludedGroups>integration,live</excludedGroups> |
| <properties> |
| <property> |
| <name>suitename</name> |
| <value>Unit and Performance Tests</value> |
| </property> |
| </properties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <!-- modifies the plugin config inherited from oss-parent --> |
| <profile> |
| <id>sonatype-release-profile-extension</id> |
| <activation> |
| <property> |
| <name>performRelease</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <configuration> |
| <executable>${gpg.command}</executable> |
| <passphrase>${gpg.passphrase}</passphrase> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>live</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <groups>live,integration</groups> |
| <excludedGroups>unit,performance</excludedGroups> |
| <properties> |
| <property> |
| <name>suitename</name> |
| <value>Live Integration Tests</value> |
| </property> |
| </properties> |
| <systemProperties> |
| <!-- |
| If you're behind a proxy, set this here |
| http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html |
| |
| <property> |
| <name>https.proxyHost</name> |
| <value>proxy</value> |
| </property> |
| <property> |
| <name>https.proxyPort</name> |
| <value>port</value> |
| </property> |
| <property> |
| <name>https.noProxyHosts</name> |
| <value>localhost|10.150.4.49</value> |
| </property> |
| --> |
| <property> |
| <name>file.encoding</name> |
| <value>${project.build.sourceEncoding}</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>chef-project</id> |
| <activation> |
| <file> |
| <!-- only in the jclouds-project module --> |
| <exists>src/etc/header.txt</exists> |
| </file> |
| </activation> |
| <!-- Maven generates incorrect links without the <site> declaration here --> |
| <distributionManagement> |
| <site> |
| <id>jclouds-github-pages-site</id> |
| <url>${maven.site.url.base}/${project.version}/${project.artifactId}</url> |
| </site> |
| </distributionManagement> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.3</version> |
| <executions> |
| <execution> |
| <id>process-remote-resources</id> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>doc</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.8.1</version> |
| <executions> |
| <execution> |
| <id>javadoc</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |