From ba9923120b5c9aee1562a4e61162e8514d4c9dfe Mon Sep 17 00:00:00 2001 From: Alissa Bonas Date: Wed, 6 Nov 2013 13:49:52 +0200 Subject: [PATCH 1/1] Create mvn profile for integrationtests Change-Id: I119cb15f184523201cb190f2dfe8b0639995f704 Signed-off-by: Alissa Bonas --- README.OPENDAYLIGHT | 18 +++++++++++---- opendaylight/config/pom.xml | 14 ++++++++++- opendaylight/md-sal/pom.xml | 16 +++++++++++-- opendaylight/md-sal/samples/pom.xml | 14 ++++++++++- opendaylight/netconf/pom.xml | 13 ++++++++++- pom.xml | 36 ++++++++++++++++++----------- 6 files changed, 88 insertions(+), 23 deletions(-) diff --git a/README.OPENDAYLIGHT b/README.OPENDAYLIGHT index e85aa31b7b..78d54a7e87 100644 --- a/README.OPENDAYLIGHT +++ b/README.OPENDAYLIGHT @@ -21,12 +21,20 @@ HOW TO BUILD ============ In order to build it's required to have JDK 1.7+ and Maven 3+, to get a build going it's needed to: -1) Choose the distribution, from within opendaylight/distribution -2) Go in the directory and run +1) From the root directory run "mvn clean install" -3) On succesfull completion go in the target directory to pick the zip -file of the distribution or controller can be executed right from -there going into the distribution directory. +2) On succesfull completion go in the directory: +"opendaylight/distribution/opendaylight/target" + +to pick the zip file of the distribution or controller can be executed +right from there going into the distribution directory. + +Please note that this way no integration tests but only UT will be +executed, if you are planning on committing code be aware that the +code will be tested also for Integrations tests hence make sure before +submitting a patch to build using the command: + "mvn clean install -Pintegrationtests" +to get IT executed. HOW TO RELEASE ARTIFACTS ======================== diff --git a/opendaylight/config/pom.xml b/opendaylight/config/pom.xml index 949c283f7d..62b9ec34d0 100755 --- a/opendaylight/config/pom.xml +++ b/opendaylight/config/pom.xml @@ -25,12 +25,24 @@ config-persister-file-adapter yang-jmx-generator yang-jmx-generator-plugin - yang-jmx-generator-it yang-store-api yang-store-impl yang-test logback-config + + + + integrationtests + + false + + + yang-jmx-generator-it + + + + UTF-8 1.7 diff --git a/opendaylight/md-sal/pom.xml b/opendaylight/md-sal/pom.xml index 7f5f10e21b..06df83ec7f 100644 --- a/opendaylight/md-sal/pom.xml +++ b/opendaylight/md-sal/pom.xml @@ -27,7 +27,6 @@ sal-binding-api sal-binding-config sal-binding-broker - sal-binding-it samples @@ -45,12 +44,25 @@ clustered-data-store/implementation - clustered-data-store/integrationtest sal-zeromq-connector test + + + + integrationtests + + false + + + sal-binding-it + clustered-data-store/integrationtest + + + + UTF-8 http://nexus.opendaylight.org/content diff --git a/opendaylight/md-sal/samples/pom.xml b/opendaylight/md-sal/samples/pom.xml index 7bd9a3a5ba..04e0a32ffb 100644 --- a/opendaylight/md-sal/samples/pom.xml +++ b/opendaylight/md-sal/samples/pom.xml @@ -17,8 +17,20 @@ toaster toaster-consumer - toaster-it toaster-provider + + + + integrationtests + + false + + + toaster-it + + + + org.opendaylight.controller.samples diff --git a/opendaylight/netconf/pom.xml b/opendaylight/netconf/pom.xml index 7f0bd44078..8f69f8dca0 100644 --- a/opendaylight/netconf/pom.xml +++ b/opendaylight/netconf/pom.xml @@ -23,12 +23,23 @@ netconf-impl config-netconf-connector netconf-util - netconf-it config-persister-impl netconf-mapping-api netconf-client + + + integrationtests + + false + + + netconf-it + + + + 5.0.0 2.3.7 diff --git a/pom.xml b/pom.xml index 5899d563e8..5a7f41b2c1 100644 --- a/pom.xml +++ b/pom.xml @@ -26,34 +26,26 @@ opendaylight/forwarding/staticrouting opendaylight/clustering/services opendaylight/clustering/services_implementation - opendaylight/clustering/integrationtest opendaylight/clustering/stub opendaylight/clustering/test opendaylight/configuration/api opendaylight/configuration/implementation - opendaylight/configuration/integrationtest opendaylight/routing/dijkstra_implementation opendaylight/arphandler opendaylight/forwardingrulesmanager/api opendaylight/forwardingrulesmanager/implementation - opendaylight/forwardingrulesmanager/integrationtest opendaylight/hosttracker/api opendaylight/hosttracker/implementation - opendaylight/hosttracker/integrationtest opendaylight/hosttracker_new/api opendaylight/hosttracker_new/implementation opendaylight/containermanager/api opendaylight/containermanager/implementation - opendaylight/containermanager/it.implementation opendaylight/appauth opendaylight/switchmanager/api opendaylight/switchmanager/implementation - opendaylight/switchmanager/integrationtest opendaylight/statisticsmanager/api opendaylight/statisticsmanager/implementation - opendaylight/statisticsmanager/integrationtest opendaylight/topologymanager/implementation - opendaylight/topologymanager/integrationtest opendaylight/usermanager/api opendaylight/usermanager/implementation opendaylight/connectionmanager/api @@ -117,8 +109,6 @@ opendaylight/northbound/usermanager opendaylight/northbound/controllermanager - - opendaylight/northbound/integrationtest opendaylight/logging/bridge @@ -131,14 +121,34 @@ opendaylight/samples/loadbalancer opendaylight/samples/northbound/loadbalancer - opendaylight/distribution/sanitytest/ - opendaylight/commons/concepts opendaylight/commons/httpclient - opendaylight/commons/integrationtest opendaylight/commons/checkstyle opendaylight/commons/opendaylight opendaylight/commons/parent + + + + integrationtests + + false + + + opendaylight/clustering/integrationtest + opendaylight/configuration/integrationtest + opendaylight/forwardingrulesmanager/integrationtest + opendaylight/hosttracker/integrationtest + opendaylight/switchmanager/integrationtest + opendaylight/topologymanager/integrationtest + + opendaylight/northbound/integrationtest + opendaylight/statisticsmanager/integrationtest + opendaylight/commons/integrationtest + opendaylight/containermanager/it.implementation + opendaylight/distribution/sanitytest/ + + + -- 2.36.6