Commit Graph

952 Commits

Author SHA1 Message Date
Robbie Gemmell ea498e50e3 NO-JIRA: rework GHA jobs cache config
- Use simple path instead of earlier workarounds.
- Add cleanup step instead to purge some output.
- Change back to single shared cache, reduces number and combined size
  of caches, Checks job usually completes first and contains superset.
- Change the intial key prefix so as to force a new cache
2022-07-01 12:32:49 +01:00
Robbie Gemmell 2f361b1d40 ARTEMIS-3878: Update to Derby test dep to 10.14.2.0
This closes #4129
2022-06-30 11:42:24 +01:00
Robbie Gemmell dc8123dfc3 ARTEMIS-3876: stop extracting native lib files for every module, only the root where the tests looks for them 2022-06-28 17:34:49 +01:00
Robbie Gemmell 2ab0e85db4 ARTEMIS-3874: move/update various bits to allow removing many test-jar creations and dependencies 2022-06-27 09:52:54 -04:00
Clebert Suconic 342565d4c1 ARTEMIS-3850 Eliminate Page Soft Cache. Add Option to read messages based on sizing. 2022-06-14 14:53:14 -04:00
Clebert Suconic 0fab0dae91 [maven-release-plugin] prepare for next development iteration 2022-06-07 12:39:09 -04:00
Clebert Suconic 224ca0d4d7 [maven-release-plugin] prepare release 2.23.0 2022-06-07 12:39:07 -04:00
Robbie Gemmell e49a9521aa ARTEMIS-3849: Update to Spring 5.3.20
This closes #4096
2022-05-26 13:56:45 +01:00
Clebert Suconic a2dd805a2f ARTEMIS-3848 High CPU usage on ReadWriteLocks
This is caused by too many entries on the HashMap for ThreadLocals.
Also: I'm reviewing some readlock usage on the StorageManager to simplify things a little bit.
2022-05-25 12:27:57 -04:00
Chuf fb7655af2a
ARTEMIS-3845 Update hawtio
Update hawtio to 2.15.0 - drops support for Java8 and updates dependencies
2022-05-23 11:09:24 -05:00
Chuf 00f8a4f926
ARTEMIS-3844 Update Maven dependencies
Update Maven Enforcer Plugin from 3.0.0-M3 to 3.0.0
Update Maven Bundle Plugin from 5.1.2 to 5.1.6
Update Maven Shade Plugin from 3.2.4 to 3.3.0
2022-05-23 11:08:30 -05:00
Emmanuel Hugonnet de1542357b [ARTEMIS-3700]: Provinding a JakartaEE 10 implementation.
* Upgrading the API to Jakarta Messaging 3.1.0
* Updating the metadata to 3.1.0

Jira: https://issues.apache.org/jira/browse/ARTEMIS-3700
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2022-05-23 09:45:47 -04:00
Dominik Lenoch 866bbbba4d ARTEMIS-3806 Upgrade jboss-logging dependencies
Minor upgrade for jboss-logging from 3.4.3 to 3.5.0
Patch upgrade for jboss-logging-annotations from 2.2.0.Final to 2.2.1.Final
Patch upgrade for jboss-logging-processor from 2.2.0.Final to 2.2.1.Final
2022-05-18 11:37:16 +02:00
Robbie Gemmell 49868da9d4 ARTEMIS-3838: Update to Netty 4.1.77 (and netty-tcnative to 2.0.52) 2022-05-17 11:40:54 +01:00
Justin Bertram dff21ba42c ARTEMIS-3812 upgrade Micrometer 2022-05-04 21:26:16 -04:00
Robbie Gemmell dc5143502d NO-JIRA: correct JUnit 4 license note, it was changed to EPL 1.0 in 2013 2022-05-04 13:30:09 +01:00
Robbie Gemmell 8786bc9e5e ARTEMIS-3814: update activemq deps to 5.17.1 2022-05-04 13:25:17 +01:00
Justin Bertram 1a273821ed ARTEMIS-3806 upgrade logging dependencies 2022-04-28 14:41:26 -04:00
Clebert Suconic 57fa8b8271 [maven-release-plugin] prepare for next development iteration 2022-04-27 17:26:46 -04:00
Clebert Suconic 1a49845628 [maven-release-plugin] prepare release 2.22.0 2022-04-27 17:26:45 -04:00
Robbie Gemmell 5a8ee07be1 ARTEMIS-3752: update to Spring 5.3.19 and Spring Boot 2.6.7 which uses it 2022-04-22 14:04:20 +02:00
Robbie Gemmell 6eb78a2634 ARTEMIS-3783: rationalise config for alternate jakarta spec versions to simplify and align their use 2022-04-20 10:57:32 +01:00
Robbie Gemmell 9d943483d5 ARTEMIS-3772: update to mockito 4.4.0 2022-04-08 13:38:41 +01:00
Robbie Gemmell e774e4fcfb ARTEMIS-3768: update to Qpid JMS 1.6.0 2022-04-07 13:05:15 +01:00
Domenico Francesco Bruscino 6f4fc12d24 ARTEMIS-3760 Upgrade jackson version to 2.13.2 2022-04-07 11:00:21 +01:00
Domenico Francesco Bruscino ed4f80638a ARTEMIS-3752 Upgrade Spring Framework to 5.3.18 2022-04-01 12:19:02 -04:00
Domenico Francesco Bruscino d7fbe852db ARTEMIS-3754 Upgrade tomcat-servlet-api to 8.5.78 2022-04-01 12:18:52 -04:00
Justin Bertram 3ec88c5ea4
ARTEMIS-3740 Upgrade Johnzon 2022-03-30 11:57:27 -05:00
Tiago Bueno dbd60d0afb ARTEMIS-3749 e2e-tests improvements
Scripts:
- Fix the preapre-docker.sh to exit with 0 instead of 1 on success

On pom files:
- Change e2e-tests variable names to e2e-tests.xxxxxx for clarity on
  e2e-tests variables
- Add e2e-tests.skipImageBuild variable to control if the docker image
  will be build (defaults to not build)
- Add e2e-tests.dockerfile variable to specify the dockerfile to be
  used (defaults to Dockerfile-centos)
- Bump testcontainers version to 1.16.3
- Add artemis distribution dependency since the docker image build
  depends on it

On ContainerService class:
- Fix exposePorts and exporseFolder to use SELinux shared mode
  otherwise the mount fails on machines with SELinux enabled
- Move the logic to use specific user on container from generic start
  method to broker specific method to avoid affect other images
- Update the broker image name to a more generic name (activemq-artemis
  instead of artemis-centos)
- Update the broker image tag to match with the project version in pom
  file
