odlparent.git
4 years agoFix dependency-check update 25/87525/3
Robert Varga [Mon, 10 Feb 2020 09:49:29 +0000 (10:49 +0100)]
Fix dependency-check update

log4j2 update did not update the file, fix that up.

Change-Id: I268af8412ffc9cc6c88eb2756ff2954d42405eb8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFix a NEWS typo 23/87523/2
Robert Varga [Mon, 10 Feb 2020 09:37:05 +0000 (10:37 +0100)]
Fix a NEWS typo

JUnit version is spelled out wrong, fix that.

Change-Id: I59c2f645e6ac692896f3ae2935f38f592e8af0b3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump commons-codec 1.13 → 1.14 80/86780/5
Stephen Kitt [Tue, 7 Jan 2020 09:04:08 +0000 (10:04 +0100)]
Bump commons-codec 1.13 → 1.14

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

Change-Id: I5ab493c87cfe959849661985cc35ad7d0dd845de
Signed-off-by: Stephen Kitt <skitt@redhat.com>
4 years agoReplace coala with pre-commit 13/87513/1
Thanh Ha [Fri, 7 Feb 2020 20:52:30 +0000 (15:52 -0500)]
Replace coala with pre-commit

Coala hasn't had a release in years and pre-commit runs a bit faster
and has less requirements (no nodejs).

Additionally pre-commit doesn't just complain about the issues, it
actively resolves the issues for you. Locally a developer can
install the hooks with `pre-commit install` and onwards pre-commit
will automatically run against only the changed files every time
the developer types `git commit`.

A manual run against all files in the repo can be triggered by
running `pre-commit run --all-files`.

Change-Id: I4a065212158665b34da4f269baaa38e3fd4ddb84
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
4 years agoBump akka to 2.5.29 84/87284/1
Robert Varga [Thu, 30 Jan 2020 10:09:58 +0000 (11:09 +0100)]
Bump akka to 2.5.29

https://akka.io/blog/news/2019/12/10/akka-2.5.27-released
https://akka.io/blog/news/2020/01/28/akka-2.5.29-released

Change-Id: I397eb994e0acb80b638de0ac18578d0b7e0cb74a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump maven-source-plugin to 3.2.1 37/87137/1
Robert Varga [Sat, 25 Jan 2020 09:01:23 +0000 (10:01 +0100)]
Bump maven-source-plugin to 3.2.1

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

Change-Id: I3c99249cd74026d8ae950b2bd18bd8d1bcf4e0a5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump versions to 6.0.5-SNAPSHOT 60/86960/3
Robert Varga [Thu, 16 Jan 2020 10:05:13 +0000 (11:05 +0100)]
Bump versions to 6.0.5-SNAPSHOT

This starts the next development iteration.

Change-Id: I58e4f2aba0c8a860077cd6318e114ac3fd5532cc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate NEWS to reflect Netty upgrade 62/86962/1
Robert Varga [Thu, 16 Jan 2020 10:09:08 +0000 (11:09 +0100)]
Update NEWS to reflect Netty upgrade

Just mention the upgrade before we release.

Change-Id: If6f0a0bffd00bb2650c90e4ad901592943a273d0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump Netty 4.1.44 → 4.1.45 57/86957/1
Stephen Kitt [Thu, 16 Jan 2020 09:29:46 +0000 (10:29 +0100)]
Bump Netty 4.1.44 → 4.1.45

Release notes: https://netty.io/news/2020/01/13/4-1-45-Final.html

Change-Id: Id4b66b2926f193107de5fb05f2cab3d632fb8a04
Signed-off-by: Stephen Kitt <skitt@redhat.com>
4 years agoUpdate NEWS for 6.0.4 44/86944/1
Robert Varga [Wed, 15 Jan 2020 18:32:17 +0000 (19:32 +0100)]
Update NEWS for 6.0.4

Roll-up update of the changes that went into 6.0.4, prior to releasing
it.

Change-Id: I71612010354ad1800847c5d53304b4632ddf6b56
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUse https for Maven central 41/86941/2
Robert Varga [Wed, 15 Jan 2020 17:47:15 +0000 (18:47 +0100)]
Use https for Maven central

As explained in
https://support.sonatype.com/hc/en-us/articles/360041287334-Central-501-HTTPS-Required
Maven Central now requires HTTPS. Make sure we fix that.

While we are at it, remove the other repositories, as they are
just not there in upstream anymore.

Change-Id: Id9b578a1332cdbd52a279c9811b0b32fe183944a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMark filter-manifest-plugin as thread-safe 91/86591/3
Robert Varga [Fri, 27 Dec 2019 09:08:04 +0000 (10:08 +0100)]
Mark filter-manifest-plugin as thread-safe

This plugin can be used in parallel builds without affecting
functionality, mark it as such.

Change-Id: I50fcad3f3f88821e9427ba572d0ee21d9a748bb7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump junit to 4.13 56/74156/16
Robert Varga [Tue, 17 Jul 2018 20:45:54 +0000 (22:45 +0200)]
Bump junit to 4.13

https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.12.md
https://github.com/junit-team/junit4/blob/master/doc/ReleaseNotes4.13.md

As for PowerMock, its Getting Started guide explicitly references
4.12, so I suspect this has been fixed.

JIRA: ODLPARENT-211
Change-Id: Ib5535ba4d49ec4cc9fb38eda2aa98b191d875293
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump netty to 4.1.44 87/86687/3
Robert Varga [Fri, 3 Jan 2020 13:02:54 +0000 (14:02 +0100)]
Bump netty to 4.1.44

