odlparent.git
3 years agoBump versions to 8.1.1-SNAPSHOT 39/94739/1
Robert Varga [Fri, 22 Jan 2021 17:43:22 +0000 (18:43 +0100)]
Bump versions to 8.1.1-SNAPSHOT

This starts the next development iteration.

Change-Id: Iaf683af3fd3ca680f1e96e911d8dfeaad82b258b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUpdate NEWS for 8.1.0 38/94738/1
Robert Varga [Fri, 22 Jan 2021 17:42:28 +0000 (18:42 +0100)]
Update NEWS for 8.1.0

We are ready to release, update the release notes.

Change-Id: I2177a3f166713e5ac22d8806786360faa8cd0315
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump duplicate-finder-maven-plugin to 1.5.0 06/94706/3
Robert Varga [Thu, 21 Jan 2021 16:37:11 +0000 (17:37 +0100)]
Bump duplicate-finder-maven-plugin to 1.5.0

https://github.com/basepom/duplicate-finder-maven-plugin/releases/tag/duplicate-finder-maven-plugin-1.5.0

Change-Id: I825b5ed8b11af49dc780457551360219d83abef7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Netty to 4.1.58 08/94708/3
Robert Varga [Thu, 21 Jan 2021 16:45:06 +0000 (17:45 +0100)]
Bump Netty to 4.1.58

https://netty.io/news/2021/01/12/4-1-57-Final.html
https://netty.io/news/2021/01/13/4-1-58-Final.html

Change-Id: I03e4eae8711e4a913b84e9090c3a62403f9a9f33
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd org.osgi.service.metatype.annotations declaration 07/94707/3
Robert Varga [Thu, 21 Jan 2021 16:43:39 +0000 (17:43 +0100)]
Add org.osgi.service.metatype.annotations declaration

Metatype annotations deal with defining data used in Config Admin
and are usually referenced from service.annotations. Add a declaration
so they can be used with JMPS.

Change-Id: I71e8b9f86d8cd917103139f2a8d400bed3b95006
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump maven-pmd-plugin to 3.14.0 05/94705/1
Robert Varga [Thu, 21 Jan 2021 16:28:33 +0000 (17:28 +0100)]
Bump maven-pmd-plugin to 3.14.0

https://www.mail-archive.com/announce@maven.apache.org/msg00978.html

This bumps used pmd to 6.29.0:
https://pmd.github.io/pmd-6.22.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.23.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.24.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.25.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.26.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.27.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.28.0/pmd_release_notes.html
https://pmd.github.io/pmd-6.29.0/pmd_release_notes.html

Change-Id: I570307d052083d41bbcff3471e495529a9950572
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions-maven-plugin to 2.8.1 03/94703/1
Robert Varga [Thu, 21 Jan 2021 16:22:32 +0000 (17:22 +0100)]
Bump versions-maven-plugin to 2.8.1

https://github.com/mojohaus/versions-maven-plugin/releases/tag/versions-maven-plugin-2.8.1

Change-Id: If859292f5eba8911ed6f9853b5fd488e4b0f1b45
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump exec-maven-plugin to 3.0.0 02/94702/1
Robert Varga [Thu, 21 Jan 2021 16:20:03 +0000 (17:20 +0100)]
Bump exec-maven-plugin to 3.0.0

https://github.com/mojohaus/exec-maven-plugin/releases/tag/exec-maven-plugin-3.0.0

Change-Id: I6d94b73bdf7c988a8fe152f53574dd72bd5a5a1b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump builder-helper-maven-plugin to 3.2.0 01/94701/1
Robert Varga [Thu, 21 Jan 2021 16:18:11 +0000 (17:18 +0100)]
Bump builder-helper-maven-plugin to 3.2.0

https://github.com/mojohaus/build-helper-maven-plugin/milestone/6?closed=1

Change-Id: I89c4e0cb88d3a3af071dd0e642ba819237679383
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump maven-site-plugin to 3.9.1 00/94700/1
Robert Varga [Thu, 21 Jan 2021 16:16:44 +0000 (17:16 +0100)]
Bump maven-site-plugin to 3.9.1

https://www.mail-archive.com/announce@maven.apache.org/msg00966.html

Change-Id: I07aa1b4cdde33f6165b77db0d7eb0634d9acc189
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump maven-resource-plugin to 3.2.0 99/94699/1
Robert Varga [Thu, 21 Jan 2021 16:15:02 +0000 (17:15 +0100)]
Bump maven-resource-plugin to 3.2.0

https://www.mail-archive.com/announce@maven.apache.org/msg00972.html

Also remove duplicate declaration in odlparent/pom.xml, this is already
inherited from odlparent-lite.

Change-Id: I3535523446c99d10ea92a6303dff4ffb12a7718a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump BouncyCastle to 1.68 73/93573/5
Robert Varga [Wed, 4 Nov 2020 00:00:03 +0000 (01:00 +0100)]
Bump BouncyCastle to 1.68

There is a host of performance improvements and a hint at a
side-channel, hinting at a vulnerability getting fixed.