2022-03-30 11:48:05 -04:00
Clebert Suconic a0e7cb4eae [maven-release-plugin] prepare for next development iteration 2022-03-22 13:34:58 -04:00
Clebert Suconic d57ac487c7 [maven-release-plugin] prepare release 2.21.0 2022-03-22 13:34:55 -04:00
Tiago Bueno 968e4886c8 ARTEMIS-3716 move e2e tests to e2e-tests module
Move all tests which are related to end-to-end testing from smoke-tests
module to a new module named e2e-tests.

These e2e tests are those which are dependent of ContainerService
class. ContainerService class uses artemis inside a container by using
the testcontainers library and for that reason these tests are usually
a quite slow and tecnically they are not a smoke test.

The new e2e-tests module is part of tests module but it is not enabled
by default and to get executed it requires the e2e-tests profile
specification on maven command.
2022-03-21 16:48:29 -04:00
Domenico Francesco Bruscino d0c550bcd7 ARTEMIS-3729 Fix JMS CORE client commit after async sends 2022-03-21 10:36:28 -04:00
Robbie Gemmell 82069e9c3c ARTEMIS-3724: Update Jetty to 9.4.45.v20220203 2022-03-15 14:37:29 -04:00
Robbie Gemmell c48aa9a68a ARTEMIS-3723: update to Netty 4.1.75 (and netty-tcnative 2.0.50) 2022-03-15 13:29:27 -04:00
Justin Bertram 67c9df195d
ARTEMIS-3712 refresh doc generation tool-chain 2022-03-09 09:14:24 -06:00
Robbie Gemmell dcbd4b059a ARTEMIS-3695: use specific jetty deps instead of uber jar, rationalise servlet api deps
Partially reverts c5f94f340d
2022-03-03 21:59:13 -05:00
nbrendah 7bee0d8923 ARTEMIS-3686: Adding example showing how to do telemetry support
This is adding an example intercepting and sending messages using opentelemetry to either Jaeger, zipkin or OTLP exporter
2022-03-03 11:08:53 -05:00
franz1981 f8b045bd2d ARTEMIS-3522 Implement performance tool for RUL benchmarks
Co-authored-by: gtully
2022-03-02 13:32:42 +01:00
Justin Bertram 2dc76bd9f4
ARTEMIS-3657 refactor address docs
Mainly refactoring the address docs. This commit has the following
changes:

 - Remove examples for discouraged use-cases (e.g. using anycast and
multicast on the same address).
 - Reword to use configuration terms wherever possible. For example,
instead of saying "point-to-point" (which is not a configuration term)
say "anycast". References to things like "point-to-point" and
"publish-subscribe" are still there since users are familiar with these
terms. They're just used much less often.
 - Remove duplicate explanation of exclusive queues.
 - Remove duplicate explanation of auto-create and auto-delete elements.
 - Re-create graphics and include the master SVGs for potential updates
later.
 - Give non-destructive queues its own chapter.
 - Add details about specifying routing type using a message property.
 - Update the styling on the user manual's cover page to look better.
 - Lots of re-wording for clarity's sake.
 - Re-order sub-sections for clarity's sake.
 - Break up the address model and the settings documentation. The
settings documentation is large and deserves its own chapter. The
original anchor link is still available with a link to the new chapter.

In general the address-specific documentation should be much more clear,
concise, and consistent now.
2022-02-26 15:14:32 -06:00
Robbie Gemmell 402a8e21a1
ARTEMIS-3689: remove various cruft and use consistent managed plugin and dep versions 2022-02-17 14:41:47 -06:00
Robbie Gemmell f0a96628b4 ARTEMIS-3666: update to postgresql 42.3.3 2022-02-16 23:35:09 +01:00
Robbie Gemmell e8cac3c5c2 ARTEMIS-3684: update netty to 4.1.74 (and netty-tcnative to 2.0.48) 2022-02-14 15:49:49 +00:00
Domenico Francesco Bruscino c5f94f340d ARTEMIS-3650: Remove unused tomcat-servlet-api dependency 2022-02-14 12:41:53 +00:00
Robbie Gemmell 9043f7ad97 ARTEMIS-3674: update to SLF4J 1.7.36 2022-02-08 16:11:54 +00:00
Justin Bertram bafa0fbb3c ARTEMIS-3641 move to the latest checkstyle 2022-02-07 10:02:09 -05:00
Justin Bertram 9c459eb313 ARTEMIS-2413 upgrade JGroups
JGroups 3.x hasn't been updated in some time now. The last release was
in April 2020 almost 2 years ago. Lots of protocols have been updated
and added and users are wanting to use them. There is also increasing
concern about using older components triggered mainly by other
recently-discovered high-profile vulnerabilities in the wider Open
Source Java community.

This commit bumps JGroups up to the latest release - 5.2.0.Final.
However, there is a cost associated with upgrading.

The old-style properties configuration is no longer supported. I think
it's unlikely that end-users are leveraging this because it is not
exposed via broker.xml. The JGroups XML configuration has been around
for a long time, is widely adopted, and is still supported. I expect
most (if not all) users are using this. However, a handful of tests
needed to be updated and/or removed to deal with this absence.

Some protocols and/or protocol properties are no longer supported. This
means that users may have to change their JGroups stack configurations
when they upgrade. For example, our own clustered-jgroups example had to
be updated or it wouldn't run properly.
2022-02-04 13:47:11 -05:00
Robbie Gemmell e10b0216fe ARTEMIS-3666: update to postgresql 42.3.2 2022-02-04 13:37:38 -05:00
Robbie Gemmell 2c1afc4b75 ARTEMIS-3667: update to Groovy 4.0.0 2022-02-04 11:39:37 -05:00
Justin Bertram 8063110644 ARTEMIS-3638 Support MQTT 5
MQTT 5 is an OASIS standard which debuted in March 2019. It boasts
numerous improvments over its predecessor (i.e. MQTT 3.1.1) which will
benefit users. These improvements are summarized in the specification
at:
https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901293

The specification describes all the behavior necessary for a client or
server to conform. The spec is highlighted with special "normative"
conformance statements which distill the descriptions into concise
terms. The specification provides a helpful summary of all these
statements. See:
https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901292

This commit implements all of the mandatory elements from the
specification and provides tests which are identified using the
corresponding normative conformance statement. All normative
conformance statements either have an explicit test or are noted in
comments with an explanation of why an explicit test doesn't exist. See
org.apache.activemq.artemis.tests.integration.mqtt5 for all those
details.