https://netty.io/news/2019/10/24/4-1-43-Final.html
https://netty.io/news/2019/12/18/4-1-44-Final.html

Change-Id: If5425f212e036f8d193a6a508a3e5232710fbc08
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump archetype-maven-plugin to 3.1.2 86/86686/2
Robert Varga [Fri, 3 Jan 2020 13:00:35 +0000 (14:00 +0100)]
Bump archetype-maven-plugin to 3.1.2

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

Change-Id: I5e866c3c8fa7fa728608938bbbce3b609d2e39db
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFix Hamcrest javadoc link 88/86688/1
Robert Varga [Fri, 3 Jan 2020 13:29:19 +0000 (14:29 +0100)]
Fix Hamcrest javadoc link

Javadoc here was not updated when we bumped to 2.2, fix that.

Change-Id: I99141db2eb204022bef6e26a3677dbff172a92ba
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAlign maven-bundle-plugin 4.2.1 in karaf-branding 62/86462/1
Stephen Kitt [Tue, 17 Dec 2019 15:51:34 +0000 (16:51 +0100)]
Align maven-bundle-plugin 4.2.1 in karaf-branding

This aligns the plugin version with the version used in odlparent.

Change-Id: I371fea3f60b4ce8d69fbe3c6b9d988db37db2249
Signed-off-by: Stephen Kitt <skitt@redhat.com>
4 years agoBump Log4J2 to 2.13.0 27/86427/2
Stephen Kitt [Mon, 16 Dec 2019 08:42:14 +0000 (09:42 +0100)]
Bump Log4J2 to 2.13.0

Changes: https://logging.apache.org/log4j/2.x/changes-report.html#a2.13.0

In particular, 2.13.0 provides an SLF4J-1.8-compatible connector.

Change-Id: I59bf9753304251681202c97781313f08d843480d
Signed-off-by: Stephen Kitt <skitt@redhat.com>
4 years agoDo not use remote console 57/86457/1
Robert Varga [Tue, 17 Dec 2019 03:00:53 +0000 (04:00 +0100)]
Do not use remote console

SFT is running unattended, there is no need for a remote console.
Make sure we ignore it.

Change-Id: I07c0c305d1f8454495267417dcc89e93541ab0ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAdd maven-assembly-plugin declaration 37/86437/1
Robert Varga [Mon, 16 Dec 2019 19:12:21 +0000 (20:12 +0100)]
Add maven-assembly-plugin declaration

Downstreams are using this plugin for various tasks, and the baseline
version is really old (2.2-beta5). Make sure we propagate an uptodate
version.

Change-Id: I04c3cb7f70694fea269e78223d64207765de3d4d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump versions to 6.0.4-SNAPSHOT 33/86333/1
Robert Varga [Tue, 10 Dec 2019 18:10:57 +0000 (19:10 +0100)]
Bump versions to 6.0.4-SNAPSHOT

This starts the next development iteration.

Change-Id: I841415cad9b8dee95d0049f80d2528f0796995ca
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFix metainf-services integration 32/86332/1
Robert Varga [Tue, 10 Dec 2019 18:08:31 +0000 (19:08 +0100)]
Fix metainf-services integration

This got broken by explicit annotation processor paths, hence it
is not a seamless upgrade. Add the processor to paths, so downstreams
can upgrade easily.

JIRA: ODLPARENT-216
Change-Id: Id4ebbf41f2a094c9b5fc52315f5a138d6f04a909
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump versions to 6.0.3-SNAPSHOT 28/86328/1
Robert Varga [Tue, 10 Dec 2019 14:29:09 +0000 (15:29 +0100)]
Bump versions to 6.0.3-SNAPSHOT

This starts the next development iteration.

Change-Id: Ia69c9b8c89a48fd276cedf342fe583e7e7110f71
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate NEWS for 6.0.2 27/86327/1
Robert Varga [Tue, 10 Dec 2019 12:15:54 +0000 (13:15 +0100)]
Update NEWS for 6.0.2

This updates the news in preparation for the next release.

Change-Id: Ib9f14cee4708a566d9289887a5a76a69000c3411
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRevert "Update GSON to 2.8.6" 26/86326/1
Robert Varga [Tue, 10 Dec 2019 12:16:34 +0000 (13:16 +0100)]
Revert "Update GSON to 2.8.6"

This reverts commit edbeb3e8d0988cc84e0cc062f7d22402505ba75d, as
GSON 2.8.6 seems to have quite a bit of trouble:

https://github.com/google/gson/issues/1601
https://github.com/google/gson/issues/1602
https://github.com/google/gson/issues/1608
https://github.com/google/gson/issues/1630

Let's wait for the dust to settle first.

Change-Id: I7d0c7b671a31bf9bf3a1861cc56b009bd0f724b6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAdd default repository to defaultRepositories 80/85880/1
Robert Varga [Mon, 18 Nov 2019 17:42:35 +0000 (18:42 +0100)]
Add default repository to defaultRepositories

SFT reconfigures the repository layout such that Karaf ends up
ignoring its default system repository, which contains various
edits we are doing for the baseline distribution.

This leads to SFT running actually against vanilla Karaf
definitions, which is not what we want.

We need to override the repository config to ensure we pick up
the maven repository, so we can find things like pax-exam, etc.

Fix this by setting org.ops4j.pax.url.mvn.defaultRepositories
to point to karaf.default.repository, so that it is consulted
*before* all other repositories.