Change-Id: I276dee2255c4760d8dc782d68e597a35cbc93216
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump checkstyle to 8.39 52/94452/1
Robert Varga [Thu, 7 Jan 2021 08:49:50 +0000 (09:49 +0100)]
Bump checkstyle to 8.39

https://checkstyle.org/releasenotes.html#Release_8.39

Change-Id: I394fc29c44b27c274e9ab5317774c642356f4ec1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Jackson to 2.11.4 46/94446/2
Robert Varga [Wed, 6 Jan 2021 19:17:11 +0000 (20:17 +0100)]
Bump Jackson to 2.11.4

https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.11.4

Change-Id: Iead10b920661c600ce755b55cb08e334480702ed
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump xmlunit to 2.8.2 48/94448/3
Robert Varga [Wed, 6 Jan 2021 19:23:43 +0000 (20:23 +0100)]
Bump xmlunit to 2.8.2

https://github.com/xmlunit/xmlunit/releases/tag/v2.8.0
https://github.com/xmlunit/xmlunit/releases/tag/v2.8.1
https://github.com/xmlunit/xmlunit/releases/tag/v2.8.2

Change-Id: I2de6239f933badbd436c2ca99ac47c8315c82327
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump enunciate to 2.13.2 47/94447/2
Robert Varga [Wed, 6 Jan 2021 19:20:37 +0000 (20:20 +0100)]
Bump enunciate to 2.13.2

https://github.com/stoicflame/enunciate/releases/tag/v2.13.2

Change-Id: Id25d0edadd8ee83cc3f6b2e9e38530195e8e1376
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Netty to 4.1.56 45/94445/1
Robert Varga [Wed, 6 Jan 2021 19:12:35 +0000 (20:12 +0100)]
Bump Netty to 4.1.56

https://netty.io/news/2020/12/17/4-1-56-Final.html

Change-Id: I58e8eab1ab4ee21e181b248240a7b138793f9ed6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoChoose java 11 when macos has multiple versions 05/94305/1
Changqian Wang [Mon, 28 Dec 2020 12:47:48 +0000 (20:47 +0800)]
Choose java 11 when macos has multiple versions

Change-Id: I105ee8facee1e8a7280228633688c7fecce3864e
Signed-off-by: Wang Changqian <wangchangqian@bytedance.com>
3 years agoAdd org.osgi.core dependency declaration 72/94172/1
Robert Varga [Thu, 10 Dec 2020 17:28:59 +0000 (18:28 +0100)]
Add org.osgi.core dependency declaration

We have quite a few downstreams who should be able to transition
smoothly. Provide org.osgi.core-6.0.0 as a declaration, so references
still work as they used to. It should not matter at runtime, as it
is provided anyway.

Change-Id: Id68261b9598d1d8c1b079b872a5962ff3775af43
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump powermock to 2.0.9 36/94136/1
Robert Varga [Thu, 10 Dec 2020 10:08:56 +0000 (11:08 +0100)]
Bump powermock to 2.0.9

https://github.com/powermock/powermock/blob/release/2.x/docs/release-notes/official.md#208
https://github.com/powermock/powermock/blob/release/2.x/docs/release-notes/official.md#209

Change-Id: I0930fd603b285d00e86ef30f0a3b573f7dd706df
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Google Truth to 1.1 35/94135/1
Robert Varga [Thu, 10 Dec 2020 10:04:44 +0000 (11:04 +0100)]
Bump Google Truth to 1.1

https://github.com/google/truth/releases/tag/release_1_1

Change-Id: I77017d40ab8aee15d3b08ff861c55cbb3a7b1c2e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump xtend to 2.24.0 34/94134/1
Robert Varga [Thu, 10 Dec 2020 09:59:39 +0000 (10:59 +0100)]
Bump xtend to 2.24.0

https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2020/12/01/version-2-24-0

Change-Id: I75a4caa206a5ccc39d922a06a5b82def116b0eb2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump netty to 4.1.55 29/94129/3
Robert Varga [Thu, 10 Dec 2020 09:43:19 +0000 (10:43 +0100)]
Bump netty to 4.1.55

https://netty.io/news/2020/11/11/4-1-54-Final.html
https://netty.io/news/2020/12/08/4-1-55-Final.html

Change-Id: I837c37347f570efa714f03dfb9b5804f1bec3fc1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump commons-net to 3.7.2 33/94133/1
Robert Varga [Thu, 10 Dec 2020 09:57:25 +0000 (10:57 +0100)]
Bump commons-net to 3.7.2

https://commons.apache.org/proper/commons-net/changes-report.html#a3.7.1
https://commons.apache.org/proper/commons-net/changes-report.html#a3.7.2

Change-Id: Ib07efd0012b3e9bc444d2811411c571d8a1f634b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump checkstyle to 8.38 32/94132/2
Robert Varga [Thu, 10 Dec 2020 09:53:28 +0000 (10:53 +0100)]
Bump checkstyle to 8.38

https://checkstyle.org/releasenotes.html#Release_8.36.2
https://checkstyle.org/releasenotes.html#Release_8.37.0
https://checkstyle.org/releasenotes.html#Release_8.38.0

