Merge "Parents pom distribution"
authorEd Warnicke <eaw@cisco.com>
Fri, 14 Jun 2013 18:53:08 +0000 (18:53 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 14 Jun 2013 18:53:08 +0000 (18:53 +0000)
opendaylight/distribution/parents/README [new file with mode: 0644]
opendaylight/distribution/parents/pom.xml [new file with mode: 0644]

diff --git a/opendaylight/distribution/parents/README b/opendaylight/distribution/parents/README
new file mode 100644 (file)
index 0000000..3d6e356
--- /dev/null
@@ -0,0 +1,14 @@
+OVERVIEW
+========
+This distribution is built to allow to deploy all the commons parents
+in one shot. This is needed because the way how maven works when a
+"mvn deploy" is called on a multi-module project, only the modules
+that are listed in there are deployed. All the opendaylight modules
+has a parent, those parents module will not be deployed when deploying
+a distribution hence if someone tries to compile a module without
+compiling the whole system it will run in missing parent errors.
+To address the issue this distribution will collect all the known
+parents and deploy them in one shot.
+
+The user of this distribution is one of the Jenkins jobs and not
+developers.
diff --git a/opendaylight/distribution/parents/pom.xml b/opendaylight/distribution/parents/pom.xml
new file mode 100644 (file)
index 0000000..5387717
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <prerequisites>
+    <maven>3.0</maven>
+  </prerequisites>
+
+  <parent>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>commons.opendaylight</artifactId>
+    <version>1.4.0-SNAPSHOT</version>
+    <relativePath>../../commons/opendaylight</relativePath>
+  </parent>
+  <artifactId>distribution.parents</artifactId>
+  <version>0.1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <modules>
+    <module>../../commons/concepts</module>
+    <module>../../commons/integrationtest</module>
+    <module>../../commons/opendaylight</module>
+    <module>../../../third-party/commons/thirdparty</module>
+  </modules>
+</project>