JIRA: ODLPARENT-209
Change-Id: I6c0fe2716ca1f4aaf695f20dc142838e13cc9e81
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 032a0f970970aba54318360828c10f30861a463e)

4 years agoUpgrade sevntu/checkstyle to 1.36.0/8.26 56/85856/5
Robert Varga [Tue, 19 Nov 2019 13:34:33 +0000 (14:34 +0100)]
Upgrade sevntu/checkstyle to 1.36.0/8.26

https://sevntu-checkstyle.github.io/sevntu.checkstyle/#1.36.0
https://checkstyle.org/releasenotes.html#Release_8.21
https://checkstyle.org/releasenotes.html#Release_8.22
https://checkstyle.org/releasenotes.html#Release_8.23
https://checkstyle.org/releasenotes.html#Release_8.24
https://checkstyle.org/releasenotes.html#Release_8.25
https://checkstyle.org/releasenotes.html#Release_8.26

Change-Id: I955c613c706a6a62330f80dbe00d91a7e0f04e56
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate dependencycheck 69/85869/2
Robert Varga [Tue, 19 Nov 2019 18:12:39 +0000 (19:12 +0100)]
Update dependencycheck

Catch up with previous changes.

Change-Id: I2db3b12fcded6f129928482492f3cc99997a7887
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump maven-source-plugin to 3.2.0 62/85862/1
Robert Varga [Tue, 19 Nov 2019 16:15:00 +0000 (17:15 +0100)]
Bump maven-source-plugin to 3.2.0

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

Change-Id: Ibe3259659234c832e7798e6d928301addd74a163
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump maven-jar-plugin to 3.2.0 61/85861/1
Robert Varga [Tue, 19 Nov 2019 16:13:47 +0000 (17:13 +0100)]
Bump maven-jar-plugin to 3.2.0

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

Change-Id: I6eb5be570132ee4ca354535cec2898add01e708d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpgrade to karaf-4.2.6 97/85797/4
Robert Varga [Fri, 15 Nov 2019 13:53:02 +0000 (14:53 +0100)]
Upgrade to karaf-4.2.6

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

This includes some important upgrades:
org.apache.aries.blueprint.core from 1.10.1 to 1.10.2
jetty from 9.4.12.v20180830 to 9.4.18.v20190429

We deal with KARAF-6345 by downgrading pax-logging back to 1.10.1,
which causes the underlying problem not to surface.

Change-Id: Ie3f46cdfb0e856ebe760dff7472ae7aefa30286e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoEnforce Java at 11 62/85762/3
Robert Varga [Thu, 14 Nov 2019 10:42:20 +0000 (11:42 +0100)]
Enforce Java at 11

During startup, make sure the JVM version is exactly 11, because
our code requires Java 11 and karaf-4.2.2 does not support anything
newer.

JIRA: ODLPARENT-218
Change-Id: I8d46bc5c4f4fea565a8c7823271a6917eb825732
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFixup blueprint-core version 98/85798/1
Robert Varga [Sat, 16 Nov 2019 20:57:54 +0000 (21:57 +0100)]
Fixup blueprint-core version

karaf-4.2.5 is using blueprint-core 1.10.2, make sure to propagate
this version correctly.

Change-Id: I2d772a8233f7f1467fdc2abac6a7cc5075d0191d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFixup karaf-4.2.5 upgrade 95/85795/1
Robert Varga [Fri, 15 Nov 2019 19:50:14 +0000 (20:50 +0100)]
Fixup karaf-4.2.5 upgrade

We need to keep pax-web-api aligned with the karaf-shipped pax-web.
Also we forgot to upgrade javax.annotation-api as noted in the commit
message and finally we should be aligning Jolokia with our version.

Change-Id: Ic70f8dce2f9efdb208c5e20806694c469ac6d67e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 594985ed50e50a92e875be667daac6e22cdefec5)

4 years agoMake karaf patches versionless 94/85794/1
Robert Varga [Fri, 15 Nov 2019 13:30:33 +0000 (14:30 +0100)]
Make karaf patches versionless

Keeping patches with karaf.version is annoying, remove the versions
as we only support one karaf version.

Change-Id: Id54297f24cac1a6ed3136713a8dd00073ea6254f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit bccf9da9e4213a6ddcfb9a3af9740c8e2b0f8faa)

4 years agoBump karaf to 4.2.5 93/85793/1
Robert Varga [Fri, 15 Nov 2019 09:24:57 +0000 (10:24 +0100)]
Bump karaf to 4.2.5

This bumps karaf to 4.2.5, removing some workarounds we had to put
in place.

Notable upgrade is javax.annotation-api going from 1.2 to 1.3,
full release notes are here:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12344587
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12344856
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12345153

We also fix https://issues.apache.org/jira/browse/KARAF-6259 by
manually downgrading Equinox.

Change-Id: If9719909389df5c0b92c9aade0356d4a314ff756
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 2e35dfeaaf555598bbf10b00cc046e7a198d081b)

4 years agoParse docs version from pom.xml 65/85565/3
Thanh Ha [Mon, 4 Nov 2019 17:15:23 +0000 (12:15 -0500)]
Parse docs version from pom.xml

Also clean up unused configuration in conf.py.

Issue: DOCS-113
Change-Id: I3ac511ebb6010a5d0b6822d976c761a8d40f9146
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
4 years agoAdd immutables.value to annotationProcessorPaths 46/85546/5
Robert Varga [Mon, 4 Nov 2019 10:52:22 +0000 (11:52 +0100)]
Add immutables.value to annotationProcessorPaths

