Commit Graph

596 Commits

Author SHA1 Message Date
Robbie Gemmell 98e5e19849 ARTEMIS-3347: update various commons-io usages, and bump all to latest
Consolidates and aligns versions missed in 73bcc78beb
2021-06-15 12:55:20 +01:00
Justin Bertram a4c1155a01 ARTEMIS-3341 update checkstyle to latest + update code
As a follow-up to #3618/dc7de893747b90b627d729f9f18a758bb4dad9d5 update
checkstyle to the latest version, restoring the originally intended
"RightCurly" style, and updating all the code to properly adhere to the
style as enforced by the new checkstyle version.

The version of checkstyle we used before the aforementioned commit had
a bug which didn't properly enforced our intended "RightCurly" style
(see https://github.com/checkstyle/checkstyle/issues/6345). That commit
changed the style to accommodate the handful of unintended style
violations. This commit reverts that change for 2 main reasons:
 - The style was always intended to use `alone` for both `METHOD_DEF`
and `CTOR_DEF`.
 - There are over 1,000 existing uses of the intended style and around
30 violations of this style which were unintentionally allowed.

Reverting the style back to the original and cleaning up the unintented
violations makes the code more consistent and prevents further style
inconsistencies in the future.

There were a handful of other changes related to checkstyle bugs which
allowed unintended style violations. These were related to indentation
levels.

This closes #3619
(with some minor changes from Robbie to fix remaining violations)
2021-06-11 12:16:04 +01:00
Robbie Gemmell dc7de89374 ARTEMIS-3341: update checkstyle, use consistent plugin version, fix some issues or tweak config to allow existing style 2021-06-10 20:53:16 +01:00
Andy Taylor 88122e0cd1 ARTEMIS-3331 - RA improvements to work well with more Servers
https://issues.apache.org/jira/browse/ARTEMIS-3331
2021-06-10 14:13:10 -04:00
Robbie Gemmell eb4723cdc1 NO-JIRA: update broken repo/website URLs in pom to point to something useful 2021-06-09 15:49:15 +01:00
gtully 7e15de6339 no-jira - consolidate mvn-war-plugin version in play 2021-06-08 14:15:52 +01:00
gtully 085766033b no jira - remove unused log4j dependency 2021-06-08 10:19:12 +01:00
Robbie Gemmell c24a2faf52 NO-JIRA: remove profiled module definitions which duplicate the base module set, delete empty profile
both look to have been unnecessary since Artemis 1.1 via 649edd3a37
2021-06-04 15:05:22 +01:00
Robbie Gemmell aa67a12449 ARTEMIS-3328: override the parent pom assembly creation, suppress creating and deploying unused assembly 2021-06-04 14:59:09 +01:00
Robbie Gemmell 5bf3228259 ARTEMIS-3328: fix assembly descriptors and stop downgrading assembly plugin
- Remove assembly plugin downgrade from 7733a76649 in ARTEMIS-3296.
- Ensure bin descriptor marks key artemis setup/startup script executable file permissions, it wasnt
  before as while aiming to it only defined inclusions for old files that no longer exist.
- Add mode fields to every area to make clear what they will be using, make formats consistent with doc.
- Update source release assembly to similarly mark key scripts with executable file permissions.
2021-06-04 14:59:09 +01:00
gtully 73bcc78beb no jira - update commons.io version to latest 2021-06-04 13:46:34 +01:00
Robbie Gemmell 8ec0e5193f ARTEMIS-3242: update to Qpid JMS 0.59.0 2021-05-27 13:43:17 -04:00
Domenico Francesco Bruscino 13121cd4a3 ARTEMIS-3316 Upgrade netty version to 4.1.65.Final 2021-05-26 21:57:02 -04:00
Robbie Gemmell 90101f5b54 ARTEMIS-3270: update enforced minimum maven version to 3.5.0 2021-05-25 13:42:13 +01:00
Domenico Francesco Bruscino e4f8d173a7 NO-JIRA Fix maven compiler version for java 1.8 2021-05-19 16:09:19 -04:00
Domenico Francesco Bruscino d8d44196f6 ARTEMIS-3296 Align enforcer ids with the parent pom to avoid duplicate runs 2021-05-19 15:36:36 +02:00
Robbie Gemmell 7733a76649 ARTEMIS-3296: drop back to assembly plugin 3.1.1 after prior update to 3.2.0
Retain older file permission copy behaviour via older plugin version, until such time
as the assembly descriptor config properly defines the required file permissions.
2021-05-18 12:50:53 +01:00
Robbie Gemmell 2e2cd1f073 ARTEMIS-3296: get things building on Java 16 (and 17EA+21)
Updates parent pom, various plugins or deps, tidies up inconsistent versions
and consolidates to inherited version where possible, define properties for
some versions where not. Disables some problematic tests on JDK16+ for now.

Drops DS test dep back 1 version to remove a specific breakage affecting
multiple tests/modules, introduced after its upgrade in commit
9e70b26368.
2021-05-17 08:28:46 -04:00
Timothy Bish 9e70b26368 ARTEMIS-2813 Fix SaslKrb5LDAPSecurityTest failing on JDK 11
Fixes issues with SaslKrb5LDAPSecurityTest by updating to latest Apache Directory
release which required some updates to the test to fix deprecation warnings and an
updates to commons.lang to fix issues with new namespace for StringUtils that will
work on JDK 8+ only.
2021-05-14 10:07:38 +01:00
Domenico Francesco Bruscino 924a7fe7b6 ARTEMIS-3287 Upgrade micrometer version to 1.6.3 2021-05-11 15:05:20 -04:00
Domenico Francesco Bruscino 792fc7f80e ARTEMIS-3266 Upgrade jetty version to 9.4.40.v20210413 2021-04-23 16:01:30 -04:00
Robbie Gemmell e195526457 ARTEMIS-3242: update to qpid-jms 0.58.0 2021-04-14 11:01:26 +01:00
Domenico Francesco Bruscino b4789a894f ARTEMIS-3221 Migrating to Jakarta EE 8 artifacts 2021-04-09 11:49:59 -04:00
Domenico Francesco Bruscino 447f4c31a4 ARTEMIS-3232 Upgrade netty version to 4.1.63.Final 2021-04-09 11:49:29 -04:00
Clebert Suconic 158a94a836 ARTEMIS-3224 Removing Artemis-tools migration tool from 1.x address model 2021-04-07 10:53:34 -04:00
Domenico Francesco Bruscino 0f03064e37 ARTEMIS-3199 Upgrade postgresql to 42.2.19 2021-03-23 16:21:45 +00:00
Domenico Francesco Bruscino 6231a70b8c NO-JIRA Sync karaf version 2021-03-23 16:20:41 +00:00
gtully d71d54b38a ARTEMIS-3168 - add example using authentication delegation to keycloak, principal conversion for jms clients and oath for the web cosole 2021-03-23 09:51:50 +00:00
Robbie Gemmell 96a09041ee ARTEMIS-3183: resolve various immediate warnings at build start
- Remove duplicates dependency definition following e7e3c71511.
- Removes deprecated RELEASE version use, consolidate modules on single paho client version.
- Remove prerequisites entry as per warning, suggested enforcer rule already in place.
2021-03-16 12:48:48 +00:00
Domenico Francesco Bruscino d541851151 ARTEMIS-3179 Update netty version to 4.1.60.Final 2021-03-12 17:04:21 +01:00
Justin Bertram eb26f67ab6 ARTEMIS-3137 support XPath filters
Change summary:
 - Remove the existing Xalan-based XPath evaluator since Xalan appears
   to be no longer maintained.
 - Implement a JAXP XPath evaluator (from the ActiveMQ 5.x code-base).
 - Pull in the changes from https://issues.apache.org/jira/browse/AMQ-5333
   to enable configurable XML parser features.
 - Add a method to the base Message interface to make it easier to get
   the message body as a string. This relieves the filter from having
   to deal with message implementation details.
 - Update the Qpid JMS client to get the jms.validateSelector parameter.
2021-03-10 09:32:23 -05:00
Domenico Francesco Bruscino d4f1552019 ARTEMIS-3123 Update netty version to 4.1.59.Final 2021-03-09 12:55:53 -06:00
Domenico Francesco Bruscino 190fd9f994 ARTEMIS-3144 Update resteasy version to 3.15.0.Final 2021-03-09 12:46:01 -06:00
Domenico Francesco Bruscino 6f0cb8bfc5 ARTEMIS-3169 Update jetty to 9.4.38 and servlet-api to 3.0 2021-03-09 12:18:27 -06:00
Clebert Suconic 21ee5985ea [maven-release-plugin] prepare for next development iteration 2021-02-11 12:00:04 -05:00
Clebert Suconic 36a771150b [maven-release-plugin] prepare release 2.17.0 2021-02-11 11:59:51 -05:00
Justin Bertram 5574e1f7aa ARTEMIS-2343 "Illegal reflective access" with OpenJDK 11 2021-02-10 19:25:12 -05:00
Clebert Suconic c0867f0361 [maven-release-plugin] prepare for next development iteration 2021-02-09 12:12:48 -05:00
Clebert Suconic 9b473698e0 [maven-release-plugin] prepare release 2.17.0 2021-02-09 12:12:35 -05:00
Clebert Suconic 6ed1e4c87d [maven-release-plugin] prepare for next development iteration 2021-02-08 15:56:31 -05:00
Clebert Suconic 06b29806ca [maven-release-plugin] prepare release 2.17.0 2021-02-08 15:56:18 -05:00
Emmanuel Hugonnet 40f4c0218e
[ARTEMIS-3080]: Provide JakartaEE 9 artefacts.
* using batavia and eclipse transformer to transform JMS code to JakartaEE.
* adding a test with JakartaEE
* upgrading owasp plugin to 6.1.0

Jira: https://issues.apache.org/jira/browse/ARTEMIS-3080
2021-02-03 18:35:01 +01:00
Domenico Francesco Bruscino ba2b891b63 ARTEMIS-3060 Upgrade to Guava 30.1 2021-01-11 12:48:40 +01:00
Domenico Francesco Bruscino be927d4c5b ARTEMIS-3028 Update jetty version to 9.4.35.v20201120 2020-12-14 11:42:07 -05:00
Justin Bertram 383b476249 ARTEMIS-2898 update micrometer dep 2020-12-09 20:13:50 -05:00
Robbie Gemmell 5265e66272 ARTEMIS-3013: update to Qpid JMS 0.55.0 2020-11-25 17:29:50 +00:00
Clebert Suconic af4d2cd5fc ARTEMIS-3006 Upgrading to Qpid ProtonJ 0.33.8
I am also bringing a test I used to report https://issues.apache.org/jira/browse/PROTON-2297
Even though the issue here is on proton. There's no such thing as enough tests so I am keeping the test.
2020-11-20 13:31:21 -05:00
Rico Neubauer 58fe261c71 ARTEMIS-2938 update to latest ActiveMQ client 2020-11-17 08:44:04 -06:00
Domenico Francesco Bruscino 39080f5583 ARTEMIS-2994 Update jetty version to 9.4.34.v20201102 2020-11-16 15:18:33 -06:00
Robbie Gemmell 5ff075b7ff ARTEMIS-2971: add ANONYMOUS and EXTERNAL SASL mechanism support for outgoing AMQP server connections 2020-11-05 11:32:35 -05:00
Clebert Suconic 4e7bb97df7 [maven-release-plugin] prepare for next development iteration 2020-11-02 17:45:51 -05:00
Clebert Suconic 9768017530 [maven-release-plugin] prepare release 2.16.0 2020-11-02 17:45:38 -05:00
Clebert Suconic 28919b6ad8 [maven-release-plugin] prepare for next development iteration 2020-10-30 10:16:29 -04:00
Clebert Suconic af5ca9f1e6 [maven-release-plugin] prepare release 2.16.0 2020-10-30 10:16:17 -04:00
Domenico Francesco Bruscino 50f7efcfbe NO-JIRA Split commons.dbcp2.version 2020-10-12 15:17:45 +02:00
Andy Taylor 0ce173dcb5 ARTEMIS-2838 - migrate to HawtIO 2
https://issues.apache.org/jira/browse/ARTEMIS-2838
2020-10-09 09:20:29 +01:00
franz1981 b4532d944d ARTEMIS-2823 Use datasource with JDBC store db connections fixes
It add additional required fixes:
- Fixed uncommitted deleted tx records
- Fixed JDBC authorization on test
- Using property-based version for commons-dbcp2
- stopping thread pool after activation to allow JDBC lease locks to release the lock
- centralize JDBC network timeout configuration and save repeating it
- adding dbcp2 as the default pooled DataSource to be used
2020-10-06 10:19:06 +02:00
Mikko Uoti 2faafec737 ARTEMIS-2823 Use datasource with JDBC store db connections
Replaces direct jdbc connections with dbcp2 datasource. Adds
configuration options to use alternative datasources and to alter the
parameters. While adding slight overhead, this vastly improves the
management and pooling capabilities with db connections.
2020-10-06 08:32:58 +03:00
odidev 6666037935 ARTEMIS-2921 Upgrade to Netty 4.1.51.Final and netty-tcnative 2.0.33.Final
- Upgrade to netty 4.1.51.Final and netty-tcnative 2.0.33.Final for both security fixes and AArch64 performance improvements
- Refer release notes for detail:
  -https://netty.io/news/2020/05/13/4-1-50-Final.html
  -https://netty.io/news/2020/07/09/4-1-51-Final.html

Signed-off-by: odidev <odidev@puresoftware.com>
2020-09-30 17:47:02 +02:00
Domenico Francesco Bruscino f467bc0d55 NO-JIRA Fix PDF header and table of content
Override the default theme page.html of gitbook to fix the issue at
https://github.com/GitbookIO/theme-default/pull/80
2020-09-16 10:11:56 -04:00
Domenico Francesco Bruscino 32bf9680f2 [maven-release-plugin] prepare for next development iteration 2020-08-24 16:03:24 +02:00
Domenico Francesco Bruscino a549fcedde [maven-release-plugin] prepare release 2.15.0 2020-08-24 16:03:12 +02:00
Robbie Gemmell 178ccb004a ARTEMIS-2871: update to qpid-jms 0.54.0 2020-08-18 16:46:26 +01:00
Robbie Gemmell 3fdc9cf026 ARTEMIS-2871: update to proton-j 0.33.6 and qpid-jms 0.53.0 2020-08-13 09:30:56 +01:00
gtully c152f17818 no jira - exclude .p12 files from rat check 2020-07-23 14:42:50 +01:00
Clebert Suconic 6690ba1d24 [maven-release-plugin] prepare for next development iteration 2020-07-09 12:49:08 -04:00
Clebert Suconic a76f41a7ed [maven-release-plugin] prepare release 2.14.0 2020-07-09 12:48:54 -04:00
Robbie Gemmell 515dde9ef3 NO-JIRA: use a consistent version for the surefire and failsafe plugins from the parent, override to newer version 2020-06-22 14:04:48 -04:00
Clebert Suconic 0e0ebd19a4 ARTEMIS-2800 / ARTEMIS-2818 Upgrade Artemis Native
This is upgrading artemis native which has a fix to avoid a kernel bug in the fs/aio.c module
2020-06-22 12:43:30 -04:00
Robbie Gemmell 0f72455349 ARTEMIS-2109: add StaticQualifiedUsingExpression check in place of older removed StaticAccessedFromInstance, and fix error. 2020-06-17 16:31:09 -04:00
Robbie Gemmell 0a44416ba5 NO-JIRA: add a basic GitHub Actions build similar to the Travis job 2020-06-17 15:31:19 -04:00
Robbie Gemmell 548f868128 ARTEMIS-2109: fix ErrorProne compiler config to work on JDK8, and move into a specific profile.
On JDK8 Error Prone is activated on request. On JDK11+ it is still enabled by default. It is activated in CI for all JDKs.
2020-06-16 16:07:48 +01:00
Robbie Gemmell 61e920d010 ARTEMIS-2109: restore plugin versions removed in 6e2b5dc8f2 / #3183
The plugin-management provided 1.4.1 enforcer version can it seems interact oddly with the assembly plugin depending on what else is in use, leading to an NPE in some cases.
2020-06-15 18:04:52 +01:00
Robbie Gemmell 6e2b5dc8f2 ARTEMIS-2109: require JDK 8 for release, enforce use of JDK8 or 11+ otherwise, rename profiles for consistency and clarity, remove superflous/incorrect managed plugin versions
Update CI to only use the release profile for building examples on JDK8, use noRun profile otherwise. Does the exact same in terms of setting properties for the examples build, just doesnt engage the parent release profile which enforces JDK8.
2020-06-15 15:05:28 +01:00
Emmanuel Hugonnet f69f03a205 ARTEMIS-2109: updating mockito for Java 14 support and working round a javadoc issue 2020-06-11 18:50:01 +01:00
Robbie Gemmell d2c46762e8 ARTEMIS-2109: fix javadoc errors, remove doclint config for JDK8, remove superfluous plugin versions, update to 3.0.1 javadoc plugin
Using 3.0.1 like the current apache parent pom [not being used], and also as newer ones break build.
2020-06-11 18:50:01 +01:00
Emmanuel Hugonnet efe0f468de ARTEMIS-2109: Updating the build to be able to execute it on Java 11 and Java 8. 2020-06-11 18:50:01 +01:00
Robbie Gemmell 595b709677 ARTEMIS-2795: update to proton-j 0.33.5 and qpid-jms 0.52.0 2020-06-11 11:03:01 +01:00
Clebert Suconic faa83b2ba6 [maven-release-plugin] prepare for next development iteration 2020-05-16 18:38:47 -04:00
Clebert Suconic 5f49d89264 [maven-release-plugin] prepare release 2.13.0 2020-05-16 18:38:34 -04:00
Clebert Suconic c99fcd501b [maven-release-plugin] prepare for next development iteration 2020-05-15 16:42:54 -04:00
Clebert Suconic 47fafac760 [maven-release-plugin] prepare release 2.13.0 2020-05-15 16:42:41 -04:00
Robbie Gemmell ba31813cef ARTEMIS-2764: update to Qpid JMS 0.51.0 2020-05-14 10:45:25 -04:00
Clebert Suconic ea437db530 NO-JIRA ignoring .repository on ratReport
there's an option on Jenkins to use private repository,
which will create the repo files under .repository
this needs to be ignored
2020-04-28 21:48:21 -04:00
brusdev 70a465c398 ARTEMIS-2737 Update apache commons-text version to 1.8 2020-04-25 17:20:55 +02:00
Clebert Suconic 77d250bec8 ARTEMIS-2732 Bridging Apache Logger into JBoss Logging for the testsuite 2020-04-23 16:51:22 -04:00
Clebert Suconic 3541ebf218 ARTEMIS-2732 Cleanup on testsuite logging 2020-04-22 23:08:46 -04:00
Clebert Suconic 11a3e810bb [maven-release-plugin] prepare for next development iteration 2020-04-21 17:06:21 -04:00
Clebert Suconic 30272e0c2f [maven-release-plugin] prepare release 2.12.0 2020-04-21 17:06:08 -04:00
brusdev 4e44e56959 ARTEMIS-2727 Update netty version to 4.1.48.Final
Update netty version to 4.1.48.Final and netty-tcnative version to 2.0.29.Final.
2020-04-20 14:46:41 -04:00
Clebert Suconic 576e01dba6 ARTEMIS-2725 Implementing retries policy on tests 2020-04-20 11:41:20 -04:00
Clebert Suconic d231e2ac63 [maven-release-plugin] prepare for next development iteration 2020-04-16 16:16:41 -04:00
Clebert Suconic 9636f4a3b0 [maven-release-plugin] prepare release 2.12.0 2020-04-16 16:16:28 -04:00
brusdev 431bb87b03 ARTEMIS-2703 Update commons-configuration2 version to 2.7 2020-04-13 10:53:35 -04:00
Timothy Bish a22c3abf79 ARTEMIS-2653 Update proton-j to version 0.33.4 2020-04-08 15:41:44 -04:00
Federico Valeri 8cf35385a4 ARTEMIS-2608 Fix ClassCastException on binary properties conversion 2020-03-27 13:12:57 -04:00
Clebert Suconic f874a02d17 ARTEMIS-2673 PageStore should only be removed when Address is removed
& ARTEMIS-2674 AMQP should use a separate executor for IO
2020-03-23 20:02:17 -04:00
Robbie Gemmell e5e645a82d update to proton-j 0.33.3 and qpid-jms 0.50.0 2020-03-17 14:09:06 -04:00
Michael Pearce a60cb229dc ARTEMIS-1194 fixup maven dependencies 2020-03-07 22:04:03 +00:00
brusdev 622c0d61e8 ARTEMIS-2615 Update netty version to 4.1.45.Final
Update netty version to 4.1.45.Final and netty-tcnative version to 2.0.28.Final.
2020-02-05 15:25:31 -05:00