Parents pom distribution 58/458/1
authorGiovanni Meo <gmeo@cisco.com>
Tue, 11 Jun 2013 12:49:10 +0000 (14:49 +0200)
committerGiovanni Meo <gmeo@cisco.com>
Tue, 11 Jun 2013 12:49:10 +0000 (14:49 +0200)
- Introduced a distribution that gather all the parents module and
allow for their deployment in one shot rather in multiple single calls
as done right now by jenkins

Change-Id: I11c485c2d50e7de69cea7a8091cd0e62068a3641
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
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>