Immutables do not work in our setup with JPMS modules, as they
are not picked up from general dependency path. Also we do not need
the full dependency in each module, just the annotations package.

This is based on:
https://github.com/immutables/immutables/issues/713#issuecomment-419750206
https://github.com/immutables/immutables/issues/750
https://github.com/immutables/immutables/issues/745#issuecomment-375952158

JIRA: ODLPARENT-216
Change-Id: Ib1b6f89b537fe27dbf68bec166b7ebdab042c483
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump H2 to 1.4.200 44/85544/2
Robert Varga [Mon, 4 Nov 2019 10:20:58 +0000 (11:20 +0100)]
Bump H2 to 1.4.200

http://www.h2database.com/html/changelog.html

Change-Id: Ibe4e41ecfec9e406d075d16f06c0e92ab52cd755
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump modernizer-maven-plugin to 2.0.0 43/85543/2
Robert Varga [Mon, 4 Nov 2019 10:12:30 +0000 (11:12 +0100)]
Bump modernizer-maven-plugin to 2.0.0

https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-2.0.0

Change-Id: Idb4c2139c80b8ee45ff4bfa50b7950da78812112
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate GSON to 2.8.6 42/85542/2
Robert Varga [Mon, 4 Nov 2019 10:08:06 +0000 (11:08 +0100)]
Update GSON to 2.8.6

https://github.com/google/gson/blob/master/CHANGELOG.md#version-286

Change-Id: I2341caeade76d33f34bd9255a756b5768f0a17ea
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump hamcrest to 2.2 41/85541/1
Robert Varga [Mon, 4 Nov 2019 10:06:41 +0000 (11:06 +0100)]
Bump hamcrest to 2.2

https://github.com/hamcrest/JavaHamcrest/releases/tag/v2.2

Change-Id: I56c118eb0b6dc5bf2b0d4d9f542d55388b1531e6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump maven-bundle-plugin to 4.2.1 40/85540/1
Robert Varga [Mon, 4 Nov 2019 10:04:13 +0000 (11:04 +0100)]
Bump maven-bundle-plugin to 4.2.1

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

Change-Id: Idb89938780fb6453faf511d0672877fe5d3a5f8e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump akka to 2.5.26 60/85360/1
Robert Varga [Wed, 23 Oct 2019 12:39:35 +0000 (14:39 +0200)]
Bump akka to 2.5.26

https://akka.io/blog/news/2019/10/17/akka-2.5.26-released

Change-Id: I7a954da3b5855e1555ad17d5d6404859fe6a1509
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump JaCoCo to 0.8.5 21/85321/2
Robert Varga [Mon, 21 Oct 2019 21:59:34 +0000 (23:59 +0200)]
Bump JaCoCo to 0.8.5

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

Change-Id: I0e12e7f21f40e2c45f4f9d54a747199d82f4494c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate powermock to 2.0.4 20/85320/1
Robert Varga [Mon, 21 Oct 2019 21:52:19 +0000 (23:52 +0200)]
Update powermock to 2.0.4

No official release notes (yet?), the following issues are fixed:
https://github.com/powermock/powermock/issues/685
https://github.com/powermock/powermock/issues/992
https://github.com/powermock/powermock/issues/939

Change-Id: Ie8266a961c75cb0dcb606e4639ef0b91a8992b5e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump versions to 6.0.2-SNAPSHOT 91/85191/3
Robert Varga [Thu, 17 Oct 2019 19:25:59 +0000 (21:25 +0200)]
Bump versions to 6.0.2-SNAPSHOT

This starts the next development iteration.

Change-Id: I737cd87d22894af327dfa775992b84ff443d1cc2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoSwitch leveldbjni-all parent to odlparent 12/85212/1
Robert Varga [Fri, 18 Oct 2019 17:51:47 +0000 (19:51 +0200)]
Switch leveldbjni-all parent to odlparent

We are exporting a code artifact, better use the odlparent for
that, so that all dance around javadoc/sources is taken care of.

JIRA: ODLPARENT-210
Change-Id: Id1e8fd21f81b9b17d296acef89ee7ba790815bb1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFix leveldbjni-all not having sources 93/85193/1
Robert Varga [Fri, 18 Oct 2019 07:47:31 +0000 (09:47 +0200)]
Fix leveldbjni-all not having sources

It seems we cannot deploy artifacts without sources, hence we
attach a dummy source code attachment.

JIRA: ODLPARENT-210
Change-Id: I994df58760b3044c8d9b26af7fe687fd98266253
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate NEWS for odlparent-6.0.1 90/85190/1
Robert Varga [Thu, 17 Oct 2019 16:43:30 +0000 (18:43 +0200)]
Update NEWS for odlparent-6.0.1

This updates NEWS in preparation for 6.0.1 release.

Change-Id: Ic400fc8983031e2e2db9a95dbd0196be46c6081c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mockito to 2.28.2 76/85176/1
Robert Varga [Thu, 17 Oct 2019 09:51:59 +0000 (11:51 +0200)]
Bump mockito to 2.28.2

https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2252
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2253
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2254
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2255
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2256
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2257
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2261
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2262
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2271
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2272
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2273
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2274
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2275
https://github.com/mockito/mockito/blob/release/2.x/doc/release-notes/official.md#2280

The most interesting part is 2.27.5, which fixes interaction with
JaCoCo 0.8.4, which is plaguing lispflowmapping.

Change-Id: I451b8830e26950153e9db9b24caddc0246537717
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump BouncyCastle to 1.64 74/85174/1
Robert Varga [Thu, 17 Oct 2019 08:49:50 +0000 (10:49 +0200)]
Bump BouncyCastle to 1.64

