From: Lorand Jakab Date: Wed, 17 Jun 2015 10:11:25 +0000 (+0300) Subject: Move config-parent to aggregator POM X-Git-Tag: release/beryllium~158 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=2db07de26eeffc09496cffa9ecd9c6ebb6419a15;p=lispflowmapping.git Move config-parent to aggregator POM More then one project in the mappingservice/ directory is hanging off config-parent. This commit defines it as a parent in the aggregator POM mappingservice/pom.xml, so that common configration for all projects, like checkstyle and coverage can live in a single place. Change-Id: I9e04b707ca0dbdac756bdd212ebc55bc869ee802 Signed-off-by: Lorand Jakab --- diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 799d0df65..12b76c9bf 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -7,12 +7,13 @@ terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html --> - 4.0.0 + org.opendaylight.lispflowmapping lispflowmapping-artifacts 1.3.0-SNAPSHOT pom + LISP Flow Mapping Artifacts diff --git a/commons/build_tools/pom.xml b/commons/build_tools/pom.xml index e916da852..4e4273dd7 100644 --- a/commons/build_tools/pom.xml +++ b/commons/build_tools/pom.xml @@ -1,13 +1,16 @@ 4.0.0 + org.opendaylight.lispflowmapping lispflowmapping-commons 1.3.0-SNAPSHOT ../parent + common.build.tools jar Build Tools + diff --git a/commons/parent/pom.xml b/commons/parent/pom.xml index 83442fdd6..fb5bc6122 100644 --- a/commons/parent/pom.xml +++ b/commons/parent/pom.xml @@ -24,7 +24,6 @@ 1.3.0-SNAPSHOT pom Parent POM - 1.2.0-SNAPSHOT @@ -83,11 +82,6 @@ jmock-legacy 2.6.0 - - org.opendaylight.controller - clustering.services - 0.7.0-SNAPSHOT - org.opendaylight.controller config-api @@ -103,13 +97,6 @@ config-util 0.4.0-SNAPSHOT - org.opendaylight.controller features-mdsal @@ -157,11 +144,6 @@ netty-event-executor-config ${config.version} - - org.opendaylight.neutron - neutron-spi - 0.6.0-SNAPSHOT - org.opendaylight.controller opendaylight-karaf-empty @@ -174,11 +156,6 @@ opendaylight-karaf-resources ${karaf.resources.version} - - org.opendaylight.controller - sal - 0.10.0-SNAPSHOT - org.opendaylight.controller sal-binding-api diff --git a/commons/unittest_tools/pom.xml b/commons/unittest_tools/pom.xml index d89d9e2de..c7cf9f3f9 100644 --- a/commons/unittest_tools/pom.xml +++ b/commons/unittest_tools/pom.xml @@ -1,15 +1,17 @@ 4.0.0 + org.opendaylight.lispflowmapping lispflowmapping-commons 1.3.0-SNAPSHOT ../parent + common.unittest.tools - jar Unit Test Tools + equinoxSDK381 @@ -27,7 +29,6 @@ org.hamcrest hamcrest-core - org.jmock jmock-junit4 @@ -40,6 +41,5 @@ org.slf4j slf4j-api - diff --git a/mappingservice/api/pom.xml b/mappingservice/api/pom.xml index f94085f7d..9f30d7d2a 100644 --- a/mappingservice/api/pom.xml +++ b/mappingservice/api/pom.xml @@ -1,19 +1,20 @@ 4.0.0 + org.opendaylight.lispflowmapping mappingservice-parent 1.3.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice.api + 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Public APIs + Mapping Service Public APIs + - - org.opendaylight.controller - sal - org.opendaylight.controller sal-binding-api @@ -27,6 +28,7 @@ mappingservice.yangmodel + diff --git a/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/ILispDAO.java b/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/ILispDAO.java index 82a38da83..1bc7d1541 100644 --- a/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/ILispDAO.java +++ b/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/dao/ILispDAO.java @@ -46,11 +46,15 @@ public interface ILispDAO { * Enumerate all the entries from the DAO * * @param visitor + * The visitor object. */ public void getAll(IRowVisitor visitor); /** * Remove an entry from the DAO + * + * @param key + * The key of the entry to delete */ public void remove(Object key); diff --git a/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/lisp/IGeneralMapServer.java b/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/lisp/IGeneralMapServer.java index 3941b31e6..13ccdeefc 100644 --- a/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/lisp/IGeneralMapServer.java +++ b/mappingservice/api/src/main/java/org/opendaylight/lispflowmapping/interfaces/lisp/IGeneralMapServer.java @@ -32,8 +32,8 @@ public interface IGeneralMapServer { /** * This method returns the authentication key of the address. * - * @param address - * @param maskLen + * @param address EID to look up + * @param maskLen EID mask length * @return The correct key. */ String getAuthenticationKey(LispAddressContainer address, int maskLen); @@ -47,19 +47,17 @@ public interface IGeneralMapServer { /** * This method removes the given authentication key from the map server. * - * @param address - * @param maskLen - * @return + * @param address EID to remove + * @param maskLen EID mask length */ void removeAuthenticationKey(LispAddressContainer address, int maskLen); /** * This method adds an authentication key to the address. * - * @param address - * @param maskLen - * @param key - * @return + * @param address EID to add + * @param maskLen EID mask length + * @param key Value of the key for the EID */ void addAuthenticationKey(LispAddressContainer address, int maskLen, String key); } diff --git a/mappingservice/clusterdao/pom.xml b/mappingservice/clusterdao/pom.xml index 7772c9e97..be5b9b42a 100644 --- a/mappingservice/clusterdao/pom.xml +++ b/mappingservice/clusterdao/pom.xml @@ -1,15 +1,28 @@ 4.0.0 + org.opendaylight.lispflowmapping mappingservice-parent 1.3.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice.clusterdao + 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Cluster DAO + Mapping Service Cluster DAO + + + ${project.groupId} + mappingservice.api + + + org.apache.felix + org.apache.felix.dependencymanager + equinoxSDK381 org.eclipse.osgi @@ -17,12 +30,10 @@ org.opendaylight.controller clustering.services - - - org.opendaylight.lispflowmapping - mappingservice.api + 0.7.0-SNAPSHOT + diff --git a/mappingservice/config/pom.xml b/mappingservice/config/pom.xml index 77f929e3d..23b90ceda 100644 --- a/mappingservice/config/pom.xml +++ b/mappingservice/config/pom.xml @@ -1,14 +1,19 @@ 4.0.0 + org.opendaylight.lispflowmapping mappingservice-parent 1.3.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice.config + 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Config Subsystem + Mapping Service Config Subsystem + org.opendaylight.controller @@ -41,20 +46,6 @@ org.opendaylight.yangtools yang-maven-plugin - 0.8.0-SNAPSHOT - - - org.opendaylight.controller - yang-jmx-generator-plugin - 0.4.0-SNAPSHOT - - - org.opendaylight.yangtools - maven-sal-api-gen-plugin - 0.8.0-SNAPSHOT - jar - - @@ -117,10 +108,6 @@ - - org.opendaylight.yangtools - yang-maven-plugin - diff --git a/mappingservice/implementation/pom.xml b/mappingservice/implementation/pom.xml index dc943b0bf..e95989541 100644 --- a/mappingservice/implementation/pom.xml +++ b/mappingservice/implementation/pom.xml @@ -3,24 +3,18 @@ 4.0.0 - org.opendaylight.controller - config-parent - 0.4.0-SNAPSHOT - + org.opendaylight.lispflowmapping + mappingservice-parent + 1.3.0-SNAPSHOT - mappingservice.implementation org.opendaylight.lispflowmapping + mappingservice.implementation 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Implementation + Mapping Service Implementation - - ${project.groupId} - common.unittest.tools - ${project.version} - ${project.groupId} mappingservice.api @@ -32,43 +26,16 @@ ${project.version} - + - equinoxSDK381 - org.eclipse.osgi + org.apache.felix + org.apache.felix.dependencymanager - - - org.hamcrest - hamcrest-core - - - org.hamcrest - hamcrest-core - test - - - junit - junit - - - junit-addons - junit-addons - 1.4 - test - - - org.jmock - jmock-junit4 - 2.6.0 - test - + - org.jmock - jmock-legacy - 2.6.0 - test + equinoxSDK381 + org.eclipse.osgi diff --git a/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/util/LispAFIConvertor.java b/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/util/LispAFIConvertor.java index 4c9b607e2..07feb3dc3 100644 --- a/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/util/LispAFIConvertor.java +++ b/mappingservice/implementation/src/main/java/org/opendaylight/lispflowmapping/implementation/util/LispAFIConvertor.java @@ -10,24 +10,18 @@ package org.opendaylight.lispflowmapping.implementation.util; import java.net.Inet4Address; import java.net.Inet6Address; import java.net.InetAddress; -import java.util.List; import org.opendaylight.lispflowmapping.type.AddressFamilyNumberEnum; import org.opendaylight.lispflowmapping.type.LispCanonicalAddressFormatEnum; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.LispAFIAddress; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lcafkeyvalueaddress.KeyBuilder; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lcafkeyvalueaddress.ValueBuilder; -import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lcaflistaddress.Addresses; -import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lcaftrafficengineeringaddress.Hops; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.LispAddressContainer; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.LispAddressContainerBuilder; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.Address; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.address.ipv6.Ipv6AddressBuilder; -import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.address.lcafapplicationdata.LcafApplicationDataAddr; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.address.lcafkeyvalue.LcafKeyValueAddressAddr; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.address.lcafkeyvalue.LcafKeyValueAddressAddrBuilder; -import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.address.lcafsourcedest.LcafSourceDestAddr; -//import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispaddress.lispaddresscontainer.address.distinguishedname.DistinguishedName; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispsimpleaddress.PrimitiveAddress; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispsimpleaddress.primitiveaddress.DistinguishedNameBuilder; import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.control.plane.rev150314.lispsimpleaddress.primitiveaddress.Ipv4Builder; diff --git a/mappingservice/integrationtest/pom.xml b/mappingservice/integrationtest/pom.xml index 49cc781d6..8312886a5 100644 --- a/mappingservice/integrationtest/pom.xml +++ b/mappingservice/integrationtest/pom.xml @@ -1,16 +1,19 @@ 4.0.0 + org.opendaylight.controller commons.integrationtest 0.7.0-SNAPSHOT - + + org.opendaylight.lispflowmapping mappingservice.integrationtest - LISP Flow Mapping Integration Tests 1.3.0-SNAPSHOT + Mapping Service Integration Tests + 3.0.0 target/jacoco-it.exec @@ -21,6 +24,7 @@ 1.3.0-SNAPSHOT 1.5.0 + ch.qos.logback @@ -30,27 +34,22 @@ ch.qos.logback logback-core - com.fasterxml.jackson.core jackson-annotations - com.fasterxml.jackson.core jackson-core - com.fasterxml.jackson.core jackson-databind - com.fasterxml.jackson.jaxrs jackson-jaxrs-base - com.fasterxml.jackson.jaxrs jackson-jaxrs-json-provider @@ -271,12 +270,10 @@ org.apache.felix org.apache.felix.fileinstall - org.codehaus.enunciate enunciate-core-annotations - org.codehaus.jettison jettison @@ -293,7 +290,6 @@ org.opendaylight.controller bundlescanner - org.opendaylight.controller bundlescanner.implementation @@ -411,7 +407,6 @@ org.opendaylight.controller netconf-util - org.opendaylight.controller protocol-framework @@ -424,7 +419,6 @@ org.opendaylight.controller sal - org.opendaylight.controller sal-binding-api @@ -453,7 +447,6 @@ org.opendaylight.controller sal-common-api - org.opendaylight.controller sal-common-util @@ -553,7 +546,6 @@ mappingservice.yangmodel ${lispflowmapping.version} - org.opendaylight.yangtools mockito-configuration @@ -716,10 +708,10 @@ test + - org.eclipse.m2e lifecycle-mapping diff --git a/mappingservice/netconf/pom.xml b/mappingservice/netconf/pom.xml index a71e2324e..8067237da 100644 --- a/mappingservice/netconf/pom.xml +++ b/mappingservice/netconf/pom.xml @@ -1,14 +1,18 @@ 4.0.0 + org.opendaylight.lispflowmapping mappingservice-parent 1.3.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice.netconf + 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Netconf Connector + Mapping Service NETCONF Connector @@ -83,14 +87,13 @@ org.osgi org.osgi.core - org.opendaylight.yangtools mockito-configuration test - + @@ -105,28 +108,9 @@ - org.opendaylight.yangtools yang-maven-plugin - - - org.opendaylight.controller - yang-jmx-generator-plugin - ${config.version} - - - org.opendaylight.yangtools - maven-sal-api-gen-plugin - ${yangtools.version} - jar - - - org.osgi - org.osgi.core - ${osgi.core.version} - - diff --git a/mappingservice/neutron/pom.xml b/mappingservice/neutron/pom.xml index 721f2fa0b..7d53a0872 100644 --- a/mappingservice/neutron/pom.xml +++ b/mappingservice/neutron/pom.xml @@ -1,14 +1,19 @@ 4.0.0 + org.opendaylight.lispflowmapping mappingservice-parent 1.3.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice.neutron + 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Neutron APIs + Mapping Service Neutron APIs + org.opendaylight.lispflowmapping @@ -31,6 +36,7 @@ ietf-inet-types + diff --git a/mappingservice/pom.xml b/mappingservice/pom.xml index 2cafe5f0a..e47bb3735 100644 --- a/mappingservice/pom.xml +++ b/mappingservice/pom.xml @@ -3,14 +3,17 @@ 4.0.0 - org.opendaylight.lispflowmapping - lispflowmapping-all - 1.3.0-SNAPSHOT + org.opendaylight.controller + config-parent + 0.4.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice-parent + 1.3.0-SNAPSHOT pom - LISP Flow Mapping Parent POM + Mapping Service Parent POM yangmodel @@ -25,10 +28,34 @@ + + + + ${project.groupId} + lispflowmapping-artifacts + ${project.version} + pom + import + + + org.opendaylight.neutron + neutron-spi + 0.6.0-SNAPSHOT + + + org.opendaylight.controller + sal + 0.10.0-SNAPSHOT + + + + + ${project.groupId} common.unittest.tools + ${project.version} junit @@ -37,6 +64,7 @@ junit-addons junit-addons + 1.4 test @@ -47,11 +75,13 @@ org.jmock jmock-junit4 + 2.6.0 test org.jmock jmock-legacy + 2.6.0 test diff --git a/mappingservice/shell/pom.xml b/mappingservice/shell/pom.xml index 23aabe7b8..e78661bb9 100644 --- a/mappingservice/shell/pom.xml +++ b/mappingservice/shell/pom.xml @@ -1,14 +1,19 @@ 4.0.0 + org.opendaylight.lispflowmapping mappingservice-parent 1.3.0-SNAPSHOT + + org.opendaylight.lispflowmapping mappingservice.shell + 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Karaf Shell Commands + Mapping Service Karaf Shell Commands + org.apache.karaf.shell @@ -20,6 +25,7 @@ mappingservice.api + diff --git a/mappingservice/southbound/pom.xml b/mappingservice/southbound/pom.xml index 05e5866c8..fc4ea7bbd 100644 --- a/mappingservice/southbound/pom.xml +++ b/mappingservice/southbound/pom.xml @@ -3,17 +3,16 @@ 4.0.0 - org.opendaylight.controller - config-parent - 0.4.0-SNAPSHOT - + org.opendaylight.lispflowmapping + mappingservice-parent + 1.3.0-SNAPSHOT - mappingservice.southbound org.opendaylight.lispflowmapping + mappingservice.southbound 1.3.0-SNAPSHOT bundle - LISP Flow Mapping Southbound Plugin + Mapping Service Southbound Plugin diff --git a/mappingservice/yangmodel/pom.xml b/mappingservice/yangmodel/pom.xml index 1868289bf..b4e62d4e4 100644 --- a/mappingservice/yangmodel/pom.xml +++ b/mappingservice/yangmodel/pom.xml @@ -7,6 +7,8 @@ terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html --> + 4.0.0 + org.opendaylight.yangtools binding-parent @@ -14,16 +16,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html - 4.0.0 org.opendaylight.lispflowmapping mappingservice.yangmodel 1.3.0-SNAPSHOT bundle - LISP Flow Mapping YANG Model - - - org/opendaylight/yang/gen/** - + Mapping Service YANG Model diff --git a/pom.xml b/pom.xml index 3e350566f..3f2afe4eb 100644 --- a/pom.xml +++ b/pom.xml @@ -22,9 +22,9 @@ commons/parent commons/build_tools commons/unittest_tools + artifacts mappingservice features - artifacts distribution-karaf @@ -44,4 +44,4 @@ - \ No newline at end of file +