Change-Id: I042a129e9143c6071b40469b01d110888fd77535
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Sevntu to 1.38.0 31/94131/2
Robert Varga [Thu, 10 Dec 2020 09:51:00 +0000 (10:51 +0100)]
Bump Sevntu to 1.38.0

https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.38.0

Change-Id: Ia034f8c44cca0b8f7e3d2507edf38fd922244416
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump xbean to 4.18 30/94130/2
Robert Varga [Thu, 10 Dec 2020 09:48:08 +0000 (10:48 +0100)]
Bump xbean to 4.18

This is just an ASM upgrade:
https://issues.apache.org/jira/browse/XBEAN-327

Change-Id: Iabe85c03215d69791021a11642ac6d94890db7dd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump karaf to 4.3.0 11/93411/18
Robert Varga [Tue, 27 Oct 2020 08:31:38 +0000 (09:31 +0100)]
Bump karaf to 4.3.0

Release notes:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12343304

This forces us to deal with jakarta.activation-api, as that is no
longer provided out of the box. We deal with that by providing our
own feature and ditching javax.activation declaration, hence we now
have odl-jakarta-activation-api.

We also upgrade to jackson-2.11.3, which finally puts an end to
all those serialization widgets vulns. Release notes:
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.11
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.11.1
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.11.2
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.11.3

The resulting packaging ends up with two versions of servlet-api,
which is okay: pax-web can use undertow which supports it, while
jetty does not -- hence we have two versions. This will be rectified
once we have jetty-10.

Also org.osgi.core-6 is now osgi.core-7, creating a bit more transition
work than expected.

Change-Id: Ib34abcbf6948664e5c1f9381fdc8577dc4f62108
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions to 8.1.0-SNAPSHOT 17/93617/1
Robert Varga [Fri, 6 Nov 2020 10:34:16 +0000 (11:34 +0100)]
Bump versions to 8.1.0-SNAPSHOT

Prepare for next minor version.

Change-Id: I69c5b0e3a0558e41cd0cddd596bdbcce2d946fa2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions to 8.0.2-SNAPSHOT 15/93615/1
Robert Varga [Fri, 6 Nov 2020 10:17:17 +0000 (11:17 +0100)]
Bump versions to 8.0.2-SNAPSHOT

This starts the next development iteration.

Change-Id: I19b79be82e6301e93885f61dc60dd1b2402fba31
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd odlparent-8.0.1 release notes 75/93575/4
Robert Varga [Tue, 3 Nov 2020 23:55:00 +0000 (00:55 +0100)]
Add odlparent-8.0.1 release notes

Prepare for releasing the changes we have so far.

Change-Id: I41c2041838368a64fc99a888477b09766246f45b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump guicedee/javax.inject 74/93574/2
Robert Varga [Wed, 4 Nov 2020 00:02:23 +0000 (01:02 +0100)]
Bump guicedee/javax.inject

GuicedEE has a new release, bump to 1.0.20.x and see how we end up
tracking them.

Change-Id: I25b7fa482ca553239e0f1a80a8796dd4b8e0dbc4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoCheck for YANG generated files first 45/93545/1
Robert Varga [Sun, 1 Nov 2020 17:09:33 +0000 (18:09 +0100)]
Check for YANG generated files first

Add a bit of bias, check for generated files we generate first,
we don't do protobufs really.

Change-Id: I65f5918f543fe086d617557d4a632eda845e6e14
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump netty to 4.1.53 03/93503/1
Robert Varga [Fri, 30 Oct 2020 14:56:30 +0000 (15:56 +0100)]
Bump netty to 4.1.53

https://netty.io/news/2020/10/13/4-1-53-Final.html

Change-Id: I9aeb5b3fed1a83ccb460c4d1a1748eeea321e31f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix tox jobs 85/93485/1
Robert Varga [Fri, 30 Oct 2020 10:23:03 +0000 (11:23 +0100)]
Fix tox jobs

As per guidance on mailing lists, our configuration needs an update
to fix the jobs.

Change-Id: I091bf17e3cd2a783e0be0e55afaa03b810d5c367
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDiscard Guava's transitive dependencies 16/93416/1
Robert Varga [Tue, 27 Oct 2020 12:07:06 +0000 (13:07 +0100)]
Discard Guava's transitive dependencies

We do not want to incur 'wrap' feature just because of these deps,
simply because:
- annotations are not needed at runtime
- listenablefuture's content is provided by Guava

We are forming a strong opinion on the latter: ListenableFuture
is always provided by odl-guava.

JIRA: ODLPARENT-248
Change-Id: Ibfcdce05bebb569cde1f753d6a536d72fd9c1d2e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump woodstox to 6.1.3 13/93413/1
Robert Varga [Tue, 27 Oct 2020 10:42:12 +0000 (11:42 +0100)]
Bump woodstox to 6.1.3

Fixes:
https://github.com/FasterXML/woodstox/issues/112
https://github.com/FasterXML/woodstox/issues/117

Change-Id: I34494517ba1af3cf41013f63909db43f05ca30b2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd org.osgi.service.component.annotations declaration 21/93221/2
Robert Varga [Tue, 20 Oct 2020 21:19:11 +0000 (23:19 +0200)]
Add org.osgi.service.component.annotations declaration

