| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF 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.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>7</version> |
| </parent> |
| |
| <groupId>org.apache.whirr</groupId> |
| <artifactId>whirr</artifactId> |
| <version>0.4.0-incubating</version> |
| <packaging>pom</packaging> |
| |
| <name>Whirr</name> |
| <description>Libraries for running cloud services</description> |
| <url>http://incubator.apache.org/whirr</url> |
| <inceptionYear>2010</inceptionYear> |
| |
| <modules> |
| <module>build-tools</module> |
| <module>cli</module> |
| <module>core</module> |
| <module>services/cassandra</module> |
| <module>services/cdh</module> |
| <module>services/hadoop</module> |
| <module>services/zookeeper</module> |
| <module>services/hbase</module> |
| </modules> |
| |
| <properties> |
| <jclouds.version>1.0-beta-9b</jclouds.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>ca.juliusdavies</groupId> |
| <artifactId>not-yet-commons-ssl</artifactId> |
| <version>0.3.11</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-core</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-compute</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.driver</groupId> |
| <artifactId>jclouds-jsch</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.driver</groupId> |
| <artifactId>jclouds-log4j</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <!-- Supported cloud providers. When adding a dependency here |
| be sure to add a corresponding LICENSE file in lib. --> |
| <dependency> |
| <groupId>org.jclouds.provider</groupId> |
| <artifactId>aws-ec2</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.provider</groupId> |
| <artifactId>cloudservers-us</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds.provider</groupId> |
| <artifactId>cloudservers-uk</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| <!-- End supported cloud providers. --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>1.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.8.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-configuration</groupId> |
| <artifactId>commons-configuration</artifactId> |
| <version>1.6</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.6.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.6.0</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.16</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jdmk</groupId> |
| <artifactId>jmxtools</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jmx</groupId> |
| <artifactId>jmxri</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>0.1.44-1</version> |
| </dependency> |
| <dependency> |
| <groupId>dnsjava</groupId> |
| <artifactId>dnsjava</artifactId> |
| <version>2.0.8</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> |
| <!-- Plugins in alphabetical order: by group then artifact --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-5</version> |
| <configuration> |
| <appendAssemblyId>false</appendAssemblyId> |
| <tarLongFileFormat>gnu</tarLongFileFormat> |
| <descriptors> |
| <descriptor>build-tools/src/assemble-bin.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <failsOnError>true</failsOnError> |
| <excludes>**/org/jclouds/aws/ec2/compute/functions/RunningInstanceToNodeMetadata.java</excludes> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.whirr</groupId> |
| <artifactId>whirr-build-tools</artifactId> |
| <version>0.4.0-incubating</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <id>enforce-java</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireMavenVersion> |
| <version>[2.2.1,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <excludePackageNames>org.jclouds.*</excludePackageNames> |
| </configuration> |
| <executions> |
| <execution> |
| <id>aggregate</id> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| <phase>site</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>process</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <resourceBundles> |
| <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle> |
| </resourceBundles> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/integration/*Test.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <!-- mvn apache-rat:check - runs RAT check on the source --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.6</version> |
| <configuration> |
| <excludes> |
| <exclude>**/BUILD.txt</exclude> |
| <exclude>**/CHANGES.txt</exclude> |
| <exclude>**/DISCLAIMER.txt</exclude> |
| <exclude>**/.svn/**</exclude> |
| <exclude>.git/**</exclude> |
| <exclude>.gitignore</exclude> |
| <exclude>**/*.json</exclude> |
| <exclude>**/*.confluence</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/META-INF/services/*</exclude> |
| <exclude>**/target/**</exclude> |
| <exclude>lib/*LICENSE*</exclude> |
| <exclude>**/src/main/resources/version-banner.txt</exclude> |
| <exclude>docs/**</exclude> |
| <exclude>**/*.log</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pdf-plugin</artifactId> |
| <version>1.1</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-module-confluence</artifactId> |
| <version>1.1.3</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>2.1.1</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.doxia</groupId> |
| <artifactId>doxia-module-confluence</artifactId> |
| <version>1.1.3</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <configLocation>checkstyle.xml</configLocation> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.2</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>modules</report> |
| <report>project-team</report> |
| <report>mailing-list</report> |
| <report>issue-tracking</report> |
| <report>license</report> |
| <!-- for now |
| <report>dependencies</report> |
| <report>cim</report> |
| <report>scm</report> |
| --> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <developers> |
| <developer> |
| <id>apurtell</id> |
| <name>Andrew Purtell</name> |
| <organization>Trend Micro</organization> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>cutting</id> |
| <organization>Cloudera</organization> |
| <name>Doug Cutting</name> |
| <roles> |
| <role>mentor</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>johan</id> |
| <name>Johan Oskarsson</name> |
| <organization>Twitter</organization> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>larsgeorge</id> |
| <name>Lars George</name> |
| <organization>Cloudera</organization> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>phunt</id> |
| <name>Patrick Hunt</name> |
| <organization>Cloudera</organization> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>stevel</id> |
| <name>Steve Loughran</name> |
| <organization>HP Labs</organization> |
| <roles> |
| <role>mentor</role> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>tomwhite</id> |
| <name>Tom White</name> |
| <organization>Cloudera</organization> |
| <roles> |
| <role>mentor</role> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>asavu</id> |
| <name>Andrei Savu</name> |
| <organization></organization> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>adriancole</id> |
| <name>Adrian Cole</name> |
| <organization>Cloud Conscious</organization> |
| <roles> |
| <role>committer</role> |
| </roles> |
| </developer> |
| </developers> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://issues.apache.org/jira/browse/WHIRR</url> |
| </issueManagement> |
| <mailingLists> |
| <mailingList> |
| <name>Users</name> |
| <post>whirr-user@incubator.apache.org</post> |
| <subscribe>whirr-user-subscribe@incubator.apache.org</subscribe> |
| <unsubscribe>whirr-user-unsubscribe@incubator.apache.org</unsubscribe> |
| <archive>http://mail-archives.apache.org/mod_mbox/incubator-whirr-user/</archive> |
| <!-- |
| <otherArchives> |
| <otherArchive>http://whirr-user.917769.n3.nabble.com/</otherArchive> |
| </otherArchives> |
| --> |
| </mailingList> |
| <mailingList> |
| <name>Development</name> |
| <post>whirr-dev@incubator.apache.org</post> |
| <subscribe>whirr-dev-subscribe@incubator.apache.org</subscribe> |
| <unsubscribe>whirr-dev-unsubscribe@incubator.apache.org</unsubscribe> |
| <archive>http://mail-archives.apache.org/mod_mbox/incubator-whirr-dev/</archive> |
| <!-- |
| <otherArchives> |
| <otherArchive>http://whirr-dev.917766.n3.nabble.com/</otherArchive> |
| </otherArchives> |
| --> |
| </mailingList> |
| <mailingList> |
| <name>Commits</name> |
| <post>whirr-commits@incubator.apache.org</post> |
| <subscribe>whirr-commits-subscribe@incubator.apache.org</subscribe> |
| <unsubscribe>whirr-commits-unsubscribe@incubator.apache.org</unsubscribe> |
| <archive>http://mail-archives.apache.org/mod_mbox/incubator-whirr-commits/</archive> |
| </mailingList> |
| </mailingLists> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/whirr/trunk/</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/whirr/trunk/</developerConnection> |
| <url>http://svn.apache.org/viewvc/incubator/whirr/trunk/</url> |
| </scm> |
| <repositories> |
| <repository> |
| <id>apache.snapshots</id> |
| <name>Apache Snapshot Repository</name> |
| <url>http://repository.apache.org/snapshots</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>cloudera</id> |
| <url>https://repository.cloudera.com/content/repositories/releases/</url> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>apache-snapshots</id> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| </pluginRepository> |
| </pluginRepositories> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scpexe://people.apache.org/www/incubator.apache.org/whirr</url> |
| </site> |
| </distributionManagement> |
| <profiles> |
| <profile> |
| <!-- Used only when cutting a full release. Configures the deploy plugin to mark |
| each artifact as a release (especially important for the archetype). Signs each |
| file deployed (it actually signs way too many files and we have to clean up a bit |
| once deployed). --> |
| <id>deploy</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <update-release-info>true</update-release-info> |
| <!-- Don't re-run tests as part of the deploy build. |
| Note we use skipTests, not maven.test.skip, since the latter skips |
| compilation too and we want to deploy tests. --> |
| <skipTests>true</skipTests> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Only bind Javadoc JARs when the javadoc profile is active, since it is slow. --> |
| <id>javadoc</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <excludePackageNames>org.jclouds.*</excludePackageNames> |
| </configuration> |
| <executions> |
| <execution> |
| <id>aggregate</id> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| <phase>site</phase> |
| </execution> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <!-- Run integration tests against real cloud providers. --> |
| <id>integration</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <includes> |
| <include>**/integration/*Test.java</include> |
| </includes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <!-- Build the source distribution. This is written as a profile |
| since it doesn't work in child modules. --> |
| <id>package</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-5</version> |
| <configuration> |
| <descriptors> |
| <descriptor>build-tools/src/assemble-src.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <executions> |
| <execution> |
| <id>dist-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <appendAssemblyId>true</appendAssemblyId> |
| <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| <tarLongFileFormat>gnu</tarLongFileFormat> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |