From: Devin Avery Date: Thu, 28 Aug 2014 18:59:05 +0000 (-0400) Subject: Bug 1876 - Added missing parent tag to pom files X-Git-Tag: release/helium~34^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=a8fbf141b5d374d7a1f0a0f568a7058518c95965 Bug 1876 - Added missing parent tag to pom files Some pom files were missing the parent tag even though they were still referenced from a parent pom file in terms of building. By adding a logical parent pom reference in we are able to inherit properties, specifically the distributionManagement tag (which should not be defined in every tag pom). Change-Id: I812bb3377bdb3a74ccded4d73639b465ffcc688c Signed-off-by: Devin Avery --- diff --git a/opendaylight/archetypes/opendaylight-karaf-distro-archetype/pom.xml b/opendaylight/archetypes/opendaylight-karaf-distro-archetype/pom.xml index 8883c64295..9081ce797b 100644 --- a/opendaylight/archetypes/opendaylight-karaf-distro-archetype/pom.xml +++ b/opendaylight/archetypes/opendaylight-karaf-distro-archetype/pom.xml @@ -1,7 +1,11 @@ 4.0.0 - + + org.opendaylight.controller.archetypes + archetypes-parent + 0.1.1-SNAPSHOT + org.opendaylight.controller opendaylight-karaf-distro-archetype 1.0.0-SNAPSHOT diff --git a/opendaylight/archetypes/opendaylight-karaf-features/pom.xml b/opendaylight/archetypes/opendaylight-karaf-features/pom.xml index 4973a69537..264402a3b1 100644 --- a/opendaylight/archetypes/opendaylight-karaf-features/pom.xml +++ b/opendaylight/archetypes/opendaylight-karaf-features/pom.xml @@ -2,6 +2,11 @@ 4.0.0 + + org.opendaylight.controller.archetypes + archetypes-parent + 0.1.1-SNAPSHOT + org.opendaylight.controller opendaylight-karaf-features-archetype 1.0.0-SNAPSHOT diff --git a/opendaylight/karaf-branding/pom.xml b/opendaylight/karaf-branding/pom.xml index 727f224fa1..444e77057a 100644 --- a/opendaylight/karaf-branding/pom.xml +++ b/opendaylight/karaf-branding/pom.xml @@ -2,7 +2,12 @@ 4.0.0 - + + org.opendaylight.controller + releasepom + 0.1.2-SNAPSHOT + ../.. + org.opendaylight.controller karaf.branding 1.0.0-SNAPSHOT diff --git a/opendaylight/md-sal/samples/l2switch/pom.xml b/opendaylight/md-sal/samples/l2switch/pom.xml index 2e2100b287..e0a51a8e3c 100644 --- a/opendaylight/md-sal/samples/l2switch/pom.xml +++ b/opendaylight/md-sal/samples/l2switch/pom.xml @@ -4,6 +4,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + org.opendaylight.controller.samples + sal-samples + 1.1-SNAPSHOT + l2switch.aggregator org.opendaylight.controller.samples.l2switch