https://www.bouncycastle.org/releasenotes.html, fixing
CVE-2019-17359 introduced by 1.63.

Change-Id: I1deb437a7e2ae8e30ed2266dea846d56f0cc9fbb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAdd an override for ARIES-1923 73/85173/1
Robert Varga [Thu, 17 Oct 2019 08:48:25 +0000 (10:48 +0200)]
Add an override for ARIES-1923

This replaces the feature definition to pull in proxy-impl-1.1.6
instead of stock 1.1.3.

Change-Id: I7e371aad44c561861ec987d00558e7906098564d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRefactor URL replacement in karaf-plugin 40/85140/1
Robert Varga [Wed, 16 Oct 2019 08:57:29 +0000 (10:57 +0200)]
Refactor URL replacement in karaf-plugin

We need to be mindful of file separators when dealing with URI/URLs.
While File-based strings are using platform-dependend separator,
either '/' (Unices) or '\' (Windows et al.), file: URI scheme is
using '/' to separate path components (as per RFC8089).

Make sure we preserve the semantic context and perform proper
conversion between the two representations.

JIRA: ODLPARENT-214
Change-Id: I8d20ee1bdb4bfb3c1f675423a3849082c21fe26c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRemove karaf.version 39/85139/1
Robert Varga [Wed, 16 Oct 2019 08:45:13 +0000 (10:45 +0200)]
Remove karaf.version

This just overrides definition we are getting from odlparent,
which is already at the right version.

Change-Id: I2f6a933d7ac1316cba225725496cd9fc3775f3f1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMake sure CLI components are scope=provided 25/85125/1
Robert Varga [Tue, 15 Oct 2019 16:34:28 +0000 (18:34 +0200)]
Make sure CLI components are scope=provided

We are filtering dependencies, but if downstreams fail to set these
dependencies to provided we'll end up pull in transitive dependencies
are required -- and those are provided by the platform. Mark CLI
components as provided, as that is what they are.

Change-Id: I32c6f4d3b24591d828d808c13849907176fd0f99
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRemove duplicate jdepend-maven-plugin declaration 92/85092/1
Robert Varga [Sun, 13 Oct 2019 08:17:25 +0000 (10:17 +0200)]
Remove duplicate jdepend-maven-plugin declaration

This declaration is already present in odlparent-lite, eliminate
the duplicate.

Change-Id: I8518a3fbc83762f6c930d98202915b480ba73fb2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoDisable slf4j SSL link 55/85055/2
Robert Varga [Fri, 11 Oct 2019 12:01:55 +0000 (14:01 +0200)]
Disable slf4j SSL link

slf4j does not provide apidocs over TLS, link HTTP site instead.

Change-Id: I2158c043a2d9e810a329587159fc6af9d57d8e56
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump guice to 4.2.2 37/84837/2
Robert Varga [Tue, 1 Oct 2019 09:53:10 +0000 (11:53 +0200)]
Bump guice to 4.2.2

https://github.com/google/guice/wiki/Guice42
https://github.com/google/guice/wiki/Guice421
https://github.com/google/guice/wiki/Guice422

Change-Id: Ib17e3cb73a1e31fd5ca3fb6eca66b7d1d2cd9e7e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump Javassist to 3.26.0-GA 29/85029/1
Robert Varga [Thu, 10 Oct 2019 07:55:34 +0000 (09:55 +0200)]
Bump Javassist to 3.26.0-GA

3.25 fixes:
- https://github.com/jboss-javassist/javassist/issues/72
- https://github.com/jboss-javassist/javassist/issues/241
- https://github.com/jboss-javassist/javassist/issues/242
- https://github.com/jboss-javassist/javassist/issues/246
- https://github.com/jboss-javassist/javassist/issues/252
3.26 fixes:
- https://github.com/jboss-javassist/javassist/issues/265
- https://github.com/jboss-javassist/javassist/issues/270
- https://github.com/jboss-javassist/javassist/issues/271
- https://github.com/jboss-javassist/javassist/issues/275

Of these #270 is most important, as it fixes an issue we've seen
with powermock downstream.

Change-Id: Ib4d75d6411e71438436249a8eb9313ccf4411ca2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump jackson to 2.9.10 45/84845/9
Robert Varga [Tue, 1 Oct 2019 11:33:53 +0000 (13:33 +0200)]
Bump jackson to 2.9.10

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

This release also accidentally bumps woodstox-core dependency
to 5.3.0, which forces us to upgrade stax2-api to 4.2:

https://github.com/FasterXML/woodstox/wiki/Woodstox-Release-5.1
https://github.com/FasterXML/woodstox/wiki/Woodstox-Release-5.2
https://github.com/FasterXML/woodstox/wiki/Woodstox-Release-5.3

https://github.com/FasterXML/stax2-api/blob/master/release-notes/VERSION

Unfurtunate, but we need this for CVE fixes.

Change-Id: If1bb6b237342f80616dd25cfeb5cb63b4e0d169f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUse python3 as basepython for docs 78/84878/2
Thanh Ha [Wed, 2 Oct 2019 13:16:34 +0000 (09:16 -0400)]
Use python3 as basepython for docs

Python 2 is soon to be EOL and we've been having issues with it as of
late. Bump to Python 3 as the basepython to see if it helps with the
pytest issue:

ERROR: Package u'pytest' requires a different Python: 2.7.5 not in '>=3.5'

Issue: https://jira.linuxfoundation.org/servicedesk/customer/portal/2/IT-17699
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ie4c4547c9523ff5cf6c8d42e49a9514a07938e61

