You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ab...@apache.org on 2013/07/21 23:46:01 UTC
git commit: Separates parent and top level pom. Ensures jclouds
dependencies use parent version.
https://issues.apache.org/jira/browse/JCLOUDS-104
Updated Branches:
refs/heads/master 56f9869dd -> bb56570cb
Separates parent and top level pom.
Ensures jclouds dependencies use parent version.
https://issues.apache.org/jira/browse/JCLOUDS-104
Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/commit/bb56570c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/tree/bb56570c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/diff/bb56570c
Branch: refs/heads/master
Commit: bb56570cb0d48b7cc56e2f029d32aecc777ebc72
Parents: 56f9869
Author: zack-shoylev <za...@rackspace.com>
Authored: Thu Jul 18 20:47:16 2013 -0500
Committer: Andrew Bayer <an...@gmail.com>
Committed: Sun Jul 21 14:45:52 2013 -0700
----------------------------------------------------------------------
assembly/pom.xml | 12 +-
branding/pom.xml | 3 +-
jclouds-cli-project/pom.xml | 240 +++++++++++++++++++++++++++++++++++++++
pom.xml | 145 ++---------------------
runner/pom.xml | 8 +-
5 files changed, 257 insertions(+), 151 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/bb56570c/assembly/pom.xml
----------------------------------------------------------------------
diff --git a/assembly/pom.xml b/assembly/pom.xml
index c6ec2d0..7fa114a 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -21,8 +21,9 @@
<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>
- <artifactId>jclouds-cli</artifactId>
<groupId>org.apache.jclouds.cli</groupId>
+ <artifactId>jclouds-cli-project</artifactId>
+ <relativePath>../jclouds-cli-project</relativePath>
<version>1.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -36,23 +37,21 @@
<dependency>
<groupId>org.apache.jclouds.cli</groupId>
<artifactId>branding</artifactId>
- <version>${project.version}</version>
+ <version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds.cli</groupId>
<artifactId>runner</artifactId>
- <version>${project.version}</version>
+ <version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.karaf</groupId>
<artifactId>apache-karaf</artifactId>
- <version>${karaf.version}</version>
<type>tar.gz</type>
</dependency>
<dependency>
<groupId>org.apache.karaf</groupId>
<artifactId>apache-karaf</artifactId>
- <version>${karaf.version}</version>
<type>zip</type>
</dependency>
@@ -60,19 +59,16 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
- <version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/bb56570c/branding/pom.xml
----------------------------------------------------------------------
diff --git a/branding/pom.xml b/branding/pom.xml
index 53bf03f..4e6692e 100644
--- a/branding/pom.xml
+++ b/branding/pom.xml
@@ -20,8 +20,9 @@
<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>
- <artifactId>jclouds-cli</artifactId>
<groupId>org.apache.jclouds.cli</groupId>
+ <artifactId>jclouds-cli-project</artifactId>
+ <relativePath>../jclouds-cli-project</relativePath>
<version>1.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/bb56570c/jclouds-cli-project/pom.xml
----------------------------------------------------------------------
diff --git a/jclouds-cli-project/pom.xml b/jclouds-cli-project/pom.xml
new file mode 100644
index 0000000..1ad6bac
--- /dev/null
+++ b/jclouds-cli-project/pom.xml
@@ -0,0 +1,240 @@
+<?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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.jclouds</groupId>
+ <artifactId>jclouds-project</artifactId>
+ <version>1.7.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.jclouds.cli</groupId>
+ <artifactId>jclouds-cli-project</artifactId>
+ <packaging>pom</packaging>
+ <!-- VERSION same as parent -->
+ <name>Apache jclouds :: cli</name>
+
+ <url>http://jclouds.incubator.apache.org</url>
+ <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>
+
+ <scm>
+ <connection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli.git</connection>
+ <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli.git</developerConnection>
+ <url>https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds-cli.git</url>
+ <tag>HEAD</tag>
+ </scm>
+
+ <developers>
+ <developer>
+ <id>iocanel</id>
+ <name>Ioannis Canellos</name>
+ <email>iocanel@gmail.com</email>
+ <url>http://iocanel.blogspot.com</url>
+ </developer>
+ <developer>
+ <id>abayer</id>
+ <name>Andew Bayer</name>
+ <email>abayer@apache.org</email>
+ <url>http://andrewbayer.com</url>
+ </developer>
+ </developers>
+
+ <properties>
+ <!-- Karaf Version Dependencies -->
+ <karaf.version>2.2.7</karaf.version>
+ <pax.url.version>1.2.8</pax.url.version>
+ <pax.logging.version>1.6.5</pax.logging.version>
+ <felix.configadmin.version>1.2.8</felix.configadmin.version>
+ <aries.util.version>0.3</aries.util.version>
+ <aries.proxy.version>0.3</aries.proxy.version>
+ <aries.blueprint.version>0.3.1</aries.blueprint.version>
+ <aries.jmx.version>0.3</aries.jmx.version>
+ <asm.bundle.version>3.3.1_1</asm.bundle.version>
+ <felix.fileinstall.version>3.2.2</felix.fileinstall.version>
+ <jclouds.karaf.version>${project.parent.version}</jclouds.karaf.version>
+ <jclouds.version>${project.parent.version}</jclouds.version>
+ <log4j.version>1.2.17</log4j.version>
+ <slf4j.version>1.6.6</slf4j.version>
+ <!-- Plugin Versions -->
+ <maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
+ <maven-assembly-plugin.version>2.2.1</maven-assembly-plugin.version>
+ <maven-bundle-plugin.version>2.1.0</maven-bundle-plugin.version>
+ <maven-compiler-plugin.version>2.0.2</maven-compiler-plugin.version>
+ <maven-release-plugin.version>2.4</maven-release-plugin.version>
+ <maven-resources-plugin.version>2.4.2</maven-resources-plugin.version>
+ <build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
+
+ <sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
+
+ <!-- Skip the duplicate finder. Note that otherwise maven will fail building -->
+ <skipDuplicateFinder>true</skipDuplicateFinder>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.karaf.shell</groupId>
+ <artifactId>org.apache.karaf.shell.console</artifactId>
+ <version>${karaf.version}</version>
+ </dependency>
+ <!-- NOTE, jclouds dependencies are not managed from here -->
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>apache-karaf</artifactId>
+ <version>${karaf.version}</version>
+ <type>tar.gz</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.karaf</groupId>
+ <artifactId>apache-karaf</artifactId>
+ <version>${karaf.version}</version>
+ <type>zip</type>
+ </dependency>
+ <!-- External Logging Dependencies -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>${slf4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${slf4j.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.8</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludes>
+
+ <!-- prevent duplicating license -->
+ <exclude>**/LICENSE.txt</exclude>
+ <exclude>**/header.txt</exclude>
+
+ <!-- high-level project metadata -->
+ <exclude>**/NOTICE.txt</exclude>
+ <exclude>**/DISCLAIMER</exclude>
+ <exclude>**/BUILD.txt</exclude>
+ <exclude>**/CHANGES.txt</exclude>
+ <exclude>**/README.md</exclude>
+ <exclude>**/README.txt</exclude>
+ <exclude>**/DEPENDENCIES</exclude>
+
+ <exclude>.git/**</exclude>
+ <exclude>**/.gitignore</exclude>
+ <exclude>**/*.json</exclude>
+ <exclude>**/*.log*</exclude>
+ <exclude>**/TODO</exclude>
+ <exclude>.mailmap</exclude>
+ <exclude>.idea/**</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.settings/**</exclude>
+ <exclude>**/.checkstyle</exclude>
+ <exclude>**/target/**</exclude>
+ <exclude>.repository/**</exclude>
+ <!-- binary -->
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>${maven-bundle-plugin.version}</version>
+ <extensions>true</extensions>
+ <inherited>true</inherited>
+ <configuration>
+ <instructions>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-SymbolicName>org.apache.jclouds.cli.${project.artifactId}</Bundle-SymbolicName>
+ <Export-Package>${osgi.export}</Export-Package>
+ <Import-Package>${osgi.import}</Import-Package>
+ <DynamicImport-Package>${osgi.dynamic.import}</DynamicImport-Package>
+ <Private-Package>${osgi.private}</Private-Package>
+ <Require-Bundle>${osgi.bundles}</Require-Bundle>
+ <Bundle-Activator>${osgi.activator}</Bundle-Activator>
+ </instructions>
+ <supportedProjectTypes>
+ <supportedProjectType>jar</supportedProjectType>
+ <supportedProjectType>war</supportedProjectType>
+ <supportedProjectType>bundle</supportedProjectType>
+ </supportedProjectTypes>
+ <unpackBundle>true</unpackBundle>
+ </configuration>
+ <executions>
+ <execution>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>${maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>${maven-release-plugin.version}</version>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <goals>deploy</goals>
+ <arguments>-Pdoc -Papache-release ${arguments}</arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/bb56570c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c23dd9f..1fa0dc5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
+ Licensed to the A"runner/pom.xml"pache 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
@@ -19,11 +19,11 @@
-->
<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">
<modelVersion>4.0.0</modelVersion>
-
<parent>
- <groupId>org.apache</groupId>
- <artifactId>apache</artifactId>
- <version>13</version>
+ <groupId>org.apache.jclouds.cli</groupId>
+ <artifactId>jclouds-cli-project</artifactId>
+ <relativePath>jclouds-cli-project</relativePath>
+ <version>1.7.0-SNAPSHOT</version>
</parent>
<groupId>org.apache.jclouds.cli</groupId>
@@ -67,140 +67,9 @@
<module>branding</module>
<module>assembly</module>
<module>runner</module>
+ <module>jclouds-cli-project</module>
</modules>
-
- <properties>
- <!-- Karaf Version Dependencies -->
- <karaf.version>2.2.7</karaf.version>
- <pax.url.version>1.2.8</pax.url.version>
- <pax.logging.version>1.6.5</pax.logging.version>
- <felix.configadmin.version>1.2.8</felix.configadmin.version>
- <aries.util.version>0.3</aries.util.version>
- <aries.proxy.version>0.3</aries.proxy.version>
- <aries.blueprint.version>0.3.1</aries.blueprint.version>
- <aries.jmx.version>0.3</aries.jmx.version>
- <asm.bundle.version>3.3.1_1</asm.bundle.version>
- <felix.fileinstall.version>3.2.2</felix.fileinstall.version>
- <jclouds.karaf.version>${project.version}</jclouds.karaf.version>
- <jclouds.version>${project.version}</jclouds.version>
- <log4j.version>1.2.17</log4j.version>
- <slf4j.version>1.6.6</slf4j.version>
- <!-- Plugin Versions -->
- <maven-antrun-plugin.version>1.7</maven-antrun-plugin.version>
- <maven-assembly-plugin.version>2.2.1</maven-assembly-plugin.version>
- <maven-bundle-plugin.version>2.1.0</maven-bundle-plugin.version>
- <maven-compiler-plugin.version>2.0.2</maven-compiler-plugin.version>
- <maven-release-plugin.version>2.4</maven-release-plugin.version>
- <maven-resources-plugin.version>2.4.2</maven-resources-plugin.version>
- <build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
-
- <sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.8</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <excludes>
-
- <!-- prevent duplicating license -->
- <exclude>**/LICENSE.txt</exclude>
- <exclude>**/header.txt</exclude>
-
- <!-- high-level project metadata -->
- <exclude>**/NOTICE.txt</exclude>
- <exclude>**/DISCLAIMER</exclude>
- <exclude>**/BUILD.txt</exclude>
- <exclude>**/CHANGES.txt</exclude>
- <exclude>**/README.md</exclude>
- <exclude>**/README.txt</exclude>
- <exclude>**/DEPENDENCIES</exclude>
-
- <exclude>.git/**</exclude>
- <exclude>**/.gitignore</exclude>
- <exclude>**/*.json</exclude>
- <exclude>**/*.log*</exclude>
- <exclude>**/TODO</exclude>
- <exclude>.mailmap</exclude>
- <exclude>.idea/**</exclude>
- <exclude>**/*.iml</exclude>
- <exclude>**/.project</exclude>
- <exclude>**/.classpath</exclude>
- <exclude>**/.settings/**</exclude>
- <exclude>**/.checkstyle</exclude>
- <exclude>**/target/**</exclude>
- <exclude>.repository/**</exclude>
- <!-- binary -->
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>${maven-bundle-plugin.version}</version>
- <extensions>true</extensions>
- <inherited>true</inherited>
- <configuration>
- <instructions>
- <Bundle-Name>${project.name}</Bundle-Name>
- <Bundle-SymbolicName>org.apache.jclouds.cli.${project.artifactId}</Bundle-SymbolicName>
- <Export-Package>${osgi.export}</Export-Package>
- <Import-Package>${osgi.import}</Import-Package>
- <DynamicImport-Package>${osgi.dynamic.import}</DynamicImport-Package>
- <Private-Package>${osgi.private}</Private-Package>
- <Require-Bundle>${osgi.bundles}</Require-Bundle>
- <Bundle-Activator>${osgi.activator}</Bundle-Activator>
- </instructions>
- <supportedProjectTypes>
- <supportedProjectType>jar</supportedProjectType>
- <supportedProjectType>war</supportedProjectType>
- <supportedProjectType>bundle</supportedProjectType>
- </supportedProjectTypes>
- <unpackBundle>true</unpackBundle>
- </configuration>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>process-classes</phase>
- <goals>
- <goal>manifest</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>${maven-release-plugin.version}</version>
- <configuration>
- <useReleaseProfile>false</useReleaseProfile>
- <goals>deploy</goals>
- <arguments>-Pdoc -Papache-release ${arguments}</arguments>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+
<repositories>
<repository>
<id>apache-snapshots</id>
http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/bb56570c/runner/pom.xml
----------------------------------------------------------------------
diff --git a/runner/pom.xml b/runner/pom.xml
index de052e0..f0b7971 100644
--- a/runner/pom.xml
+++ b/runner/pom.xml
@@ -20,8 +20,9 @@
<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>
- <artifactId>jclouds-cli</artifactId>
<groupId>org.apache.jclouds.cli</groupId>
+ <artifactId>jclouds-cli-project</artifactId>
+ <relativePath>../jclouds-cli-project</relativePath>
<version>1.7.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -35,19 +36,18 @@
<dependency>
<groupId>org.apache.karaf.shell</groupId>
<artifactId>org.apache.karaf.shell.console</artifactId>
- <version>${karaf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds</groupId>
<artifactId>jclouds-blobstore</artifactId>
- <version>${jclouds.karaf.version}</version>
+ <version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jclouds</groupId>
<artifactId>jclouds-core</artifactId>
- <version>${jclouds.karaf.version}</version>
+ <version>${project.parent.version}</version>
</dependency>
</dependencies>