From eeb6d6829a92626139d1a4e332bac3d4061e97a6 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Tue, 20 Aug 2019 14:08:35 -0500 Subject: [PATCH 01/16] Add INFO.yaml Issue-ID: INT-1214 Change-Id: I36c05ac27a26fce38d4337da6d9a035043b353bb Signed-off-by: Brian Freeman --- INFO.yaml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 INFO.yaml diff --git a/INFO.yaml b/INFO.yaml new file mode 100644 index 0000000..828c0fe --- /dev/null +++ b/INFO.yaml @@ -0,0 +1,56 @@ +--- +project: 'oparent' +project_creation_date: '2017-02-10' +lifecycle_state: 'Incubation' +project_category: '' +project_lead: &onap_releng_ptl + name: 'Yang Xu' + email: 'yang.xu3@huawei.com' + id: 'xuyang11' + company: 'Huawei' + timezone: 'America/New_York' +primary_contact: *onap_releng_ptl +issue_tracking: + type: 'jira' + url: 'https://jira.onap.org/projects/INT' + key: 'INT' +mailing_list: + type: 'groups.io' + url: 'lists.onap.org' + tag: '<[sub-project_name]>' +realtime_discussion: '' +meetings: + - type: 'zoom' + agenda: 'https://wiki.onap.org/display/DW/Integration+Meeting+Minutes' + url: 'https://wiki.onap.org/pages/viewpage.action?pageId=6593670' + server: 'n/a' + channel: 'n/a' + repeats: 'weekly' + time: '14:00 UTC' +repositories: + - 'oparent' +committers: + - <<: *onap_releng_ptl + - name: 'Christophe Closset' + email: 'cc697w@intl.att.com' + company: 'ATT' + id: 'ChrisC' + timezone: 'Belgium/Namur' + - name: 'Marco Platania' + email: 'platania@research.att.com' + company: 'ATT' + id: 'platania' + timezone: 'America/New_York' + - name: 'Brian Freeman' + email: 'bf1936@att.com' + company: 'AT&T' + id: 'bdfreeman1421' + timezone: 'America/New_York' + - name: 'Morgan Richomme' + email: 'morgan.richomme@orange.com' + company: 'Orange' + id: 'umry8364' + timezone: 'Paris/France' +tsc: + approval: 'https://lists.onap.org/pipermail/onap-tsc' + changes: -- 2.16.6 From 43601c662afdcc54b1d3eef4a0ab48c43af8c28d Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Mon, 19 Aug 2019 12:09:03 -0400 Subject: [PATCH 02/16] Upgrade jetty to 9.4.20.v20190813 Issue-ID: INT-1206 Change-Id: Ia57493410b0b1027a3515f6d319b923830512e4b Signed-off-by: Pamela Dragosh --- dependencies/pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 35396e5..b263a04 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -27,6 +27,7 @@ pom 5.1.2.RELEASE + 9.4.20.v20190813 @@ -38,17 +39,17 @@ org.eclipse.jetty jetty-http - 9.4.14.v20181114 + ${jetty.version} org.eclipse.jetty jetty-servlet - 9.4.14.v20181114 + ${jetty.version} org.eclipse.jetty jetty-server - 9.4.14.v20181114 + ${jetty.version} org.springframework -- 2.16.6 From b30c69d2e5590ac7e4644a97a320c420edd93281 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Thu, 29 Aug 2019 16:05:47 -0500 Subject: [PATCH 03/16] Update for security El Alto Issue-ID: INT-1232 Change-Id: I38967644bd3bbf1b1f966fc216eb59262cd62487 Signed-off-by: Brian Freeman --- dependencies/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dependencies/pom.xml b/dependencies/pom.xml index b263a04..3171add 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -74,12 +74,12 @@ commons-beanutils commons-beanutils - 1.9.3 + 1.9.4 org.apache.tomcat.embed tomcat-embed-core - 9.0.14 + 9.0.24 org.codehaus.jackson @@ -99,7 +99,7 @@ org.webjars jquery - 3.3.1-1 + 3.4.1 ch.qos.logback -- 2.16.6 From c263f9fddaa062e73c4107bccd4aad8099494478 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 3 Sep 2019 14:12:33 -0400 Subject: [PATCH 04/16] Release oparent 2.1.0 El Alto 2.1.p0 oparent release. Issue-ID: INT-1233 Change-Id: I5840d9f1e963fa680766c3f0fddf25eb4948ec48 Signed-off-by: Pamela Dragosh --- releases/2.1.0.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 releases/2.1.0.yaml diff --git a/releases/2.1.0.yaml b/releases/2.1.0.yaml new file mode 100644 index 0000000..3be36cf --- /dev/null +++ b/releases/2.1.0.yaml @@ -0,0 +1,4 @@ +distribution_type: 'maven' +version: '2.1.0' +project: 'oparent' +log_dir: 'oparent-maven-stage-master/195/' -- 2.16.6 From 83516054fb4755e269f4f3b5ed8308851f2f115b Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Wed, 4 Sep 2019 07:35:29 -0500 Subject: [PATCH 05/16] Fix timezones in INFO.yaml Issue-ID: INT-1214 Change-Id: Ie43ba620cb5d67a2b85f82e3a70dac64258d608b Signed-off-by: Brian Freeman --- INFO.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INFO.yaml b/INFO.yaml index 828c0fe..ac15a93 100644 --- a/INFO.yaml +++ b/INFO.yaml @@ -35,7 +35,7 @@ committers: email: 'cc697w@intl.att.com' company: 'ATT' id: 'ChrisC' - timezone: 'Belgium/Namur' + timezone: 'Europe/Brussels' - name: 'Marco Platania' email: 'platania@research.att.com' company: 'ATT' @@ -50,7 +50,7 @@ committers: email: 'morgan.richomme@orange.com' company: 'Orange' id: 'umry8364' - timezone: 'Paris/France' + timezone: 'Europe/Paris' tsc: approval: 'https://lists.onap.org/pipermail/onap-tsc' changes: -- 2.16.6 From af3385e798215bbf4017a6e3c2694e962339302c Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 3 Sep 2019 14:38:50 -0400 Subject: [PATCH 06/16] Bump oparent to 2.2.0-SNAPSHOT After release 2.1.0, bump the version. Followed same as this review: https://gerrit.onap.org/r/c/oparent/+/90407 Issue-ID: INT-1233 Change-Id: Ie139ab223870986d9dfcc443a18af2446884778e Signed-off-by: Pamela Dragosh --- checkstyle/pom.xml | 2 +- dependencies-clm/pom.xml | 2 +- dependencies/pom.xml | 2 +- license/pom.xml | 2 +- oparent-python/pom.xml | 2 +- oparent/pom.xml | 6 +++--- pom.xml | 2 +- version.properties | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml index 87061c0..ff71c36 100644 --- a/checkstyle/pom.xml +++ b/checkstyle/pom.xml @@ -19,7 +19,7 @@ org.onap.oparent version - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT .. checkstyle diff --git a/dependencies-clm/pom.xml b/dependencies-clm/pom.xml index 87e4f16..5965479 100644 --- a/dependencies-clm/pom.xml +++ b/dependencies-clm/pom.xml @@ -19,7 +19,7 @@ org.onap.oparent oparent - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT ../oparent dependencies-clm diff --git a/dependencies/pom.xml b/dependencies/pom.xml index 3171add..f82c5e1 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -19,7 +19,7 @@ org.onap.oparent version - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT .. dependencies diff --git a/license/pom.xml b/license/pom.xml index f0f24ad..b01b991 100644 --- a/license/pom.xml +++ b/license/pom.xml @@ -19,7 +19,7 @@ org.onap.oparent version - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT .. onap-license diff --git a/oparent-python/pom.xml b/oparent-python/pom.xml index 264e647..5b7b3b6 100644 --- a/oparent-python/pom.xml +++ b/oparent-python/pom.xml @@ -4,7 +4,7 @@ org.onap.oparent oparent - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT ../oparent pom diff --git a/oparent/pom.xml b/oparent/pom.xml index a0e78ed..ea5a479 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -19,7 +19,7 @@ org.onap.oparent version - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT .. oparent @@ -278,7 +278,7 @@ org.onap.oparent dependencies - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT pom import @@ -424,7 +424,7 @@ org.onap.oparent checkstyle - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 9eda9e0..894e4c0 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ oparent org.onap.oparent version - 2.1.0-SNAPSHOT + 2.2.0-SNAPSHOT pom diff --git a/version.properties b/version.properties index ec3a66d..cd49622 100644 --- a/version.properties +++ b/version.properties @@ -4,7 +4,7 @@ # because they are used in Jenkins, whose plug-in doesn't support major_version=2 -minor_version=1 +minor_version=2 patch_version=0 base_version=${major_version}.${minor_version}.${patch_version} -- 2.16.6 From c2cdc2a06dba09a00bfa1b47fcc0e26c6a744a89 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Wed, 4 Sep 2019 13:06:41 -0500 Subject: [PATCH 07/16] Update onap_oparent_ptl refernces correct morgan id Issue-ID: INT-1214 Change-Id: I7f3badd8df78e4e346a0a39cd11f2c1d9df8b387 Signed-off-by: Brian Freeman --- INFO.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/INFO.yaml b/INFO.yaml index ac15a93..52c02e0 100644 --- a/INFO.yaml +++ b/INFO.yaml @@ -3,13 +3,13 @@ project: 'oparent' project_creation_date: '2017-02-10' lifecycle_state: 'Incubation' project_category: '' -project_lead: &onap_releng_ptl +project_lead: &onap_oparent_ptl name: 'Yang Xu' email: 'yang.xu3@huawei.com' id: 'xuyang11' company: 'Huawei' timezone: 'America/New_York' -primary_contact: *onap_releng_ptl +primary_contact: *onap_oparent_ptl issue_tracking: type: 'jira' url: 'https://jira.onap.org/projects/INT' @@ -30,7 +30,7 @@ meetings: repositories: - 'oparent' committers: - - <<: *onap_releng_ptl + - <<: *onap_oparent_ptl - name: 'Christophe Closset' email: 'cc697w@intl.att.com' company: 'ATT' @@ -49,7 +49,7 @@ committers: - name: 'Morgan Richomme' email: 'morgan.richomme@orange.com' company: 'Orange' - id: 'umry8364' + id: 'mrichomme' timezone: 'Europe/Paris' tsc: approval: 'https://lists.onap.org/pipermail/onap-tsc' -- 2.16.6 From bedb48489ecbe5204169b5f566de53b27f340c1b Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Fri, 1 Nov 2019 08:48:01 -0500 Subject: [PATCH 08/16] Uprev to 3.0.0 for Java 11 Update copyright modifications Issue-ID: INT-1352 Change-Id: I7a574c52398990ac38e6e5da287dc424933babfb Signed-off-by: Brian Freeman --- README.md | 6 ++++++ checkstyle/pom.xml | 3 ++- dependencies-clm/pom.xml | 4 ++-- dependencies/pom.xml | 4 ++-- license/pom.xml | 3 ++- oparent-python/pom.xml | 18 +++++++++++++++++- oparent/pom.xml | 7 ++++--- pom.xml | 4 ++-- version.properties | 4 ++-- 9 files changed, 39 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index a507773..848f933 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,9 @@ ONAP O-Parent provides common default settings for all the projects participatin All projects participating in simultaneous release will inherit defaults from O-Parent. + +elalto branch 2.X will continue to be used for Java 8/Java 9 dependencies +master branch 3.X will be used for JAva 11 dependencies + +Projects should refer to either the 2.X release Java 8/9 or 3.X release as appropriate. + diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml index ff71c36..3e367da 100644 --- a/checkstyle/pom.xml +++ b/checkstyle/pom.xml @@ -1,6 +1,7 @@ 4.0.0 org.onap.oparent oparent - 2.2.0-SNAPSHOT + 3.0.0-SNAPSHOT ../oparent pom diff --git a/oparent/pom.xml b/oparent/pom.xml index ea5a479..ec1c865 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -1,6 +1,7 @@ diff --git a/version.properties b/version.properties index cd49622..ddc6dd8 100644 --- a/version.properties +++ b/version.properties @@ -3,8 +3,8 @@ # Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) # because they are used in Jenkins, whose plug-in doesn't support -major_version=2 -minor_version=2 +major_version=3 +minor_version=0 patch_version=0 base_version=${major_version}.${minor_version}.${patch_version} -- 2.16.6 From fcd164ac91e84e98af66e7f3bb285a4ae35723ec Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Thu, 7 Nov 2019 15:56:25 -0500 Subject: [PATCH 09/16] Add compiler-plugin example Issue-ID: INT-1352 Change-Id: I299e39577c76e6cd699049ea06165ce1961da81a Signed-off-by: Brian Freeman --- pom.xml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 5366244..c85ecaa 100644 --- a/pom.xml +++ b/pom.xml @@ -32,13 +32,17 @@ dependencies-clm - 1.8 - 1.8 UTF-8 UTF-8 /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - + 11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/oparent/pom.xml b/oparent/pom.xml index ec1c865..6fc37e3 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -273,6 +273,60 @@ + + + [1.8,) + + + checkstyle-jdk8 + + + + + maven-checkstyle-plugin + 3.1.0 + + + + com.puppycrawl.tools + checkstyle + 8.24 + + + + + onap-license + + + + + ${project.build.sourceDirectory} + + + + + onap-java-style + + + onap-checkstyle/onap-java-style${maven.compiler.source}.xml + + + + ${project.build.sourceDirectory} + + + + + + + + -- 2.16.6 From 91f393bedd2707db123895546367f7faa59ebe00 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Mon, 18 Nov 2019 17:10:40 +0000 Subject: [PATCH 11/16] Revert "update version of checkstyle for latest google style and jdk 8" This reverts commit 6a2d8c71aa39a6f47a683c38267c07cd9a00dfeb. Revert until we fix the jjb verify and master Issue-ID: INT-1271 Change-Id: I11da29bee4f17c40ae96ab647d1517572a20b864 Signed-off-by: Brian Freeman --- .../onap-checkstyle/onap-java-style1.8.xml | 268 --------------------- oparent/pom.xml | 54 ----- 2 files changed, 322 deletions(-) delete mode 100644 checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml deleted file mode 100644 index 514e75f..0000000 --- a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style1.8.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/oparent/pom.xml b/oparent/pom.xml index 6fc37e3..ec1c865 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -273,60 +273,6 @@ - - - [1.8,) - - - checkstyle-jdk8 - - - - - maven-checkstyle-plugin - 3.1.0 - - - - com.puppycrawl.tools - checkstyle - 8.24 - - - - - onap-license - - - - - ${project.build.sourceDirectory} - - - - - onap-java-style - - - onap-checkstyle/onap-java-style${maven.compiler.source}.xml - - - - ${project.build.sourceDirectory} - - - - - - - - -- 2.16.6 From 5a4892d3f1842b80ac5d28f035a6d1e151b9897d Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 6 Dec 2019 13:21:21 +0000 Subject: [PATCH 12/16] Upgrade oparent to checkstyle 8.27 Checkstyle 8.27 introduces incompatible changes in the checkstyle rule definition xml file. The latest Eclipse checkstyle plugin (version 8.26) uses this new checkstyle xml rule format. This change brings in the checkstyle 8.27 rule formats into oparent. Issue-ID: INT-1395 Change-Id: I453120e5cc95fa2e30a5d2f24083fd030e960a01 Signed-off-by: liamfallon --- .../resources/onap-checkstyle/onap-java-style.xml | 14 +++++++++----- oparent/pom.xml | 20 ++++++++++++++++---- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml index 77ef3ae..e6b249d 100644 --- a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml +++ b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml @@ -1,6 +1,7 @@ onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory} + + ${project.build.sourceDirectory} true true true -- 2.16.6 From b080421073ed777fa4246a7a9d419bbc748741f2 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 9 Dec 2019 16:20:24 +0000 Subject: [PATCH 13/16] Update checkstyle rules to exclude methods Checkstyle rules updated to: 1) allow getters and setters not to have javadoc 2) allow methods with less than 2 lines to not have javadoc 3) allow protected and private methods not to have javadoc 4) allow methods with names beginning with test|before|after not to have javaodc Issue-ID: INT-1395 Change-Id: I570cd90034c7b20d45a7e5a6ecacacdef80876a1 Signed-off-by: liamfallon --- checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml index e6b249d..de1316f 100644 --- a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml +++ b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml @@ -205,7 +205,10 @@ + + + -- 2.16.6 From 81f6ddbadbfb35ade23aa69570551e1d7758f13f Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Thu, 9 Jan 2020 20:21:59 -0500 Subject: [PATCH 14/16] Update sonar configuration Sonarcloud upgrade exposed missing configuration variable. Also removed deprecated properties Used properties for versions of plugins Upgraded all the plugins to the latest Issue-ID: INT-1411 Change-Id: I75cb459f387a32230920987913d174dbc751e9f2 Signed-off-by: Pamela Dragosh --- oparent/pom.xml | 11 +++++------ pom.xml | 4 +++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/oparent/pom.xml b/oparent/pom.xml index 7e5f274..af6c025 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -34,12 +34,11 @@ https://wiki.onap.org/display/DW/Integration+Project - 0.8.2 + 0.8.5 3.2 jacoco - target/code-coverage/jacoco-ut.exec - target/code-coverage/jacoco-it.exec + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** @@ -378,7 +377,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + 3.0.0-M4 ${surefireArgLine} @@ -391,7 +390,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.22.0 + 3.0.0-M4 /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} 11 + 3.7.0.1746 +