4 years agoUse fileSeparator to concat /etc 12/84912/1
Robert Varga [Fri, 4 Oct 2019 10:39:29 +0000 (12:39 +0200)]
Use fileSeparator to concat /etc

On windows we have a different file separator, this is probably
causing:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.opendaylight.odlparent:karaf-plugin:6.0.0:populate-local-repo (populate-local-repo) on project distribution.opendaylight-karaf: Failed to execute: Could not resolve URI: file:D:\Open-Day-Light\magnesium-mri\controller\karaf\target\assembly/etc/3099bac6-f5e3-4ba5-81f1-de70eb9fc227.xml: Illegal character in opaque part at index 7: file:D:\Open-Day-Light\magnesium-mri\controller\karaf\target\assembly/etc/3099bac6-f5e3-4ba5-81f1-de70eb9fc227.xml -> [Help 1]

Change-Id: Id264d4bb0e15cde47da6913996d173e9bf5ea03e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRemove accidental tabs 79/84879/1
Robert Varga [Wed, 2 Oct 2019 13:37:24 +0000 (15:37 +0200)]
Remove accidental tabs

Previous patch added some tabs, remove them.

Change-Id: Ib93a05639d45ae6129a939084d657c80b501610c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpgrade reactive-streams to 1.0.3 46/84846/3
Robert Varga [Tue, 1 Oct 2019 11:40:03 +0000 (13:40 +0200)]
Upgrade reactive-streams to 1.0.3

http://www.reactive-streams.org/announce-1.0.3

Change-Id: I52f724471f516e50e65d252a142a688ffe768a9a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump netty to 4.1.42 44/84844/2
Robert Varga [Tue, 1 Oct 2019 11:16:59 +0000 (13:16 +0200)]
Bump netty to 4.1.42

https://netty.io/news/2019/09/12/4-1-41-Final.html
https://netty.io/news/2019/09/25/4-1-42-Final.html

Change-Id: I3882602046370e4ee861335955258510bddd490e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAdd leveldbjni-all repackaging 94/84794/8
Robert Varga [Sat, 28 Sep 2019 11:09:25 +0000 (13:09 +0200)]
Add leveldbjni-all repackaging

We are publishing all our artifacts to Maven Central, but this jar
has been seeded into our Nexus manually after upstream failed to
make a public release of the contribution for years.

This jar is not present in Central and hence most our features do
not work out of the box, as you still need to point to ODL Nexus
to get this one jar.

This patch rectifies that situation by re-packaging this jar in
org.opendaylight.odlparent namespace and referencing it in our
features.

JIRA: ODLPARENT-210
Change-Id: I16895d6e9e2572ab85db9c509e06306c7acc441d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMove maven-{antrun,jar,resource}-plugin declaration 93/84793/1
Robert Varga [Sat, 28 Sep 2019 11:52:25 +0000 (13:52 +0200)]
Move maven-{antrun,jar,resource}-plugin declaration

These plugins are useful in odlparent-lite-derived projects, move
their version declaration.

Change-Id: Idb0046ef59a48dfc3a70d3e7d5a195cbb7a89ba7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump pt-triemap to 1.1.0 78/84778/2
Robert Varga [Fri, 27 Sep 2019 10:05:16 +0000 (12:05 +0200)]
Bump pt-triemap to 1.1.0

https://github.com/PantheonTechnologies/triemap/releases/tag/triemap-1.1.0

Change-Id: Ib2fa93f5a85d16b5550d7555df87a922a8adad56
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAdd a missing space 90/84690/1
Robert Varga [Tue, 24 Sep 2019 12:59:27 +0000 (14:59 +0200)]
Add a missing space

The bullet list is not formatting correctly, fix that.

Change-Id: Ib1c9df2c4aa5cfae3a4f183734fdc73a8e4b4545
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump version to 6.0.1-SNAPSHOT 83/84683/1
Robert Varga [Tue, 24 Sep 2019 07:22:58 +0000 (09:22 +0200)]
Bump version to 6.0.1-SNAPSHOT

This starts the next development cycle.

Change-Id: Ic3a8b6ef59a5ed59a38efbb18270d7b641295d44
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate NEWS.rst for odlparent-6.0.0 59/84259/12
Robert Varga [Fri, 6 Sep 2019 15:04:14 +0000 (17:04 +0200)]
Update NEWS.rst for odlparent-6.0.0

This sums up the updates, making us ready for the release.

Change-Id: I929262d7142509caffbdf9f8204ff6601a265ba8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump BouncyCastle to 1.63 51/84651/1
Robert Varga [Mon, 23 Sep 2019 09:34:13 +0000 (11:34 +0200)]
Bump BouncyCastle to 1.63

https://www.bouncycastle.org/releasenotes.html

Change-Id: I3b7e0e440a3db38bdce8818b823b75f445c64103
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate maven-dependency-plugin lifecycle mapping 98/84498/1
Robert Varga [Mon, 16 Sep 2019 06:36:05 +0000 (08:36 +0200)]
Update maven-dependency-plugin lifecycle mapping

We have changed the goal on unpack-license without adjusting
lifecycle mapping, which is making Eclipse Not Happy (tm). Fix
that up.

Change-Id: Ia65d4f3de6dd070a9e8c7390db2394d5793b6f9c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAllow modernizer-maven-plugin target to be tuned 95/84495/1
Robert Varga [Mon, 16 Sep 2019 03:36:58 +0000 (05:36 +0200)]
Allow modernizer-maven-plugin target to be tuned