When trying to have combined JPMS + OSGi artifact, where both are
used to the full extent we fail to compile.

In order to side-step that, such artifacts need to pull in
component annotations and depend on its derived name.

Add a declarations so downstreams do not need to maintain versions
themselves.

Change-Id: If9a4e93a2292578837011132e0f1b2a68d9d347b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd com.guicedee/javax.inject 19/93219/2
Robert Varga [Tue, 20 Oct 2020 17:23:34 +0000 (19:23 +0200)]
Add com.guicedee/javax.inject

javax.inject/javax.inject is an ancient jar, which is not a bundle,
nor JPMS-enabled. Add a repackaged alternative, which is at least
a proper module.

JIRA: OLDPARENT-247
Change-Id: I295652f45a5dbe52f6d9c64042af3b2642ac3769
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump JUnit to 4.13.1 38/93038/1
Robert Varga [Tue, 13 Oct 2020 16:16:39 +0000 (18:16 +0200)]
Bump JUnit to 4.13.1

https://github.com/junit-team/junit4/blob/HEAD/doc/ReleaseNotes4.13.1.md

Change-Id: I174693a3b1e46bce28b28687fcfb07bd976c64e3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump pax-exam to 4.13.4 23/93023/1
Robert Varga [Mon, 12 Oct 2020 10:06:21 +0000 (12:06 +0200)]
Bump pax-exam to 4.13.4

Release notes:
https://ops4j1.jira.com/secure/ReleaseNote.jspa?projectId=10170&version=24393

This version is used by karaf-4.2.10.

Change-Id: Ife2e8508e7748c37e0b3cd57e8093face2fcac54
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump jackson to 2.10.5 22/93022/1
Robert Varga [Mon, 12 Oct 2020 10:04:11 +0000 (12:04 +0200)]
Bump jackson to 2.10.5

https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.10.5
also aligns with version used by karaf-4.2.10.

Change-Id: I0ba27831fa220a58656fb01e6e0f404a9dbab9ab
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Karaf to 4.2.10 92/92992/1
Stephen Kitt [Thu, 8 Oct 2020 09:20:38 +0000 (11:20 +0200)]
Bump Karaf to 4.2.10

Release notes:
https://issues.apache.org/jira/secure/
ReleaseNote.jspa?projectId=12311140&version=12348288

Change-Id: Ib0cb358a8c6ee377b57ac545109516322222bf10
Signed-off-by: Stephen Kitt <skitt@redhat.com>
3 years agoSuppress JaCoCo in opendaylight-karaf-resources 48/92848/1
Robert Varga [Fri, 2 Oct 2020 09:30:50 +0000 (11:30 +0200)]
Suppress JaCoCo in opendaylight-karaf-resources

Our sonar aggregation is running jacoco:report, which unfortunately
explodes on BC's JDK15 classes. We are not testing anything here,
hence just suppress jacoco.

Change-Id: I1349e92916788fcf1999f17600d39f900e5d6c2b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDefine sonar.java.source 36/92836/1
Robert Varga [Thu, 1 Oct 2020 20:08:01 +0000 (22:08 +0200)]
Define sonar.java.source

Our sonar jobs seem to think we are using Java 6 sources. Make sure
we align the version with what we are targetting with compilation.

Change-Id: I31da026d0b94ecaf2f90fce911db05af17da0db8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove unneeded jacoco report step 35/92835/1
Robert Varga [Thu, 1 Oct 2020 20:06:19 +0000 (22:06 +0200)]
Remove unneeded jacoco report step

report-aggregate actually doesn't do anything useful, as we do not
have any classes in the aggregator. Remove the step to prevent
confusion.

What we intended to do here is actually going to be achieved by
running jacoco:report in sonar jobs during sonar reporting invocation.

Change-Id: Ia57a885e60ed56b4162054e1ad20a7a706ee5cc8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump jacoco to 0.8.6 31/92831/1
Robert Varga [Thu, 1 Oct 2020 16:20:22 +0000 (18:20 +0200)]
Bump jacoco to 0.8.6

https://github.com/jacoco/jacoco/releases/tag/v0.8.6

Change-Id: I5fdfd315781b471f89072fe50cb459fce6524692
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions to 8.0.1-SNAPSHOT 56/92756/2
Robert Varga [Mon, 28 Sep 2020 16:23:05 +0000 (18:23 +0200)]
Bump versions to 8.0.1-SNAPSHOT

This starts the next development iteration.

Change-Id: Idbc1e87e24c3a896fdb8162038e75776a3972038
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd odlparent-8 release notes 55/92755/2
Robert Varga [Mon, 28 Sep 2020 16:22:27 +0000 (18:22 +0200)]
Add odlparent-8 release notes

Summarize the changes done in this release cycle in preparation for
release.

Change-Id: Ifca23bcadfed92776d810b6e50a7a76130b30cb7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoEnforce modernizer warnings by default 18/92718/4
Robert Varga [Fri, 25 Sep 2020 15:07:17 +0000 (17:07 +0200)]
Enforce modernizer warnings by default

Modernizer is reporting quite a few useful warnings, which should
be fixed to keep our codebase in best shape possible.

Make any reported warnings fail the build by default, while allowing
projects to opt out.

