cloudadapters.root
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>cloudadapters.root</artifactId>
<version>2.0.1</version>
</dependency><?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/maven-v4_0_0.xsd">
<!-- Usage: As per the general contract of Maven builds a full build that
compiles, runs tests, packages and installs build artifacts (jar files) in
the local Maven repository can be executed via: mvn clean install. To generate
a project site with various reports use the Maven site plugin: mvn clean
install && mvn site && mvn site:stage -DstagingDirectory=<devsite> See the
Maven site plugin for more details: http://maven.apache.org/plugins/maven-site-plugin/usage.html -->
<modelVersion>4.0.0</modelVersion>
<groupId>com.elastisys.scale</groupId>
<artifactId>cloudadapters.root</artifactId>
<version>2.0.1</version>
<name>elastisys:scale :: cloudadapters :: root</name>
<description>Java-based elastisys:scale cloud adapter implementations.</description>
<packaging>pom</packaging>
<url>http://www.elastisys.com</url>
<organization>
<name>elastisys</name>
<url>http://www.elastisys.com</url>
</organization>
<inceptionYear>2011</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<modules>
<module>api</module>
<module>commons</module>
<module>aws</module>
<module>openstack</module>
<module>splitter</module>
</modules>
<!-- Location of Git repository. Used to tag releases. -->
<scm>
<developerConnection>scm:git:https://github.com/elastisys/scale.cloudadapters.git</developerConnection>
<tag>2.0.1</tag>
<url>https://github.com/elastisys/scale.cloudadapters</url>
</scm>
<properties>
<!-- Instructs text processing plugins in inheriting projects to use
UTF-8 source file encoding. -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Required JDK version -->
<java.version>1.7</java.version>
<!-- scale.commons version to use -->
<commons.version>2.0.1</commons.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Dependency (version) management declarations are imported from
the commons project. -->
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.root</artifactId>
<version>${commons.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.net</artifactId>
<version>${commons.version}</version>
</dependency>
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.json</artifactId>
<version>${commons.version}</version>
</dependency>
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.rest</artifactId>
<version>${commons.version}</version>
</dependency>
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.server</artifactId>
<version>${commons.version}</version>
</dependency>
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.util</artifactId>
<version>${commons.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- Unit tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<!-- Needed to make Cobertura work with Java7 -->
<!-- (see http://stackoverflow.com/questions/7010665/testng-emma-cobertura-coverage-and-jdk-7-result-in-classformaterror-and-verif) -->
<argLine>-XX:-UseSplitVerifier</argLine>
</configuration>
</plugin>
<!-- Compile byte code compatible with the targeted Java version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<!-- Enforce Java version -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[${java.version},)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!-- UTF-8 encoding of resource files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<dependencies>
<!-- make sure project-specific checkstyle rules are picked up -->
<dependency>
<groupId>com.elastisys.scale</groupId>
<artifactId>commons.buildtools</artifactId>
<version>${commons.version}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>checkstyle/checkstyle-rules.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
<!-- Reporting plugins configured for the site generation -->
<reportPlugins>
<!-- generates various reports for the project site -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<configuration>
</configuration>
<reportSets>
<reportSet>
<!-- the reports to generate -->
<reports>
<report>index</report>
<report>project-team</report>
<report>dependency-management</report>
<report>dependency-info</report>
<report>issue-tracking</report>
<report>modules</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- javadoc generation plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<quiet>true</quiet>
<source>1.7</source>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
</links>
</configuration>
</plugin>
<!-- Java cross-reference plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>
<!-- test result report generation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.16</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
<!-- reports test coverage of unit tests -->
<!-- Note: cobertura doesn't work with Java7, unless -XX:-UseSplitVerifier
is given as JVM argument to surefire test plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<!-- unfortuantely, aggregate reports don't seem to work
<aggregate>true</aggregate> -->
<formats>
<format>xml</format>
<format>html</format>
</formats>
</configuration>
</plugin>
<!-- -->
<!-- warns when project style conventions are violated -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
<configuration>
<!-- make sure project-specific checkstyle rules are picked
up from the buildtools module -->
<configLocation>checkstyle/checkstyle-rules.xml</configLocation>
</configuration>
</plugin>
<!-- reports on suspected bug patterns -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<!-- PMD source code analyzer -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0.1</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<!-- Git tag should only be project version, e.g. "1.0.1" -->
<tagNameFormat>@{project.version}</tagNameFormat>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<!-- Configure maven-jar-plugin. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<!-- Configure maven-war-plugin. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<!-- Deploys a jar artifact with classifier 'classes' alongside
war artifact. Can be referenced as a dependency by other projects. -->
<attachClasses>true</attachClasses>
<classesClassifier>classes</classesClassifier>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<!-- Plugins that are only included in release builds -->
<plugins>
<!-- Attach sources to published Maven artifacts -->
<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>
<!-- Attach javadocs to published Maven artifacts -->
<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>
<!-- Sign published Maven artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<issueManagement>
<system>GitHub Issue Management</system>
<url>https://github.com/elastisys/scale.cloudadapters/issues</url>
</issueManagement>
<developers>
<developer>
<id>peterg</id>
<name>Peter Gardfjäll</name>
<email>peter.gardfjall@elastisys.com</email>
<url>http://elastisys.com/</url>
<organization>Elastisys AB</organization>
<organizationUrl>http://elastisys.com/</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>larsson</id>
<name>Lars Larsson</name>
<email>lars.larsson@elastisys.com</email>
<url>http://elastisys.com/</url>
<organization>Elastisys AB</organization>
<organizationUrl>http://elastisys.com/</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<!-- Destination repositories for releases (Sonatype's OSS Repository Hosting).
Note: for releases to succeed, proper server credentials for the repository
server need to be added to the ~/.m2/settings.xml file of the user performing
the release. The ~/.m2/settings.xml file also needs to contain GPG signing
credenials. For more details, see http://central.sonatype.org/pages/apache-maven.html. -->
<distributionManagement>
<!-- release repo -->
<repository>
<id>oss-repo</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<!-- snapshot repo -->
<snapshotRepository>
<id>oss-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<!-- The URL to which the project site is deployed when running mvn site:deploy.
See http://maven.apache.org/plugins/maven-site-plugin/usage.html -->
<site>
<id>development.site</id>
<url>file:///scratch/devsite/scale.cloudadapters</url>
</site>
</distributionManagement>
</project>