Downstream projects may want to target a different Java version,
this patch exposes a nice knob to achieve exactly that.

Change-Id: I7e25b9ff6e6143a7ce610a2c5657d966f774a859
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mina-sshd to 2.3.0 53/84353/4
Robert Varga [Fri, 13 Sep 2019 01:27:15 +0000 (03:27 +0200)]
Bump mina-sshd to 2.3.0

https://github.com/apache/mina-sshd/blob/master/docs/changes/2.3.0.md

Change-Id: Ib99b3a6f38dd74398a49f8d5e1999b9bf3138539
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump git-commit-id-plugin to 3.0.1 39/84339/3
Robert Varga [Thu, 12 Sep 2019 14:29:15 +0000 (16:29 +0200)]
Bump git-commit-id-plugin to 3.0.1

https://github.com/git-commit-id/maven-git-commit-id-plugin/releases/tag/v3.0.0
https://github.com/git-commit-id/maven-git-commit-id-plugin/releases/tag/v3.0.1

As version 3.0.0+ would now perform a 'git fetch' to resolve
branch ahead/beind properties, we force the plugin to operate
in offline mode, which is what we want anyway.

Change-Id: Iafe85cbca5b47d3cd5c529bca5e8a3d93bd7f3fe
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMigrate docs into the project 70/76070/4
Stephen Kitt [Thu, 13 Sep 2018 17:00:07 +0000 (19:00 +0200)]
Migrate docs into the project

This disables the root Sphinx setup and uses the same docs setup as
other ODL projects.

The developer’s guide is outdated but will be updated in a later
commit.

Change-Id: I5201529c52fe55fec7540464f896e703affdb350
Signed-off-by: Stephen Kitt <skitt@redhat.com>
4 years agoBump Scala to 2.12.10 13/84313/1
Robert Varga [Tue, 10 Sep 2019 23:03:06 +0000 (01:03 +0200)]
Bump Scala to 2.12.10

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

Change-Id: I1cf9ccb8a27ea499bf70c875482aeca18013c05b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump modernizer to 1.9.0 61/84261/1
Robert Varga [Fri, 6 Sep 2019 17:36:02 +0000 (19:36 +0200)]
Bump modernizer to 1.9.0

https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.9.0

Most important is the JPMS friendliness provided by the annotations.

Change-Id: I571df445b9e4c1d0d77ec33ec6e4679c1eeeb879
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoDo not tolerate unresolved URLs 51/84151/6
Robert Varga [Mon, 2 Sep 2019 21:40:07 +0000 (23:40 +0200)]
Do not tolerate unresolved URLs

Not resolving repositories results in overrides not being applied
as they should be, leading to half-broken results. Do not tolerate
this happening.

As this causes the build to fail on our failure to expand karaf.etc
property, fix that up as well.

Change-Id: I5f4956215f7f016cdd012945ca0caf3d1ff2882c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate maven-dependency-plugin dependencies 29/84229/3
Robert Varga [Thu, 5 Sep 2019 16:54:41 +0000 (18:54 +0200)]
Update maven-dependency-plugin dependencies

In order to support analysis of Java 11 (version 55) classes, we
need to pull in an updated version of maven-dependency-analyzer.

Details are here: https://issues.apache.org/jira/browse/MDEP-613

Change-Id: Ib8ac01600da72244f243073990f0761d3ce5f655
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump commons-text 1.7 → 1.8 04/84204/1
Stephen Kitt [Wed, 4 Sep 2019 15:52:54 +0000 (17:52 +0200)]
Bump commons-text 1.7 → 1.8

Release notes:
https://commons.apache.org/proper/commons-text/changes-report.html#a1.8

Change-Id: I5b4129ddceb19f89b4db83d034c980bb4cdd7794
Signed-off-by: Stephen Kitt <skitt@redhat.com>
4 years agoFix duplicate spifly jars 49/84149/2
Robert Varga [Mon, 2 Sep 2019 21:25:30 +0000 (23:25 +0200)]
Fix duplicate spifly jars

While investigating a blueprint issue, I came across:

[WARNING] Duplicate versions for org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle::jar, 1.2 and 1.0.10

Which boils dows to a disagreement between karaf standard feature
and pax-web-features. Since this is a dependency, just use the
version from Karaf, which is going to win anyway.

Change-Id: I8c9f455da21971e14197b3a0917c8fbe0a38710f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump xtend to 2.19.0 55/84155/1
Robert Varga [Tue, 3 Sep 2019 06:36:56 +0000 (08:36 +0200)]
Bump xtend to 2.19.0

https://www.eclipse.org/Xtext/releasenotes.html#/releasenotes/2019/09/03/version-2-19-0

Change-Id: I53e7748a29f2d547394a21073be3663799351df9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump xtend to 2.18.0 21/83621/2
Robert Varga [Tue, 6 Aug 2019 12:31:40 +0000 (14:31 +0200)]
Bump xtend to 2.18.0

https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2019/06/04/version-2-18-0

Change-Id: Ie2ac47c42fe38ecf319ca67e6f09027bc8e90e2a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump akka to 2.5.25 19/84119/1
Robert Varga [Mon, 2 Sep 2019 05:44:09 +0000 (07:44 +0200)]
Bump akka to 2.5.25

https://akka.io/blog/news/2019/08/20/akka-2.5.25-released

Change-Id: I948449a7704ce3af19b123d3af8a03ada4ba5b2a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump slf4j 1.7.25 → 1.7.28 10/83910/3
Robert Varga [Thu, 22 Aug 2019 14:34:55 +0000 (16:34 +0200)]
Bump slf4j 1.7.25 → 1.7.28