Change-Id: I55d76947ae6bf3a11beb309532ea678a7e37ab73
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoConfigure modernizer for Java 11 17/92717/4
Robert Varga [Fri, 25 Sep 2020 14:45:04 +0000 (16:45 +0200)]
Configure modernizer for Java 11

We require Java 11 these days, let's make sure modernizer targets
this release.

Add an exclusion for all rules involving Guava's immutable collections,
as we use them heavily and suggested replacements are not actually
one-to-one replacements.

Change-Id: I64f2ebfa37eeb1375c792af946ef18971623ae01
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRevert "Upgrade maven-bundle-plugin to 5.1.1" 34/92734/2
Robert Varga [Sat, 26 Sep 2020 23:05:56 +0000 (01:05 +0200)]
Revert "Upgrade maven-bundle-plugin to 5.1.1"

This reverts commit 59a3bdfd47d42ce22f952670074946cf75378ce3, as
the upgraded plugin does not generate correct provides, breaking
SCR.

https://issues.apache.org/jira/browse/FELIX-6337 tracks the issue
upstream.

Change-Id: Ifee016d8214681b6091affada738891ab4832001
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump immutables.org to 2.8.8 42/92642/1
Robert Varga [Wed, 23 Sep 2020 23:17:49 +0000 (01:17 +0200)]
Bump immutables.org to 2.8.8

https://github.com/immutables/immutables/releases/tag/2.8.0
https://github.com/immutables/immutables/releases/tag/2.8.1
https://github.com/immutables/immutables/releases/tag/2.8.2
https://github.com/immutables/immutables/releases/tag/2.8.3
https://github.com/immutables/immutables/releases/tag/2.8.4
https://github.com/immutables/immutables/releases/tag/2.8.8

Change-Id: Ic56b121f612956d4846bc69cedc4dd2f49e85ddf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump commons-net to 3.7 86/92586/1
Robert Varga [Tue, 22 Sep 2020 10:22:38 +0000 (12:22 +0200)]
Bump commons-net to 3.7

https://commons.apache.org/proper/commons-net/changes-report.html#a3.7

Change-Id: Id440f13080593f9a977bba8c30a8f5e12f257585
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRealign checker-qual/error_prone-annotations to Guava 79/92579/6
Robert Varga [Tue, 22 Sep 2020 06:59:52 +0000 (08:59 +0200)]
Realign checker-qual/error_prone-annotations to Guava

Guava is the component pulling these two in, relocate their
declaration to Guava and re-align with what 29.0 is using.

Change-Id: I8b024ea437bd24936b28c4394c57f5ba8b1db318
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump dropwizard-metrics to 4.1.12.1 72/92572/6
Robert Varga [Tue, 22 Sep 2020 06:22:17 +0000 (08:22 +0200)]
Bump dropwizard-metrics to 4.1.12.1

https://github.com/dropwizard/metrics/releases/tag/v4.1.10
https://github.com/dropwizard/metrics/releases/tag/v4.1.10.1
https://github.com/dropwizard/metrics/releases/tag/v4.1.11
https://github.com/dropwizard/metrics/releases/tag/v4.1.12
https://github.com/dropwizard/metrics/releases/tag/v4.1.12.1

Change-Id: I0236e27b8af2891613da8c69831933672b2f9fc2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove Felix Dependency Manager declaration 78/92578/4
Robert Varga [Tue, 22 Sep 2020 06:51:29 +0000 (08:51 +0200)]
Remove Felix Dependency Manager declaration

This is an ancient way of dealing with OSGi and has been superseded
by other technologies, such as Blueprint and OSGi DS. The only
user downstream in AAA, hence let that project deal with versions.

Change-Id: I431deb2f857afdaf44301ecc5767546e6f5b9344
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUpgrade maven-bundle-plugin to 5.1.1 77/92577/4
Robert Varga [Tue, 22 Sep 2020 06:42:32 +0000 (08:42 +0200)]
Upgrade maven-bundle-plugin to 5.1.1

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12346016

Change-Id: I4d415f40e5bf39a96ea493f808f69b066f7daafe
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump project-info-reports-plugin to 3.1.1 76/92576/4
Robert Varga [Tue, 22 Sep 2020 06:34:44 +0000 (08:34 +0200)]
Bump project-info-reports-plugin to 3.1.1

https://blogs.apache.org/maven/entry/apache-maven-project-info-reports1

Change-Id: I02e9314fc223026e183528dffca63539d025e2c6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump maven-archetype-plugin to 3.2.0 75/92575/4
Robert Varga [Tue, 22 Sep 2020 06:33:58 +0000 (08:33 +0200)]
Bump maven-archetype-plugin to 3.2.0

https://blogs.apache.org/maven/entry/apache-maven-archetype-plugin-version1

Change-Id: Iabbb80830bf37577b44b6a0c52374f6829ad7caf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump netty to 4.1.52.Final 74/92574/4
Robert Varga [Tue, 22 Sep 2020 06:32:42 +0000 (08:32 +0200)]
Bump netty to 4.1.52.Final

https://netty.io/news/2020/09/08/4-1-52-Final.html