This commit also includes documentation about how to configure
everything related to the new MQTT 5 features.
2022-02-04 09:57:15 -05:00
Robbie Gemmell 461e66f4cd ARTEMIS-3668: update to Qpid JMS 1.5.0 2022-02-02 16:28:27 +00:00
Robbie Gemmell 8661cecb8f ARTEMIS-3655: isolate the errorprone dependencies to its profiles, enable everywhere, fix related problems, and update to 2.10. 2022-01-26 16:32:34 +00:00
Robbie Gemmell ee52e3de7c ARTEMIS-3650: simplify distribution to leverage module poms for most of work, ensure their deps are present
Fixes/tidies some module definitions to set appropriate test/etc dep scopes and/or exclude bits not used or passed on for usage.
2022-01-26 10:09:18 +00:00
Domenico Francesco Bruscino 1b07c3222a NO-JIRA Fix activemq5-unit-tests with byteman 2022-01-19 17:05:35 +01:00
Robbie Gemmell 20ee0b4393 ARTEMIS-3648: Update to netty 4.1.73 2022-01-17 13:16:21 +00:00
Domenico Francesco Bruscino cb96a89524 ARTEMIS-3616 Fix netty epoll not available 2022-01-17 12:25:59 +00:00
Robbie Gemmell a91d3b0c0f ARTEMIS-3624: change dep mangement entry to be for the minikdc dep, add property for its version, update it and rework exclusions 2022-01-11 10:44:22 -05:00
Clebert Suconic e34677f5c0 [maven-release-plugin] prepare for next development iteration 2021-12-14 22:50:55 -05:00
Clebert Suconic 3dea7eeb71 [maven-release-plugin] prepare release 2.20.0 2021-12-14 22:50:53 -05:00
Robbie Gemmell f4de5c46c0 ARTEMIS-3559: update to Netty 4.1.72 (and netty-tcnative to 2.0.46) 2021-12-14 09:09:34 -05:00
Domenico Francesco Bruscino c502e94ade ARTEMIS-3605 Upgrade jetty version to 9.4.44.v20210927 2021-12-13 13:37:06 -05:00
Domenico Francesco Bruscino 923d0dc028 ARTEMIS-3559 Exclude netty-transport-native-epoll from zookeeper
The netty-transport-native-epoll transitive dependency version of zookeeper
doesn't match the netty version defined and causes a distribution issue.
2021-12-13 13:36:57 -05:00
gtully b979189187 ARTEMIS-3569 - balancer role_name local target, matches role of authenticated user 2021-11-24 11:28:16 +01:00
Clebert Suconic bfc10dcf8b ARTEMIS-3546 Jakarta javax.json incompability on jakarta all client
Domenico Bruscino provided the JSON Wrapper used here. Thanks Domenico!
2021-11-19 13:20:38 -05:00
Robbie Gemmell 8cd3967de6 ARTEMIS-3564: update qpid-jms to 1.3.0 2021-11-10 14:24:45 +00:00
Robbie Gemmell 58567880fb ARTEMIS-3420: require Java 11+, resolve some issues from doing so and tidy up some stale bits as a result 2021-11-09 11:02:51 -05:00
Domenico Francesco Bruscino 8e92fd0f51 ARTEMIS-3559 Update netty version to 4.1.70.Final 2021-11-09 10:08:02 +01:00
Robbie Gemmell daf537a87a ARTEMIS-3537: update to proton-j 0.33.10 2021-10-21 12:34:23 +01:00
Robbie Gemmell 84b0c1118b NO-JIRA: update GHA cache config to workaorund broken exclusions, tweak excludes, skip cache for tags
include token pom change to prod creation of a new cache
2021-10-13 15:43:17 +01:00
Justin Bertram 402842062a [maven-release-plugin] prepare for next development iteration 2021-10-11 13:35:57 -05:00
Justin Bertram 5fcb763234 [maven-release-plugin] prepare release 2.19.0 2021-10-11 13:35:06 -05:00
Domenico Francesco Bruscino 452d3dfc15 ARTEMIS-3518 Upgrade karaf version to 4.3.3 2021-10-08 15:11:05 +02:00
Robbie Gemmell 5ab8ed2803 ARTEMIS-3514: Update to Mockito 3.12.4
gets a PR-style build run passing on 18-ea
2021-10-05 13:07:59 +01:00
Robbie Gemmell 20511375de NO-JIRA: update to errorprone 2.9.0, fix errors, enable it when running on Java 17+ 2021-09-29 11:55:40 +01:00
Robbie Gemmell 0527e07129 ARTEMIS-3497: update to proton-j 0.33.9 2021-09-24 10:59:56 +01:00
Domenico Francesco Bruscino b64cc1fbe3 ARTEMIS-3478 Upgrade netty version to 4.1.68.Final 2021-09-16 10:45:55 -04:00
Domenico Francesco Bruscino 2d6502d1f1 ARTEMIS-3479 Upgrade commons-codec version to 1.15 2021-09-16 10:45:26 -04:00
Justin Bertram 447422604c ARTEMIS-3484 flesh out Jakarta Messaging support
Back in version 2.17.0 we began to provide Maven artifacts for Jakarta
Messaging client resources. This commit expands that support in the
following ways:

 - Distribute a Jakarta Messaging 3.0 client with the broker (in the
   'lib/client' directory alongside the JMS client.
 - Update documentation.
 - Add example using the Jakarta Messaging client.
 - Update Artemis CLI to use core instead of JMS as it was causing
   conflicts with the new Jarkarta Messaging client.
 - Add example to build Jarkarta Messaging version of the JCA RA for
   deployment into Jakarta EE 9 application servers.
2021-09-15 15:20:54 -04:00
franz1981 fa475c40b6 ARTEMIS-3458 Bump version of Apache Curator to 5.2.0 for CURATOR-595 2021-09-06 18:14:29 +02:00
franz1981 082f06a095 ARTEMIS-3458 Reduce number of ZK nodes for fast-tests runs 2021-09-06 18:14:29 +02:00
Robbie Gemmell 359b919e7f ARTEMIS-3453: exclude log4j + slf4j-log4j12 transitive deps via zookeeper dependencyManagement entry 2021-08-31 11:19:21 +01:00
Robbie Gemmell 587e0f8252 ARTEMIS-3451: add dependencyManagement entry for qpid-jms-client, remove various redundant uses of property 2021-08-30 17:26:28 +01:00
Robbie Gemmell 16d2fb4840 ARTEMIS-3447: dont force scope as an example also uses it 2021-08-30 17:07:15 +01:00
Robbie Gemmell 539749f0ba ARTEMIS-3447: update test use of bcprov-jdk15on to current 1.69 release
Also, remove stale exclusion that isnt doing anything
2021-08-26 17:13:37 +01:00
Robbie Gemmell 599d33118c NO-JIRA: remove unused property, the related module was removed over 6 years ago 2021-08-26 12:47:28 +01:00
Robbie Gemmell 5a1449d812 ARTEMIS-3440: separate effect of -Pdev from test profiles, make them independent
use pluginManagement config + executions to enable the RAT and Checkstyle checks rather than properties
2021-08-24 12:02:28 -04:00
Emmanuel Hugonnet bafc511d66 [ARTEMIS-3432]: Use batavia to produce transformed source code instead of transformed binaries.
* producings sources from jms modules source code.
 * compliling and testing the resulting sources

Issue: https://issues.apache.org/jira/browse/ARTEMIS-3432
2021-08-20 09:19:09 -04:00
Clebert Suconic b8c64590f9 [maven-release-plugin] prepare for next development iteration 2021-08-09 11:58:28 -04:00
Clebert Suconic 37cc298973 [maven-release-plugin] prepare release 2.18.0 2021-08-09 11:58:27 -04:00
Clebert Suconic cc4a51a3ea [maven-release-plugin] prepare for next development iteration 2021-08-06 17:04:18 -04:00
Clebert Suconic 0b30187091 [maven-release-plugin] prepare release 2.18.0 2021-08-06 17:04:16 -04:00
Clebert Suconic 0e2ce484ba [maven-release-plugin] prepare for next development iteration 2021-08-06 13:46:56 -04:00
Clebert Suconic cb705b5c5c [maven-release-plugin] prepare release 2.18.0 2021-08-06 13:46:54 -04:00
Domenico Francesco Bruscino 3555dd7d25 ARTEMIS-3365 Add broker balancers 2021-08-06 08:33:21 -04:00
Francesco Nigro 536271485f ARTEMIS-2716 Pluggable Quorum Vote 2021-08-05 14:18:20 -04:00
Robbie Gemmell 9989d9c4fc NO-JIRA: make errorprone consistently opt-in on all JDKs as it already is on JDK8 and 16 due to required forking 2021-08-05 13:49:11 -04:00
Robbie Gemmell eb183b12ec ARTEMIS-3412: update Mockito version
Gets PR build working on 17-ea again
2021-08-05 15:07:52 +01:00
Robbie Gemmell 828d4940ec ARTEMIS-3302: enable some integration tests (primarily TLS+security) in the fast-tests profile
Help catch issues in these areas on PR runs rather than full builds.
2021-08-04 15:01:28 +01:00
Robbie Gemmell 7ddc947413 ARTEMIS-3407: update pax-exam to 4.13.4 and karaf to 4.3.1, get tests working on Java 11
Also tweaks karaf test module name for clarity
2021-07-30 11:59:19 +01:00
Robbie Gemmell 0cdd0c8bd9 NO-JIRA: make redirectTestOutputToFile config use the standard property to allow configuring on command line 2021-07-27 12:38:19 +01:00
Domenico Francesco Bruscino 459d392444 ARTEMIS-3391 Upgrade netty version to 4.1.66.Final 2021-07-26 08:19:19 +02:00
Domenico Francesco Bruscino 1d15fb1a3f ARTEMIS-3380 Upgrade jetty version to 9.4.43.v20210629 2021-07-23 10:27:44 -04:00
Robbie Gemmell 8b33279667 ARTEMIS-3352: remove redundant snapshot repo definition
Parent defines it already, and Maven 3 ignores the 'uniqueVersion' config
2021-06-16 16:53:08 +01:00
Robbie Gemmell 318110b72f ARTEMIS-3352: remove stale cobertura plugin config
It doesnt support JDK8+, which the project has required for years, and Jacoco is now used instead.
2021-06-16 16:52:57 +01:00
Robbie Gemmell a8c17fa290 ARTEMIS-3270: move enforcer execution config so it overrides parent execution
The change in 90101f5b54 / #3595 didnt work
as expected since the existing enforcer check already wasnt working. It
isnt overriding the apache parent, which is checking for 3.0.x. Moving
the execution into the build element, alongside the java version check,
allows it to replace the parent execution and enforce 3.5.0+ is used.
2021-06-15 17:16:37 +01:00
Robbie Gemmell d22b9d51fb ARTEMIS-2813: exclude old transitive test dep which isnt actually needed in tests 2021-06-15 16:26:02 +01:00
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
brusdev 7a087de266 ARTEMIS-2601 Update jetty version to 9.4.26.v20200117
Add required dependency org.apache.geronimo.specs:geronimo-jaspic_1.0_spec.
2020-01-27 12:50:35 +01:00
brusdev 52e3a0a347 ARTEMIS-2601 Update jetty version to 9.4.26.v20200117 2020-01-21 12:55:16 -05:00
brusdev caa19ab144 ARTEMIS-2598 Update netty version to 4.1.43.Final
Update netty version to 4.1.43.Final and netty-tcnative version to 2.0.26.Final.
Change restricted-security-client.policy because Netty 4.1.43.Final requires
access to two more files: /etc/os-release and /usr/lib/os-release.
2020-01-17 14:28:31 -05:00
brusdev 5e80a5c738 ARTEMIS-2600 Update mqtt-client version to 1.16 2020-01-17 13:31:54 +01:00
Justin Bertram 97735ca72c [maven-release-plugin] prepare for next development iteration 2020-01-10 09:00:58 -06:00
Justin Bertram 25a947f6cb [maven-release-plugin] prepare release 2.11.0 2020-01-10 08:57:46 -06:00
Dmitry Volodin b88cd2873e Fix RAT plugin warnings for built .NET examples 2020-01-02 20:38:55 -06:00
Clebert Suconic 44209c089a ARTEMIS-2573 Removing tcpnative dependency from distribution 2019-12-11 11:53:10 -05:00
Justin Bertram 4a4442ed56 NO-JIRA checkstyle upgrade 2019-11-05 16:06:48 -05:00
Clebert Suconic 5e7dddd969 ARTEMIS-2530 Upgrade ActiveMQ Artemis Native 1.0.1 2019-10-29 16:22:50 -04:00
michael.pearce 143e401bdb ARTEMIS-2509 Add some basic support for legacy openwire
This is needed to aid some lift and shift migration from activemq5 where non-java clients have support for older openwire protocols.

(cherry picked from commit d497cb6205a5bdbd508d18bead8f9e8e39d6b1ba)
2019-10-01 10:14:40 +01:00
Clebert Suconic 91f4d0a633 [maven-release-plugin] prepare for next development iteration 2019-09-23 11:19:54 -04:00
Clebert Suconic 86a975fdad [maven-release-plugin] prepare release 2.10.1 2019-09-23 11:19:42 -04:00
Rico Neubauer 4a01e840bf [ARTEMIS-2487] Updated to org.jctools:jctools-core:2.1.2
To resolve wrong import range due to wrong declaration in
jctools-core:2.1.1
2019-09-13 15:21:07 -04:00
Jan Boehm 39fe4fd9ef Updated Apache BeanUtils to address CVE
1.9.4 is a minor update do address CVE-2014-0114:
http://commons.apache.org/proper/commons-beanutils/javadocs/v1.9.4/RELEASE-NOTES.txt
2019-09-04 12:09:54 +02:00
Clebert Suconic 5016f69daa [maven-release-plugin] prepare for next development iteration 2019-08-26 10:42:13 -04:00
Clebert Suconic f092d5396a [maven-release-plugin] prepare release 2.10.0 2019-08-26 10:42:01 -04:00
Clebert Suconic 18e656cbea ARTEMIS-2461 Updating qpid-jms as 0.45 2019-08-26 09:54:33 -04:00
yang wei 76d420590f ARTEMIS-2399 Improve performance when there are a lot of subscribers 2019-08-19 16:43:44 +01:00
Timothy Bish 448f72738b ARTEMIS-2437 Allow extended types in annotations in AMQP to Core
When converting from AMQP to core and back again support annotations that
aren't able to be placed into Core message properties by storing the bytes
from encoding the types to AMQP encodings and then decoding them again
when converting back into AMQP messages.

Requires update to proton-j 0.33.2 for encoding fix
2019-08-18 22:13:35 -04:00
Clebert Suconic 2d7d714260 ARTEMIS-2428 Exposing timeout on configuration and changing it to 0 on the testsuite 2019-07-19 12:09:23 -04:00
Justin Bertram af12cd7fdf ARTEMIS-2363 upgrade Spring dependency 2019-07-16 12:56:36 -04:00
Justin Bertram 5896dcc6fb NO-JIRA update Wildfly Common 2019-06-27 10:09:01 -05:00
Francesco Nigro 417ee543fd ARTEMIS-2354 Fix compilation issues on JDK 8
This reverts partially commit f8d3a8f2 to include only
the changes that makes possible to run tests with JDK 11:
compile on JDK 11 is outside the scope of the issue.
JDK 11 compilation requires Karaf upgrade, that will
break compatibility with Aether on integration-tests.
2019-06-20 11:36:53 -04:00
Francesco Nigro f8d3a8f2f2 ARTEMIS-2354 Improve compatibillity of tests with JDK 11 2019-06-19 10:53:53 -05:00
Francesco Nigro fe3bebaa91 ARTEMIS-2379 AMQP: Update Qpid JMS and Proton-J to latest releases
Qpid JMS to 0.43.0 and proton-j to 0.33.1
2019-06-17 22:31:54 -04:00
brusdev f8b295b9b5 ARTEMIS-2383 Upgrade to Guava 24.1.1 2019-06-17 13:49:16 +02:00
Francesco Nigro bfe6b70c5a ARTEMIS-2374 JournalStorageManager::addBytesToLargeMessage leaks ByteBuffer 2019-06-10 15:52:58 +02:00
brusdev d708be3189 ARTEMIS-2359 Upgrade to Guava 24.1
CVE-2018-10237 guava: Unbounded memory allocation in AtomicDoubleArray
and CompoundOrdering classes allow remote attackers to cause a denial
of service.
2019-05-31 09:15:45 +02:00
Justin Bertram dbb2b54fa7 [maven-release-plugin] prepare for next development iteration 2019-05-29 22:02:00 -05:00
Justin Bertram 88c686cc99 [maven-release-plugin] prepare release 2.9.0 2019-05-29 21:59:18 -05:00
Justin Bertram 5768f6e2f3 ARTEMIS-2308 Support exporting metrics 2019-05-29 15:07:45 -04:00
Robbie Gemmell 4d526bf136 ARTEMIS-2351: update to proton-j 0.33.0 and qpid-jms 0.42.0 2019-05-22 14:54:21 +01:00
Clebert Suconic 2ae732cfc8 [maven-release-plugin] prepare for next development iteration 2019-05-16 09:58:27 -04:00
Clebert Suconic 481b9824a8 [maven-release-plugin] prepare release 2.8.1 2019-05-16 09:58:15 -04:00
Francesco Nigro f2bac5ad08 ARTEMIS-2321 Non-blocking Page::read on page cache 2019-05-13 12:20:22 -04:00
Emmanuel Hugonnet ee7d5bd0f1 ARTEMIS-2319 Upgrading jboss-logging dependencies
* Upgrading versions
* Adding wildfly-common dependency as jboss-logmanager now depends on it
for simple common operations such as getting hostname or process id
* Updating bootclasspath with wildfly-common
2019-05-07 16:13:48 -04:00
Clebert Suconic 56152a9e7c [maven-release-plugin] prepare for next development iteration 2019-05-02 16:39:10 -04:00
Clebert Suconic a8e7f9d07a [maven-release-plugin] prepare release 2.8.0 2019-05-02 16:38:58 -04:00
Clebert Suconic 228f6af4ca [maven-release-plugin] prepare for next development iteration 2019-04-25 16:52:09 -04:00
Clebert Suconic 09d2ba18a7 [maven-release-plugin] prepare release 2.8.0 2019-04-25 16:51:57 -04:00
Clebert Suconic 3ca6eec90f Revert "ARTEMIS-2319 Upgrading jboss-logging dependencies"
This reverts commit ad2ecd77d2.

This was causing an issue when starting the server:

```
java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName
	at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87)
	at org.jboss.logmanager.Logger.log(Logger.java:796)
	at org.jboss.logging.JBossLogManagerLogger.doLog(JBossLogManagerLogger.java:44)
	at org.jboss.logging.Logger.logv(Logger.java:2226)
	at org.apache.activemq.artemis.integration.bootstrap.ActiveMQBootstrapLogger_$logger.serverStarting(ActiveMQBootstrapLogger_$logger.java:35)
	at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:68)
	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:85)
```
2019-04-25 11:42:26 -04:00
Emmanuel Hugonnet ad2ecd77d2 ARTEMIS-2319 Upgrading jboss-logging dependencies 2019-04-24 14:41:01 -04:00
Timothy Bish db3ce9edab ARTEMIS-2298 Update Qpid JMS and Proton-J to latest
Qpid JMS to 0.41.0 and proton-j to 0.32.0
2019-04-10 16:01:49 -04:00
Clebert Suconic 516b1a1b9f [maven-release-plugin] prepare for next development iteration 2019-03-14 12:41:04 -04:00
Clebert Suconic c3eb6c12ad [maven-release-plugin] prepare release 2.7.0 2019-03-14 12:40:52 -04:00
Emmanuel Hugonnet 824e0b6e7e NO-JIRA Adding tests over JMSBridge statistics 2019-03-14 12:10:35 -04:00
Michael André Pearce aa36f62c9f ARTEMIS-2271 - Upgrade to Netty Libs to Latest 4.1.34.FINAL
Also upgrade netty-tcnative along with it.
2019-03-08 17:41:36 +00:00
Clebert Suconic 061fb2787e ARTEMIS-1977 Stripping activemq-artemis as a separated proejct 2019-03-07 11:34:15 -05:00
Clebert Suconic d2df7b7e85 ARTEMIS-2246 Setting the max-disk-usage as 100 on the testsuite
This is to avoid issues with CI and Dev Machiens, while still preserving
a sensible default for production systems.
2019-02-07 15:07:49 -05:00
Justin Bertram 4a1fc61fcc ARTEMIS-2243 user/role ops for PropertiesLoginModule via mgmnt 2019-02-07 10:16:01 -05:00
Justin Bertram 4bff01e01c NO-JIRA update docs for gitbox 2019-01-31 09:42:12 -06:00
Clebert Suconic 02dcc9e37b NO-JIRA update shade plugin
We were hitting a bug on shade, where shade was trying to download our own sources
instead of using from the local built repository.
2019-01-22 09:40:44 -05:00
Timothy Bish 2ec53353a9 ARTEMIS-1938 Update Qpid JMS and proton-j to latest
Updates Qpid JMS to v0.39.0 and proton-j to v0.31.0
2018-12-12 13:34:35 -05:00
Timothy Bish 593348b9ad ARTEMIS-1938 Update proton-j to 0.30.0 and Qpid JMS 0.37.0
Update to latest proton-j release and refactor the dispostion code to use
the new type enums to better deal with the dispistions.  Updates to Qpid JMS
0.37.0 which still uses the current netty 4.1.28.Final dependency.
2018-11-15 20:18:37 -05:00
Sebastian Thomschke ee7cc82a4d NO-JIRA Prevent maven-source-plugin being executed twice
With the current Maven config, the maven-source-plugin is executed twice, this results in the sources-jars being attached twice which leads the deploy goal in trying to upload the same sources jars twice to the repository. This slows down the build process and also fails on repositories that disallow updating of existing artifacts.

Additionally the "jar" goal is now replaced with "jar-no-fork" which prevents the maven life cycle being executed twice too.
2018-11-14 15:48:57 +01:00
Michael André Pearce e4ba48a311 ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions 2018-09-27 17:29:18 -04:00
Clebert Suconic ed71e090d1 ARTEMIS-2086 Removing HDR Histogram option 2018-09-13 15:46:50 -04:00
Timothy Bish 2c7896cef6 ARTEMIS-1938 Update Qpid JMS along with Proton and Netty
Update the Qpid JMS and Proton dependencies to lastest and sync Netty
with the 4.1.28.Final version used by Qpid JMS to avoid clash that
breaks a test.  Adds override of new Proton-J WritableBuffer API that
allows it to use the Netty String encoder when needed instead of the
slower default version.

Update Qpid JMS to v0.36.0
Proton-J to v0.29.0
Netty to 4.1.28.Final
2018-08-25 07:22:53 +01:00
Robbie Gemmell b0c65ba2dd ARTEMIS-1978: update to proton-j 0.27.3 to resolve sequencing issues
Adds test exposing broker behaviour from issues stemming from PROTON-1892 and PROTON-1901
2018-08-08 14:27:42 -04:00
Timothy Bish 952bf12eeb ARTEMIS-1938 Update to Qpid JMS 0.33.0
Update to latest release of Qpid JMS
2018-06-15 17:10:18 -04:00
Clebert Suconic b6fba64d9e ARTEMIS-1913 Dependency to netty tcpnative should be optional 2018-06-06 16:13:31 -04:00
Howard Gao 7c53855c11 ARTEMIS-1853 Adding Netty OpenSSL provider example
Added an example to demonstrate how to configure and use openssl
Moved/Added netty-tcnative dependency to artemis-distribution
Changed artemis-jms-client-all pom to exclude io.netty from relocation
so that the native openssl can be loaded
2018-05-23 15:47:10 -04:00
Clebert Suconic af56b67e38 [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
Clebert Suconic bcaa11c2ee [maven-release-plugin] prepare release 2.6.0 2018-05-16 11:03:14 -04:00
Michael André Pearce aad45ad592 ARTEMIS-1783 Remove need for guava
Replace guava Preconditions with artemis Preconditions
Replace guava Predicate with java Predicate
Replace guava Ordering with java Comparator
Replace guava Immutable, with ArrayList/Set and then wrap with unmodifiable
2018-05-14 09:45:41 -04:00
Timothy Bish d5263dbe8c ARTEMIS-1847 Update to Netty 4.1.24.Final 2018-05-03 13:15:22 -04:00
Radovan Stancel 6acdb490c8 [ARTEMIS-1844] Fix opening SSL connection in IBM JDK in tests 2018-05-03 12:12:24 -04:00
Timothy Bish c1cf9ef12d ARTEMIS-1843 Update Qpid JMS 0.32.0 and Proton-j 0.27.1
Use new no copy variants for the delivery send and receive and make
use of the ReadableBuffer type that is now used to convery tranfer
payloads without a copy.  Also set max outgoing frame size to match
the configured maxFrameSize for the AMQP protocol head to avoid the
case where an overly large frame can be written instead of chunking
a large message.
2018-05-03 12:10:25 -04:00
Clebert Suconic 920af19adb [maven-release-plugin] prepare for next development iteration 2018-03-12 12:46:27 -04:00
Clebert Suconic 5f5b1dcf8f [maven-release-plugin] prepare release 2.5.0 2018-03-12 12:46:16 -04:00
Martyn Taylor e7da61a06f ARTEMIS-1739 Set automatic module name for native 2018-03-08 15:14:21 -06:00
Michael André Pearce cbe4e27cb8 ARTEMIS-1731 Support offline validation
Copy in https://www.w3.org/2005/08/xml.xsd so validation of broker.xml works offline
2018-03-06 12:38:41 -05:00
Michael André Pearce 9aaaf9cf88 ARTEMIS-1719 Update Netty to 4.1.22-Final
Update Netty to Latest.
2018-03-05 12:47:52 -05:00
Timothy Bish 79674ca5db ARTEMIS-1504 Update Qpid JMS to 0.30.0 and proton-j to 0.26.0
Updates to latest Qpid JMS and the latest Proton-J release
2018-03-02 08:57:20 -05:00
Justin Bertram 3463e70e9d NO-JIRA remove redundant properties 2018-02-21 11:06:25 -06:00
Justin Bertram 325b5f1a1b ARTEMIS-1684 fail build for failed 'fast' tests 2018-02-21 11:06:25 -06:00
Justin Bertram 5748627477 ARTEMIS-1687 reduce logging for fast-tests
Logging for the "fast-tests" profile used for PR builds could be reduced
significantly. This would save time as well as prevent log truncation
(Travis CI only supports logs up to 4MB).
2018-02-20 15:12:43 -05:00
Justin Bertram 32376ae4ca ARTEMIS-1684 enable Travis CI 2018-02-16 08:29:39 -06:00
Guillaume Nodet 5ed518f412 [ARTEMIS-1630] Move some versions to dependency management section 2018-02-05 16:13:44 +01:00
Guillaume Nodet 54c80aabcd Merge remote-tracking branch 'johnpoth/ARTEMIS-1630' 2018-02-05 11:03:47 +01:00
Dejan Bosanac 23fa91cd0c ARTEMIS-1632 Upgrade JBoss logging to 3.3.1.Final 2018-01-31 11:08:39 +08:00
jpoth cef1cc8f8d [ARTEMIS-1630] Create Artemis Client features 2018-01-24 09:43:03 +01:00
Timothy Bish 5e6967c809 ARTEMIS-1504 Update Qpid JMS to 0.29.0 and proton-j to 0.25.0
Updates to latest Qpid JMS and the latest Proton-J release
2018-01-22 17:44:14 -05:00
Michael André Pearce c735b0e185 ARTEMIS-1571 - Upgrade to Netty 4.1.19.Final
There is a critical bug/regression found and announced in netty 4.1.18 fixed in 4.1.19

http://netty.io/news/2017/12/18/4-1-19-Final.html
2017-12-21 22:42:40 -05:00
Clebert Suconic 7514e91ed1 Revert "ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions"
Revert "ARTEMIS-1545 Adding HornetQ 2.4.7 on the mesh to validate send-acks"

I'm reverting this as the testsuite is broken..
We will send it back once worked out.

This reverts commit 8f5b7a1e73.
This reverts commit 9b982b3e30.
2017-12-19 17:03:00 -05:00
Michael André Pearce 9b982b3e30 ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions 2017-12-19 14:44:58 -05:00
Clebert Suconic 9ef90f8def ARTEMIS-1546 Adding tests to validate compatibility
https://issues.apache.org/jira/browse/ARTEMIS-1546

- the dependency scan is changed to allow adding an extra repository
- adding groovy so we won't require compilation dependencies (just runtime)
  without needing reflection (thanks Groovy :) )
- Adding hornetq to the mesh of version tests
2017-12-18 22:04:37 -05:00
Justin Bertram b77cdaf773 ARTEMIS-1562 Refactor example documentation
This commit contains these changes:
* Change example documentation to use markdown
* Generate HTML doc based on markdown during release
* Fix XML formatting in some examples
* Repair out-of-date documentation
2017-12-15 14:54:16 +00:00
Timothy Bish 5aacb502fa ARTEMIS-1504 Update Qpid JMS to 0.28.0 and proton-j to 0.24.0
Updates to latest Qpid JMS and the latest Proton-J release
2017-12-14 20:08:06 -06:00
Timothy Bish 97a584fe52 ARTEMIS-1557 Updates Netty to v 4.1.18.Final 2017-12-13 16:01:55 -05:00
James Perkins 20374330d1 ARTEMIS-1528 Upgrade slf4j-jboss-logmanager to 1.0.4.GA. 2017-11-28 12:58:42 -05:00
Justin Bertram 55d7260a07 ARTEMIS-1510 refactor Maven poms
Clean up unused declared dependencies and undeclared dependencies which
are pulled in transitively.
2017-11-13 17:03:35 -05:00
Timothy Bish 72d7ce6186 ARTEMIS-1504 Update to QpidJMS 0.27.0 and Proton-j 0.23.0
Update to latest Qpid-JMS and match its Proton-J dependency
2017-11-06 12:07:32 -05:00
Justin Bertram 8703d9d51d [maven-release-plugin] prepare for next development iteration 2017-11-01 00:38:57 -05:00
Justin Bertram ec63189a0a [maven-release-plugin] prepare release 2.4.0 2017-11-01 00:38:56 -05:00
Justin Bertram a44b9d5edf [maven-release-plugin] prepare for next development iteration 2017-10-31 12:09:43 -05:00
Justin Bertram 34a7431d1b [maven-release-plugin] prepare release 2.4.0 2017-10-31 12:07:55 -05:00
Justin Bertram cd99aba48b ARTEMIS-1488 add 'all' client jar to distribution 2017-10-31 14:44:37 +00:00
Andy Taylor 804e12c7ce ARTEMIS-1491 - removed duplicate Jolokia instance
https://issues.apache.org/jira/browse/ARTEMIS-1491
2017-10-31 09:33:10 -05:00
Justin Bertram ba01bf7073 ARTEMIS-1483 upgrade beanutils 2017-10-27 16:47:11 +01:00
Justin Bertram b07588a020 ARTEMIS-1467 clean up example
- Rename example project
- Leverage built-in 5.x Camel support instead of using WAR
- Clarify instructions
- Fix pom names/structure
2017-10-27 16:44:12 +01:00
Francesco Nigro c76369ac7e ARTEMIS-1476 Added HdrHistogram support with verbose SyncCalculation and synchronous writes 2017-10-26 11:47:38 -04:00
Timothy Bish 278b84e36c ARTEMIS-1477 Add classifiers to the native transports
The changes to remove netty-all removes the classifiers that add the
dependency to the netty transport that includes the compiled native
library wrapper.  Add those classifiers back in.
2017-10-24 18:43:23 -05:00
ederign1 56e2592e58 [ARTEMIS-1477] Removing netty-all dependency from clients 2017-10-23 20:24:33 -04:00
Timothy Bish f364dd072b ARTEMIS-1453 Update to latest Qpid JMS release 0.26.0
Depends on Netty 4.1.16.Final which has fixes for native transports.
2017-10-06 15:46:08 -04:00
Michael Andre Pearce d34dbbd349 ARTEMIS-1439 remove duplicated jolokia version
As per review comment, removing duplicatation of version declaration of jolokia.
2017-09-29 11:35:25 -04:00
Michael Andre Pearce 5bebfe31ce ARTEMIS-1438 Upgrade hawtio to latest
Set hawtio to 1.5.4
Exclude diagnostics tab to avoid Flight Recorder being exposed.
Update jolokia to latest to match hawtio
Update current documentation links to artemis site instead of github causing blank load if docs are not local built.
2017-09-28 22:58:38 -04:00
Michael Andre Pearce b53b3acdb4 ARTEMIS-1439 Upgrade Netty to 4.1.16
Upgrade netty.
Remove tacticle fix for https://issues.apache.org/jira/browse/ARTEMIS-1099
as now fixed/handled upstream in netty from 4.1.16 https://github.com/netty/netty/issues/7150
2017-09-28 13:51:00 -05:00
Clebert Suconic 66edcf7f66 Revert "NO-JIRA: add licenses tag to pom.xml"
this is not needed...

This reverts commit f2f6fe250a.
2017-09-27 12:57:43 -04:00
psakar f2f6fe250a NO-JIRA: add licenses tag to pom.xml 2017-09-26 15:36:25 -04:00
Robbie Gemmell 436ff6efc5 ARTEMIS-1432: update to qpid-jms 0.25.0 and proton-j 0.22.0 2017-09-22 15:35:10 +01:00
Clebert Suconic c8982d775b [maven-release-plugin] prepare for next development iteration 2017-09-05 17:03:48 -04:00
Clebert Suconic 84d5ac65b4 [maven-release-plugin] prepare release 2.3.0 2017-09-05 17:03:37 -04:00
Clebert Suconic ed1b268d42 [maven-release-plugin] prepare for next development iteration 2017-08-31 13:48:09 -04:00
Clebert Suconic 21f2a4a52c [maven-release-plugin] prepare release 2.3.0 2017-08-31 13:47:57 -04:00
Michael André Pearce 684dd24cc7 ARTEMIS-1335 Update Netty to 4.1.14
Update Netty to 4.1.14
2017-08-09 15:20:49 -04:00
Clebert Suconic 766f412c63 ARTEMIS-1325 Update proton 0.20 and qpid-jms 0.24 2017-08-08 13:22:10 -04:00
Michael Andre Pearce 12942a609f ARTEMIS-1270 Management Console - Hawtio Solution
applying Artemis skin
2017-08-01 14:55:03 -04:00
Michael Andre Pearce cadf909f78 ARTEMIS-1270 Management Console - Hawtio Solution
Add Hawtio to web
Add Custom ActiveMQ Hawtio Branding Plugin
2017-08-01 14:54:27 -04:00
Clebert Suconic fdad83be22 [maven-release-plugin] prepare for next development iteration 2017-07-24 21:21:18 -04:00
Clebert Suconic 71b1cc2a20 [maven-release-plugin] prepare release 2.2.0 2017-07-24 21:21:06 -04:00
Clebert Suconic 14fe149fa5 ARTEMIS-1265 Fixing jacoco profile for IDE integration
Idea and Eclipse integration was broken because of the surefire plugin options
2017-07-24 15:11:24 -04:00
Jiri Danek 1b3d9cfed0 ARTEMIS-1276 fix JmsSendReceiveWithMessageExpirationTest 2017-07-24 10:50:52 -04:00
Erich Duda 22b4755fbb ARTEMIS-1265 JaCoCo profile for getting code coverage report
Added two maven profiles for:
 - generating JaCoCo exec files
 - generating JaCoCo reports
2017-07-24 09:56:08 -04:00
gtully cda1e018e1 ARTEMIS-1264 Foundation work for authentication with Kerberos using KRB_ cypher suites.
Core client with netty connector and acceptor doing kerberos
jaas.doAs around sslengine init such that the SSL handshake can do kerberos ticket
generaton and validation.
The kerberos authenticated user is then validated with the security manager before
being populated into the message userId.
The feature is enabled with the kerb5Config property. When lowercase it is the
principal. With a leading uppercase char it is the login.config entry to use.
2017-07-06 11:30:25 -04:00
Guillaume Nodet b6dcff039f [ARTEMIS-1196] Fix missing JSON support 2017-06-22 12:16:25 -04:00
Michael Andre Pearce b8ebe05775 ARTEMIS-1188: Update sevntu to 1.24.0 available in maven central
remove custom repo
update groupid to match artifact in maven central.
bump version also to that now deployed to maven central.
bump checkstyle version to 7.7 to make compatible.

updated checkstyle.xml to ignore existing issues which are prolific 
which are now flagged in latest version as some bugs in previous meant they we'ren't detected e.g. https://github.com/checkstyle/checkstyle/issues/3320

fixing some violations which are not too prolific.
2017-05-30 09:54:17 -04:00
Clebert Suconic bfc58d1079 ARTEMIS-1129 Fixing tests after client all
Shade is generating a file named dependency-reduced-pom.xml
and this is being considered with unaproved license.
2017-05-18 09:30:18 -04:00
Michael Andre Pearce 4ad931ae1b ARTEMIS-1129: Client Dependencies
Create shaded versions of the clients, so that end users have a single clean dependency to depend on.

Third party dependency's are re-packaged/relocated to avoid version / depedency issues.
2017-05-17 18:02:18 -04:00
Timothy Bish 3b49450cb6 ARTEMIS-1168 Update Qpid JMS and Proton-J to latest versions
Updates Qpid JMS to 0.23.0
Updates Proton-j to 0.19.0
2017-05-16 16:19:47 -04:00
Clebert Suconic ce61d20f5a [maven-release-plugin] prepare for next development iteration 2017-05-08 15:20:12 -04:00
Clebert Suconic 64e8f015ee [maven-release-plugin] prepare release 2.1.0 2017-05-08 15:20:01 -04:00
Clebert Suconic 36c9659279 [maven-release-plugin] prepare for next development iteration 2017-05-05 22:11:09 -04:00
Clebert Suconic 7b5082639f [maven-release-plugin] prepare release 2.1.0 2017-05-05 22:10:58 -04:00
James Perkins b1e4204a10 ARTEMIS-1144 Use the org.jboss.slf4j:slf4j-jboss-logmanager binding
to allow slf4j to bind to the jboss-logmanager/jul
2017-05-05 09:46:04 -04:00
Michael Andre Pearce 40fc2b7721 ARTEMIS-1138 OSGI Netty Epoll Fix
* update qpid jms to 0.22 to pick up epoll change there.
* update netty to 4.1.9 to avoid version issues as qpid also uses.
* add netty-transport-native-epoll bundle to netty-core feature
2017-05-02 13:00:10 -04:00
Justin Bertram cf911a1ca7 ARTEMIS-457 upgrade JGroups 2017-04-28 10:14:57 +01:00
Andy Taylor 3665cd1f25 no jira - upgrade Jetty version 2017-04-19 07:45:27 +01:00
Andy Taylor e290ec92d0 no jira - upgrade ActiveMQ version 2017-04-18 10:39:52 +01:00
Ingo Weiss e6f757e44f [ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK
Issue: https://issues.apache.org/jira/browse/ARTEMIS-861
2017-04-10 10:16:44 -04:00
Clebert Suconic dd27fb587f ARTEMIS-1089 Moving smoke tests under ./tests/smoke-tests
This is moving the smoke tests creates as part of the relication tests.

They are also now based on junit tests.

And to support starting servers I am exposing basedir to unit tests in general.
2017-04-05 13:06:55 +01:00
Clebert Suconic aafb2087fa Revert "NO-JIRA upgrade maven-surefire-plugin to 2.19.1"
This reverts commit 63054a0706.
2017-03-29 21:43:06 -04:00
Jiri Danek 63054a0706 NO-JIRA upgrade maven-surefire-plugin to 2.19.1 2017-03-29 09:27:27 -04:00