https://www.slf4j.org/news.html

The main news is the inclusion of JPMS declarations, which allows
us to make progress in using explicit modules.

Change-Id: Ieaa490f48490363997eee02edaf8f4d2fefd1ae8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoAllow -Pq to skip Checkstyle and SpotBugs 01/83901/3
Stephen Kitt [Thu, 22 Aug 2019 13:15:39 +0000 (15:15 +0200)]
Allow -Pq to skip Checkstyle and SpotBugs

With the recent changes to enable Checkstyle and SpotBugs by default,
-Pq no longer skips them. This moves the properties to odlparent-list
and fixes -Pq. Modernizer gets the same treatment.

Change-Id: I2c2ff977179e84833407b13d678fa84ec6f08845
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRework license packaging 70/83870/5
Robert Varga [Wed, 21 Aug 2019 13:56:41 +0000 (15:56 +0200)]
Rework license packaging

Rather than mucking with unpacking jars, let's just attach
the license file and have the execution copy it to classes.

Change-Id: I3b6105ba7055ebdd9de14664ce7c870daff4e976
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoSilence karaf preparation a bit 75/83875/2
Robert Varga [Wed, 21 Aug 2019 14:22:33 +0000 (16:22 +0200)]
Silence karaf preparation a bit

This explicitly tags the copy operation and silences it, so we get
a bit cleaner logs.

Change-Id: I50414650a9816e67f312b9fdc0c75b77f3348b89
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump jaxb to 2.3.0 79/83879/4
Robert Varga [Thu, 22 Aug 2019 06:22:56 +0000 (08:22 +0200)]
Bump jaxb to 2.3.0

Since we are requiring Java 11, we can match the declaration with
what Karaf provides. Version 2.3.0 does not pull in stax-api, so
we can remove that exclusion.

As for the implementation, we declare glassfish-2.3.1, as that is
what karaf ships.

Change-Id: I4acb7971d12b825697e46f8bc008eda40740a623
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRe-enable blueprint preemptive shutdown 81/83881/2
Robert Varga [Thu, 22 Aug 2019 08:29:18 +0000 (10:29 +0200)]
Re-enable blueprint preemptive shutdown

This was disabled for the purposes of Config Subsystem, which has
been completely removed in Fluorine. Remove the knob now.

JIRA: ODLPARENT-34
Change-Id: I6d78065013f0349652813e822c5b122be1e2244a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRemove netconf properties 80/83880/2
Robert Varga [Thu, 22 Aug 2019 08:26:40 +0000 (10:26 +0200)]
Remove netconf properties

These properties are related to netconf/CSS integration, which has
been removed in Fluorine. Remove the property bits, too.

Change-Id: I93d48c2608e37aaafd962d300b7159a2fc72abc3
JIRA: ODLPARENT-34
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoEnforce checkstyle by default 78/83878/2
Robert Varga [Wed, 21 Aug 2019 18:44:31 +0000 (20:44 +0200)]
Enforce checkstyle by default

This enables checkstyle enforcement by default, while allowing
downstreams to control the behavior via
odlparent.checkstyle.{enforce,skip} properties.

JIRA: ODLPARENT-206
Change-Id: I446525cfd3f3a4cd0f39f83ee36f9d8eaff4e6b9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoEnforce spotbugs by default 77/83877/3
Robert Varga [Wed, 21 Aug 2019 17:31:58 +0000 (19:31 +0200)]
Enforce spotbugs by default

This exposes a new property, odlparent.spotbugs.enforce, which
controls whether spotbugs-maven-plugin should fail the build when
any violations are found.

JIRA: ODLPARENT-205
Change-Id: Id1bd3f2e7941af023e2bbdc9c435d7d5c9e009e6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoDo not fail build on modernizer violations by default 45/83845/3
Robert Varga [Wed, 21 Aug 2019 10:27:13 +0000 (12:27 +0200)]
Do not fail build on modernizer violations by default

Modernizer reports a huge number of issues with our current codebase,
hence we should not force this upon our downstreams.

This patch makes enforcement disabled by default, with a simple
odlparent.modernizer.enforce=true allowing enforcement to be switched
on by downstream pom.xmls.

Similarly, the plugin can be disabled by defining
odlparent.modernizer.skip=true.

JIRA: ODLPARENT-203
Change-Id: I876c998d02d54ba4b24d9bc1e8667bf0a884304a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoSilence framework extension unpack 74/83874/1
Robert Varga [Wed, 21 Aug 2019 14:17:09 +0000 (16:17 +0200)]
Silence framework extension unpack

This eliminates a tiny bit of noise when we are unpacking
framework extensions.

Change-Id: I7333113f7feff1d9e8ad7e0c1c309daafc7dfbe2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMove build-helper-maven-plugin declaration 69/83869/2
Robert Varga [Wed, 21 Aug 2019 13:57:34 +0000 (15:57 +0200)]
Move build-helper-maven-plugin declaration

Builder helper is useful in simple poms, where it can be used to
attach files. Move its declaration to odlparent-lite, so it is widely
available.

Change-Id: I84a235707b72287d7121c77ee3a0b7dd2958f965
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump sevntu to 1.35.0 39/83639/2
Robert Varga [Thu, 15 Aug 2019 00:21:11 +0000 (02:21 +0200)]
Bump sevntu to 1.35.0

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

Change-Id: I2ccb96334c7b6911b3bf88ac36db407053f844ed
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>