Change-Id: Ibc21784d6c3b04662093ffaafabfe607b02ed2f3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump awaitility to 4.0.3 73/92573/3
Robert Varga [Tue, 22 Sep 2020 06:27:04 +0000 (08:27 +0200)]
Bump awaitility to 4.0.3

https://github.com/awaitility/awaitility/wiki/ReleaseNotes40

Change-Id: Ia8410699a5d467ea7c65bbf56179619dd669ecd6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump com.puppycrawl.tools/checkstyle to 8.36.1 71/92571/1
Robert Varga [Tue, 22 Sep 2020 06:18:59 +0000 (08:18 +0200)]
Bump com.puppycrawl.tools/checkstyle to 8.36.1

https://checkstyle.org/releasenotes.html#Release_8.35
https://checkstyle.org/releasenotes.html#Release_8.36
https://checkstyle.org/releasenotes.html#Release_8.36.1

Change-Id: Iff06ca1fff9735c7f234fae5697262bc7cdfc681
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump mockito to 3.5.11 70/92570/1
Robert Varga [Tue, 22 Sep 2020 06:15:57 +0000 (08:15 +0200)]
Bump mockito to 3.5.11

There is a number of changes here, detailed in
https://github.com/mockito/mockito/blob/release/3.x/doc/release-notes/official.md

Change-Id: Idc2a74d27ddc1193f8efe09862ba28a673916162
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Guava to 29.0 49/92549/2
Robert Varga [Mon, 21 Sep 2020 08:46:47 +0000 (10:46 +0200)]
Bump Guava to 29.0

https://github.com/google/guava/releases/tag/v29.0

Change-Id: Icece615b53640449bb877ebfd885e23a787c083a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove all Scala/Akka dependencies 89/92489/3
Robert Varga [Fri, 18 Sep 2020 21:00:12 +0000 (23:00 +0200)]
Remove all Scala/Akka dependencies

Akka has a next major release train, 2.6.x, which simply does not
work with OSGi unless we repackage it. Upstream is not interested
in fixing this problem and in fact is geared towards completely
removing OSGi support.

Completely remove any mention of Akka/Scala in odlparent, so that
controller and other downstreams can do their thing to use Akka
whichever way they see fit.

JIRA: ODLPARENT-243
Change-Id: Iab6fcd59d04cdd1abdefaa9f24d5582f28169fd4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUpgrade SCR to 2.1.24 46/92546/1
Robert Varga [Fri, 18 Sep 2020 06:04:14 +0000 (08:04 +0200)]
Upgrade SCR to 2.1.24

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12348094
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310100&version=12348738

JIRA: ODLPARENT-242
Change-Id: I53da147d6c9033731d2f59a9bbbfdb8987519f5f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 3bb0c81a8aa91252560345fd84a320eff08013c2)
(cherry picked from commit 38391190fe9c7728ced353ef75bab6c4b29b5a8a)

3 years agoUpgrade xtend to 2.23.0 88/92488/2
Robert Varga [Fri, 18 Sep 2020 20:50:16 +0000 (22:50 +0200)]
Upgrade xtend to 2.23.0

https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2020/09/01/version-2-23-0

Change-Id: I8ae589f2a0593da1b54c8ffff90214c0b7b25ab4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix commons-codec upgrade 01/92501/1
Robert Varga [Sat, 19 Sep 2020 13:02:31 +0000 (15:02 +0200)]
Fix commons-codec upgrade

Karaf's standard feature references version 1.14, make sure we align
to 1.15.

Change-Id: I9e6fff0d6080eade2b51a30bf9cd1233e5c2efc7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump commons-io 2.7 → 2.8.0 38/92438/1
Stephen Kitt [Fri, 11 Sep 2020 07:21:58 +0000 (09:21 +0200)]
Bump commons-io 2.7 → 2.8.0

https://commons.apache.org/proper/commons-io/changes-report.html#a2.8.0

Change-Id: Icd73518adf49bd88525d3dff1c999b607f33fc59
Signed-off-by: Stephen Kitt <skitt@redhat.com>
3 years agoBump commons-codec 1.14 → 1.15 74/92374/1
Stephen Kitt [Wed, 2 Sep 2020 11:09:26 +0000 (13:09 +0200)]
Bump commons-codec 1.14 → 1.15

Release notes:
http://www.apache.org/dist/commons/codec/RELEASE-NOTES.txt

Change-Id: I2887edd6c5743e02e10ff5131d311728adf38d26
Signed-off-by: Stephen Kitt <skitt@redhat.com>
3 years agoRemove org.eclipse.persistence declarations 78/92178/1
Robert Varga [Tue, 18 Aug 2020 10:53:48 +0000 (12:53 +0200)]
Remove org.eclipse.persistence declarations

These declarations are used by neutron only, remove them so it can
manage them as needed.

JIRA: ODLPARENT-237
Change-Id: I4bcff83ad03d2d057aa95a5ebb33ec9d5009edd3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove javax.json declaration 77/92177/2
Robert Varga [Tue, 18 Aug 2020 10:50:09 +0000 (12:50 +0200)]
Remove javax.json declaration

This declaration is not used anywhere except neutron, remove it
so that it can be properly managed there.

JIRA: ODLPARENT-238
Change-Id: I1b6f8a36f547f20d164dda82345f95f5a5aba196
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove jettison declaration 76/92176/2
Robert Varga [Tue, 18 Aug 2020 10:47:51 +0000 (12:47 +0200)]
Remove jettison declaration

This declaration is only used by lispflowmapping's integration
tests. Remove it.

JIRA: ODLPARENT-239
Change-Id: I3305fe8c62d0dcb624ee683d3c82a417e34fcc5f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove mina-sshd declaration 75/92175/1
Robert Varga [Tue, 18 Aug 2020 10:46:13 +0000 (12:46 +0200)]
Remove mina-sshd declaration

This declaration conflicts with Karaf, and we only use it netconf,
where we completely shade the artifacts required. Remove odl-apache-sshd
feature and all related declarations.

JIRA: ODLPARENT-233
Change-Id: I4917c6d132cd50f5dc22343de1fe583d0e30d3b1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions to 8.0.0-SNAPSHOT 24/92024/1
Robert Varga [Tue, 11 Aug 2020 06:31:39 +0000 (08:31 +0200)]
Bump versions to 8.0.0-SNAPSHOT

This starts the next major version.

Change-Id: Ib2d4955a705c35279e1e58985f19ac31b81c6c3d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump xtend to 2.22.0 40/91840/1
Robert Varga [Tue, 4 Aug 2020 08:22:07 +0000 (10:22 +0200)]
Bump xtend to 2.22.0

https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2020/06/02/version-2-22-0

Change-Id: Ie2472d187a177a7daccde987583ebfd5e346b607
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump commons-lang to 3.11 76/91676/3
Stephen Kitt [Mon, 27 Jul 2020 08:47:59 +0000 (10:47 +0200)]
Bump commons-lang to 3.11

https://downloads.apache.org/commons/lang/RELEASE-NOTES.txt

Change-Id: Ibcd57779a4fca35e9460e42145481a70f295e5f0
Signed-off-by: Stephen Kitt <skitt@redhat.com>
3 years agoBump commons-text to 1.9 77/91677/1
Stephen Kitt [Mon, 27 Jul 2020 09:31:14 +0000 (11:31 +0200)]
Bump commons-text to 1.9

https://commons.apache.org/proper/commons-text/changes-report.html#a1.9

Change-Id: I6540976070a634cfe8976167787894064bcfb0d7
Signed-off-by: Stephen Kitt <skitt@redhat.com>
3 years agoRequire all javadocs to be warning-free 76/91576/2
Robert Varga [Thu, 23 Jul 2020 08:12:25 +0000 (10:12 +0200)]
Require all javadocs to be warning-free

We have precious few javadocs, do not tolerate them being sloppy.

Change-Id: I35b53ca81ea0ac766a388b009adad5479ea9455e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions to 7.0.6-SNAPSHOT 33/91533/1
Robert Varga [Wed, 22 Jul 2020 09:28:45 +0000 (11:28 +0200)]
Bump versions to 7.0.6-SNAPSHOT

This starts the next development iteration.

Change-Id: I2295cb946c1aafb02452fcafeae6c7a2b4bd652a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd news for odlparent-7.0.5 20/91520/1
Robert Varga [Wed, 22 Jul 2020 09:25:12 +0000 (11:25 +0200)]
Add news for odlparent-7.0.5

We have a single bug fix, add a summary.

Change-Id: Ib430ca7d6c41ffc9536a0fa7cf64049ded7d783a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove packaging of epoll for aarch64 17/91517/1
Robert Varga [Wed, 22 Jul 2020 08:35:18 +0000 (10:35 +0200)]
Remove packaging of epoll for aarch64

This causes a regression on our primary platform. Revert support
until we package it properly.

JIRA: ODLPARENT-240
Change-Id: Ib01ca886d1fcd77605d747bcf13a6654a50ece00
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions to 7.0.5-SNAPSHOT 71/91371/1
Robert Varga [Fri, 17 Jul 2020 11:26:36 +0000 (13:26 +0200)]
Bump versions to 7.0.5-SNAPSHOT

This starts the next development iteration.

Change-Id: I775b351bbc6ea136983b132daf93ef463e045d26
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd NEWS for 7.0.4 70/91370/1
Robert Varga [Fri, 17 Jul 2020 10:48:07 +0000 (12:48 +0200)]
Add NEWS for 7.0.4

Summarize the changes made in this release cycle in preparation
for release.

Change-Id: Iecc3b36b1e9da248c1efe47fe3b368c09f825b19
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump triemap to 1.2.0 19/91319/2
Robert Varga [Tue, 14 Jul 2020 13:14:52 +0000 (15:14 +0200)]
Bump triemap to 1.2.0

https://github.com/PANTHEONtech/triemap/releases/tag/triemap-1.2.0

Change-Id: Ie064300dcc5dc80dbd657105f0510d012c096c04
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFixup dependency-check 20/91320/1
Robert Varga [Tue, 14 Jul 2020 13:25:53 +0000 (15:25 +0200)]
Fixup dependency-check

Netty upgrade updated bom location, update it in dependency-check.

Change-Id: I6b0b030f90a3a0bb77d686796f2ef5d0e083fc15
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd INFO.yaml for odlparent 53/91253/3
Anil Belur [Sun, 12 Jul 2020 01:11:46 +0000 (11:11 +1000)]
Add INFO.yaml for odlparent

Add initial import of project information.

Change-Id: I281b82d5222904dac69c7cce59e49ddf3e826525
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUpgrade Jersey to 2.27 83/90683/10
Robert Varga [Thu, 25 Jun 2020 06:25:33 +0000 (08:25 +0200)]
Upgrade Jersey to 2.27

Now that we have a more modern Karaf, with Jackson-2.10 and
javax.annotation-api-1.3.1, we should be able to upgrade to
JAX-RS 2.1 and Jersey-2.27.

https://eclipse-ee4j.github.io/jersey.github.io/release-notes/2.26.html
https://eclipse-ee4j.github.io/jersey.github.io/release-notes/2.27.html

JIRA: ODLPARENT-208
Change-Id: I57d583a160d2f40cc2c589ff7e5e89b736ae21e9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump netty to 4.1.51 43/89743/4
Robert Varga [Thu, 14 May 2020 08:25:35 +0000 (10:25 +0200)]
Bump netty to 4.1.51

Bump netty version and add native-epoll support on aarch64:
https://netty.io/news/2020/05/13/4-1-50-Final.html
https://netty.io/news/2020/07/09/4-1-51-Final.html

Change-Id: I2d3079426311a6132ddb68ee1625f08e95e6016a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd jersey-media-sse to odl-jersey-2 36/91236/3
Robert Varga [Sat, 11 Jul 2020 18:58:57 +0000 (20:58 +0200)]
Add jersey-media-sse to odl-jersey-2

Netconf is interested in providing Server Sent Events, add the media
driver needed.

Change-Id: I1e7f45d225046fc4b4220f03050f8cea4fff8bb3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAccess feature name/version only once 02/91002/1
Robert Varga [Wed, 8 Jul 2020 15:28:24 +0000 (17:28 +0200)]
Access feature name/version only once

Using multiple callouts here is a bit inefficient and does not
lend itself towards extension. Use local fields to store feature
name and version.

Change-Id: I298129691157ab787a50b25831d0cef88f6a14ed
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump Bouncy Castle to 1.66 81/90981/2
Robert Varga [Wed, 8 Jul 2020 09:19:16 +0000 (11:19 +0200)]
Bump Bouncy Castle to 1.66

https://www.bouncycastle.org/releasenotes.html, which notes an
incompatible change around qTESLA -- which should not matter to us.

Change-Id: Icf25ec47a0dd4bfd948245a8405195c43c2fc8be
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoClean up SFT use of assertions 62/90762/2
Robert Varga [Fri, 26 Jun 2020 15:12:45 +0000 (17:12 +0200)]
Clean up SFT use of assertions

This is a test, use proper static imports. Also remove use of
unneeded temporary variables.

Change-Id: Ic1e54121b3c328d8e4becfd3009239cb9d42a0a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump checkstyle to 8.34 70/90870/1
Robert Varga [Thu, 2 Jul 2020 12:53:21 +0000 (14:53 +0200)]
Bump checkstyle to 8.34

https://checkstyle.org/releasenotes.html#Release_8.33
https://checkstyle.org/releasenotes.html#Release_8.34

Change-Id: I1ee26d400a553e0b340820aa2b35f2c32dcd1676
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump maven-project-info-reports-plugin to 3.1.0 69/90869/1
Robert Varga [Thu, 2 Jul 2020 12:44:13 +0000 (14:44 +0200)]
Bump maven-project-info-reports-plugin to 3.1.0

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317821&version=12346620

Change-Id: I939a01d959fb5555bcdacedcb1d1cf495b1d8f7d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAllow testing on JDK12+ 27/90727/1
Robert Varga [Fri, 26 Jun 2020 11:00:34 +0000 (13:00 +0200)]
Allow testing on JDK12+

Karaf does not support anything newer than 11, disable SFT on those
platforms to allow forward testing. We still issue a message.

Change-Id: I0ec67a4c85e961848fc71bb8c591902c0cc16259
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump scala to 2.13.3 15/90715/2
Robert Varga [Thu, 25 Jun 2020 23:27:22 +0000 (01:27 +0200)]
Bump scala to 2.13.3

https://github.com/scala/scala/releases/tag/v2.13.3

Change-Id: Idafc4c72f06817a38261783bf4d6c78b3f85ee11
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump maven-shade-plugin to 3.2.4 16/90716/2
Robert Varga [Thu, 25 Jun 2020 23:40:57 +0000 (01:40 +0200)]
Bump maven-shade-plugin to 3.2.4

https://blogs.apache.org/maven/entry/apache-maven-shade-plugin-version5

Change-Id: I7907a8b2bd6d8413256852abdba43b5fb94b205f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoupdate poms wiki URL 85/90685/1
guillaume.lambert [Thu, 25 Jun 2020 07:15:16 +0000 (09:15 +0200)]
update poms wiki URL

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I2c84c7b855501014f6b9044ffdb8bf356787dc86