Commit Graph

1000 Commits

Author SHA1 Message Date
Justin Bertram 5f0902cfe9 ARTEMIS-4634 upgrade Maven Plugin Annotations to 3.11.0 2024-02-06 13:21:47 -06:00
Justin Bertram 983bb71ad0 ARTEMIS-4633 upgrade Apache HTTP Core to 4.4.16 2024-02-06 13:21:18 -06:00
Justin Bertram a17037bc9e ARTEMIS-4632 upgrade Apache HTTP client to 4.5.14 2024-02-06 13:18:32 -06:00
Justin Bertram e3ce9afbb9 ARTEMIS-4631 upgrade Spring to 5.3.31 2024-02-06 13:18:21 -06:00
Justin Bertram 6c251eaa78 ARTEMIS-4592 ignore more currently-invalid potential upgrades 2024-02-06 13:23:28 +00:00
Clebert Suconic 9d988dd9d0 ARTEMIS-4617 upgrade JLine to 3.25.1
I had to remove the indirect dependency between the maven plugin and jline
to avoid the maven plugin to parse some classes in jline that require experimental features on the JDK
even when they are not in use.
2024-02-01 16:12:58 -05:00
Justin Bertram 3f65f74753 ARTEMIS-4624 upgrade TestContainers to 1.19.4 2024-02-01 10:15:18 -06:00
Justin Bertram 7454b4d284 ARTEMIS-4623 upgrade SLF4J to 2.0.11 2024-02-01 10:14:08 -06:00
Justin Bertram 5cefd93562 ARTEMIS-4616 upgrade JGroups to 5.3.2.Final 2024-02-01 10:12:50 -06:00
Justin Bertram 49367ce51c ARTEMIS-4615 upgrade JCTools to 4.0.2 2024-02-01 10:11:55 -06:00
Justin Bertram f53833e8b5 ARTEMIS-4614 upgrade Jacoco to 0.8.11 2024-02-01 10:10:54 -06:00
Justin Bertram 49cb8c1845 ARTEMIS-4610 upgrade ZooKeeper to 3.9.1 2024-02-01 10:09:34 -06:00
Justin Bertram 2952d94554 ARTEMIS-4608 upgrade Derby to 10.15.2.0 2024-02-01 10:07:57 -06:00
Justin Bertram 8b8c1dde3e ARTEMIS-4604 upgrade Commons DBCP2 to 2.11.0 and Commons Pool to 2.12.0 2024-02-01 10:07:13 -06:00
Justin Bertram 4905c438e1 ARTEMIS-4597 upgrade Commons IO to 2.15.1 2024-02-01 10:05:50 -06:00
Justin Bertram 901ffe6f9d ARTEMIS-4593 upgrade Caffeine to 3.1.8 2024-02-01 10:04:35 -06:00
Justin Bertram d3d4945714 ARTEMIS-4622 upgrade Selenium to 4.17.0 2024-02-01 09:18:51 -06:00
Justin Bertram 3f56418074 ARTEMIS-4621 upgrade PostgreSQL to 42.7.1 2024-02-01 09:18:35 -06:00
Justin Bertram cc108785b9 ARTEMIS-4620 upgrade OWASP to 9.0.9 2024-02-01 09:18:24 -06:00
Justin Bertram ae10037e28 ARTEMIS-4619 upgrade Mockito to 5.10.0 2024-02-01 09:18:13 -06:00
Justin Bertram 777cc49e7d ARTEMIS-4618 upgrade JUnit to 5.10.1 2024-02-01 09:18:01 -06:00
Justin Bertram c6329778e1 ARTEMIS-4613 upgrade Jansi to 2.4.1 2024-02-01 09:17:17 -06:00
Justin Bertram 377d231b16 ARTEMIS-4612 upgrade EasyMock to 5.2.0 2024-02-01 09:17:06 -06:00
Justin Bertram fdd76720c9 ARTEMIS-4611 upgrade BouncyCastle to 1.77 2024-02-01 09:16:57 -06:00
Justin Bertram ecfe5ade45 ARTEMIS-4609 upgrade Log4j to 2.22.1 2024-02-01 09:16:39 -06:00
Justin Bertram 9cf52a693a ARTEMIS-4607 upgrade Curator to 5.6.0 2024-02-01 09:16:25 -06:00
Justin Bertram 6abfe4f418 ARTEMIS-4605 upgrade Commons Lang to 3.14.0 2024-02-01 09:16:16 -06:00
Justin Bertram 7d691b0ab9 ARTEMIS-4603 upgrade JavaCC to 7.0.13 2024-02-01 09:15:57 -06:00
Justin Bertram 23199b3621 ARTEMIS-4602 upgrade Jetty to 10.0.20 2024-02-01 09:15:49 -06:00
Justin Bertram b2aa351ad1 ARTEMIS-4599 upgrade PEM Keystore to 2.3.0 2024-02-01 09:15:38 -06:00
Justin Bertram 3f60e0abb5 ARTEMIS-4598 upgrade Commons Logging to 1.3.0 2024-02-01 09:15:22 -06:00
Justin Bertram 93a7ef8eac ARTEMIS-4596 upgrade Commons Codec to 1.16.0 2024-02-01 09:14:52 -06:00
Justin Bertram e935b74f7a ARTEMIS-4595 upgrade Guava to 33.0.0-jre 2024-02-01 09:14:40 -06:00
Justin Bertram b863bc4ede ARTEMIS-4594 upgrade Error Prone to 2.24.1
This commit also fixes any new problems found with the new version.
2024-02-01 09:14:30 -06:00
Justin Bertram 38c36599c9 ARTEMIS-4592 detect possible dependency updates 2024-02-01 09:14:17 -06:00
Justin Bertram 1098fb8a32 ARTEMIS-4591 upgrade Netty to 4.1.106.Final 2024-02-01 09:14:07 -06:00
Domenico Francesco Bruscino 45744698f7 ARTEMIS-4628 Upgrade vertx-proton test dep to 4.5.2 2024-02-01 16:04:33 +01:00
Justin Bertram f258b27eb4 ARTEMIS-4601 remove OpenTelemetry deps from main pom
The OpenTelemetry dependencies can be isolated to the `opentelemetry`
example in the `activemq-artemis-examples` repo. They aren't needed here
anymore.
2024-02-01 11:35:50 +00:00
Justin Bertram 0465e9c725 ARTEMIS-4600 upgrade Micrometer to 1.12.2 2024-01-31 13:44:24 -06:00
Clebert Suconic e513e6d2dd [maven-release-plugin] prepare for next development iteration 2024-01-24 14:21:08 -05:00
Clebert Suconic dbaa508d07 [maven-release-plugin] prepare release 2.32.0 2024-01-24 14:21:07 -05:00
Justin Bertram eb7d131a8b ARTEMIS-4567 support OpenWire clients for broker embedded in Jakarta environment
If the broker is embedded into a Jakarta environment then the existing
artemis-openwire-protocol module won't work because it uses javax
classes.

This commit adds a new Jakarta-specific module that can be used to
support OpenWire clients in Jakarta environments (e.g. Spring Boot 3).
Users will simply need to include this version on their classpath to
enable support.
2024-01-19 16:05:25 +00:00
Justin Bertram 0906369584 ARTEMIS-4578 upgrade Jackson to 2.16.1 2024-01-19 16:00:56 +00:00
Timothy Bish 4ea55cd611 ARTEMIS-4568 Configuration reload for AMQP federation broker connections
Allows the configuration of AMQP Federation broker connections to be updated and
reloaded. This allows for update, add or remove of AMQP federation broker connections
as well as the basic AMQP sender and receiver broker connections. It checks for and
ignores changes in AMQP broker connections that are performing Mirroring as that
would lead to issues that can break mirroring.
2024-01-18 17:13:41 +00:00
Justin Bertram fb2c76ad65 ARTEMIS-4572 upgrade to Apache parent 31 2024-01-18 16:55:51 +00:00
Justin Bertram 19fd26c790 ARTEMIS-4573 upgrade Checkstyle to 10.12.7 & Sevntu to 1.44.1 2024-01-18 13:22:13 +00:00
Gary Tully 5269b1a89d ARTEMIS-4561 expose store type on web component tls binding config 2024-01-10 15:21:53 -06:00
Gary Tully 7a2137f467 ARTEMIS-4528 tls, add support for PEM key store type 2023-12-15 15:52:48 +00:00
Robbie Gemmell 25640785a7 ARTEMIS-4533: remove the examples directory and profile 2023-12-14 12:05:52 -05:00
Emmanuel Hugonnet 0dd8ce2897 ARTEMIS-4500 upgrade netty to 4.1.101.Final
Issue: https://issues.apache.org/jira/browse/ARTEMIS-4500

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-11-13 11:02:18 -05:00
Justin Bertram 0fc1906a62 ARTEMIS-4493 upgrade Hawtio to 2.17.7 2023-11-08 14:05:41 -06:00
Emmanuel Hugonnet 76cbda1c2a ARTEMIS-4494 upgrade commons-lang3 from 3.12.0 to 3.13.0
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-11-08 14:05:29 -06:00
Robbie Gemmell b59813336e ARTEMIS-4491: update to ActiveMQ 5.18.3 2023-11-06 13:16:52 +00:00
Robbie Gemmell 66dd52fcf2 ARTEMIS-4490: update to SLF4J 2.0.9 2023-11-03 17:55:48 +00:00
Robbie Gemmell fda83f6924 ARTEMIS-4489: update to karaf 4.4.4 2023-11-03 13:38:31 +00:00
Robbie Gemmell 56cd29bf66 ARTEMIS-4478: update to log4j 2.21.1 2023-10-31 09:18:15 +00:00
Robbie Gemmell bbe40c4b45 [maven-release-plugin] prepare for next development iteration 2023-10-27 11:14:45 +01:00
Robbie Gemmell f4bccc1a26 [maven-release-plugin] prepare release 2.31.2 2023-10-27 11:14:19 +01:00
Clebert Suconic 845648526f [maven-release-plugin] prepare for next development iteration 2023-10-25 14:45:43 -04:00
Clebert Suconic 5a1c9bf3d1 [maven-release-plugin] prepare release 2.31.1 2023-10-25 14:45:41 -04:00
Justin Bertram 28ac22e892 ARTEMIS-4475 upgrade ActiveMQ 'Classic' to 5.17.6 2023-10-25 13:39:25 -04:00
Robbie Gemmell 6649ecf963 ARTEMIS-4474: update to zookeeper 3.8.3 2023-10-25 12:21:29 +01:00
Clebert Suconic 9b56d296a3 ARTEMIS-4464 Cleanup on Soak and Smoke tests
- removed a few ignored tests
- removed some artemis maven plugin usage and using the CLI directly now
2023-10-24 14:44:24 -04:00
Clebert Suconic 7c4663a5b6 ARTEMIS-4466 Disable Features verification on non test profiles 2023-10-24 14:44:24 -04:00
Emmanuel Hugonnet b8bb560ff0 ARTEMIS-4439: Upgrading Netty to 4.1.100.Final
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-10-11 11:14:44 -04:00
Domenico Francesco Bruscino e96a19cdef ARTEMIS-4457 Upgrade jetty version to 10.0.16 2023-10-10 10:01:47 +01:00
Robbie Gemmell 260f774c19 ARTEMIS-4437: move plugin into its profile, avoid pre-build snapshot resolve.
The prior change from 90ac1e6464 in #4629 causes
the root pom build to resolve the module snapshots and can result in their
download, even though they are in the same reactor to build. This typically
happens daily on a developers machine, and on every build of CI jobs
(depending on prior mvn install's and repo caching being done).

Rather than the profile flipping a proeprty to stop the plugin skipping, the
plugin should be in the profile so it is only active if the profile is.
2023-10-04 12:05:56 +01:00
Clebert Suconic d06712ecb8 ARTEMIS-4439 upgrade Netty to 4.1.99.Final 2023-09-28 21:09:00 -04:00
Justin Bertram 86e22803a7 ARTEMIS-4439 upgrade Netty to 4.1.98.Final 2023-09-27 13:26:01 -05:00
Justin Bertram b136dced8e ARTEMIS-4438 upgrade JGroups to 5.3.0.Final 2023-09-27 13:25:52 -05:00
Justin Bertram 90ac1e6464 ARTEMIS-4437 upgrade OWASP to 8.4.0
Aside from upgrading OWASP this commit also changes the configuration to
aggregate the reports from all sub-modules. This makes analyzing
vulnerabilities across the project much simpler.
2023-09-27 13:25:43 -05:00
Hervé Boutemy cbbc29db35 ARTEMIS-4433 fix Reproducible Builds issues 2023-09-20 15:16:40 +01:00
Clebert Suconic 0d2a94b006 [maven-release-plugin] prepare for next development iteration 2023-09-15 14:40:49 -04:00
Clebert Suconic 74f08ea059 [maven-release-plugin] prepare release 2.31.0 2023-09-15 14:40:45 -04:00
Clebert Suconic 784aa9f884 [maven-release-plugin] prepare for next development iteration 2023-09-14 16:54:07 -04:00
Clebert Suconic 816b0828eb [maven-release-plugin] prepare release 2.31.0 2023-09-14 16:54:05 -04:00
Clebert Suconic 6c9ddfd460 [maven-release-plugin] prepare for next development iteration 2023-09-14 14:58:10 -04:00
Clebert Suconic 30e4df8ff8 [maven-release-plugin] prepare release 2.31.0 2023-09-14 14:58:07 -04:00
Robbie Gemmell 819e1a9802 NO-JIRA: make various poms indents consistent 2023-09-12 17:03:58 +01:00
Justin Bertram 495350a0c1 ARTEMIS-4425 upgrade Hawtio to 2.17.6 2023-09-12 17:10:22 +02:00
Clebert Suconic 6a8cd175dc ARTEMIS-4401 improving JDBC Performance with Paging by a significant factor 2023-09-12 08:34:09 -04:00
Timothy Bish d830f04de8 ARTEMIS-4419 Add federation support to AMQP broker connections
Allows federation of addresses and queues over an outbound AMQP broker
connection and provide configuration via XML or broker propeties.
2023-09-11 16:38:36 -04:00
Emmanuel Hugonnet bbe23b24ad ARTEMIS-4423 upgrade Netty to 4.1.97.Final
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-09-08 06:40:30 +02:00
Clebert Suconic b2c08f356b ARTEMIS-4372 Upgrade Pico-cli to 4.7.5 2023-08-30 21:39:00 -04:00
Alexey Markevich ce8163b780 ARTEMIS-4355 Update Curator to 5.5.0; Zookeeper 3.8.2 2023-08-30 16:51:35 +01:00
Alexey Markevich 50a1824c02 ARTEMIS-4349: Replace Guava cache with Caffeine
Combination of changes from Alexey Markevich with updates from Robbie Gemmell. See PRs for detail.

This closes #4584.
This closes #4540.
2023-08-29 16:00:53 +01:00
Emmanuel Hugonnet a960a5bf62 ARTEMIS-4392 Upgrade Netty to 4.1.96.Final
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-08-17 12:18:23 -05:00
Robbie Gemmell 116274e9ca ARTEMIS-4386: consolidate the used servlet api deps on the jetty one already being shipped 2023-08-04 11:57:01 +01:00
Robbie Gemmell f6e647f939 ARTEMIS-4383: add RAT config to fix the build, and LICENSE updates to reflect the new files 2023-08-03 13:04:47 +01:00
Justin Bertram 3a4b421d2e ARTEMIS-4383 migrate user docs to AsciiDoc
Markdown, which is currently used for user-facing documentation, is good
for a lot of things. However, it's not great for the kind of complex
documentation we have and our need to produce both multi-page HTML and
single-page PDF output via Maven.

Markdown lacks features which would make the documentation easier to
read, easier to navigate, and just look better overall.

The current tool-chain uses honkit and a tool called Calibre. Honkit is
written in TypeScript and is installed via NPM. Calibre is a native tool
so it must be installed via an OS-specific package manager. All this
complexity makes building, releasing, uploading, etc. a pain.

AsciiDoc is relatively simple like Markdown, but it has more features
for presentation and navigation not to mention Java-based Maven tooling
to generate both HTML and PDF. Migrating will improve both the
appearance of the documentation as well as the processes to generate and
upload it.

This commit contains the following changes:
 - Convert all the Markdown for the User Manual, Migration Guide, and
   Hacking guide to AsciiDoc via kramdown [1].
 - Update the `artemis-website` build to use AsciiDoctor Maven tooling.
 - Update `RELEASING.md` with simplified instructions.
 - Update Hacking Guide with simplified instructions.
 - Use AsciiDoc link syntax in Artemis Maven doc plugin.
 - Drop EPUB & MOBI docs for User Manual as well as PDF for the Hacking
   Guide. All docs will be HTML only except for the User Manual which
   will have PDF.
 - Move all docs up out of their respective "en" directory. This was a
   hold-over from when we had docs in different languages.
 - Migration & Hacking Guides are now single-page HTML since they are
   relatively short.
 - Refactor README.md to simplify and remove redundant content.

Benefits of the change:
 - Much simplified tooling. No more NPM packages or native tools.
 - Auto-generated table of contents for every chapter.
 - Auto-generated anchor links for every sub-section.
 - Overall more appealing presentation.
 - All docs will use the ActiveMQ favicon.
 - No more manual line-wrapping! AsciiDoc recommends one sentence per
   line and paragraphs are separated by a blank line.
 - AsciiDoctor plugins for IDEA are quite good.
 - Resulting HTML is less than *half* of the previous size.

All previous links/bookmarks should continue to work.

[1] https://github.com/asciidoctor/kramdown-asciidoc
2023-08-02 16:21:06 -04:00
Clebert Suconic 93ee61e35c ARTEMIS-4372 Implement Pico-cli and script auto-complete
ARTEMIS-4375 Implement artemis shell using JLine3 integrated with auto-completion from picocli

This commit involves two JIRAs. One is adding PicoCLI and the next is Using JLine3 and implement a shell.
I have tried to keep these commits separate but these changes became interdependent hence the two JIRAs are squashed in this commit.
2023-07-31 10:40:27 -04:00
Alexey Markevich 145e4be6d5 ARTEMIS-4374 Pax Exam 4.13.5 2023-07-25 12:39:21 +01:00
Justin Bertram c81e079122 ARTEMIS-4373 upgrade Karaf to 4.4.3 2023-07-25 11:07:06 +01:00
Justin Bertram 7048d9d4a5 [maven-release-plugin] prepare for next development iteration 2023-07-20 14:39:21 -05:00
Justin Bertram f05b63b8a1 [maven-release-plugin] prepare release 2.30.0 2023-07-20 14:36:44 -05:00
Domenico Francesco Bruscino 350ede619d ARTEMIS-4364 Upgrade johnzon version to 1.2.21 2023-07-17 10:40:34 -05:00
Justin Bertram cce565e78f ARTEMIS-4353 clean up Maven dependencies
This commit contains the following changes:
 - eliminate used, undeclared dependencies
 - eliminate unused, declared dependencies
 - fix scope for test dependencies
 - eliminate org.hamcrest completely as its use involved deprecated code
   as well as dependencies from multiple versions
2023-07-14 14:03:41 +01:00
Robbie Gemmell 187ae9daec ARTEMIS-4363: Update to Qpid JMS 1.10.0 2023-07-13 14:40:22 +01:00
Clebert Suconic bf9654e1fd ARTEMIS-4360 Moving skipCompatibilityTests property inside ./compatibility-tests/pom.xml 2023-07-13 07:02:15 -04:00
Clebert Suconic b088cdc65a NO-JIRA removing not used skipRestTests
the use of skipRestTests is gone with the removal of the rest module a few months ago.
This is just a simple cleanup of its left over and it is dead code.
2023-07-12 15:35:58 -04:00
Clebert Suconic 8429b8a4ab ARTEMIS-4360 removing skipCompatibilityTests from fast-tests 2023-07-12 15:35:05 -04:00
Clebert Suconic c9f2f53b88 ARTEMIS-4360 Make compatibility-tests opt in with -Pcompatibility-tests 2023-07-12 12:46:15 -04:00
Robbie Gemmell a3c01257af ARTEMIS-4331: update to jgroups 5.2.16, adjust deps to exclude BM 2023-07-11 12:31:34 -05:00
Justin Bertram b198a9db7f ARTEMIS-4358 upgrade commons-configuration2
Version 2.9.0 of commons-configuration2 now includes commons-text 1.10.0
so the dependencies can be simplified.
2023-07-11 10:12:37 +01:00
Clebert Suconic d584d01131 ARTEMIS-4323 Keeping surefire at version 2.22.2 until a possible memory leak is finished
At the time when we upgraded to latest the testsuite could not complete with a single run
as many instances of https://github.com/apache/maven-surefire/blob/master/surefire-api/src/main/java/org/apache/maven/surefire/api/util/internal/ClassMethod.java were created.

A thread was created within Maven user's forum: https://lists.apache.org/thread/6mzhr2pom7rmz96css49n8pk642cxkqf

surefire should be upgraded in a near future as part of ARTEMIS-4359
2023-07-10 17:35:09 -04:00
Justin Bertram 4b91d1d57e ARTEMIS-4318 migrate to Airline 2
The "Airline" library we're currently using is deprecated according the
GitHub project - https://github.com/airlift/airline. It recommends using
either Airline 2 or Picocli. The former offers the simplest migration
path as it's almost completely compatible with the current code. This
commit implements that migration.
2023-07-06 09:36:09 -04:00
Robbie Gemmell cb9e1fedc8 ARTEMIS-4345: update to Error Prone 2.20.0 and fix up new errors 2023-07-05 09:40:24 +01:00
Robbie Gemmell b310de1df3 ARTEMIS-4344: update to Jacoco 0.8.10 2023-07-04 11:38:25 +01:00
Robbie Gemmell 8e1564dfb3 ARTEMIS-4343: update to Mockito 5.4.0 2023-07-04 11:36:31 +01:00
Robbie Gemmell 39b3fd2d2e ARTEMIS-4342: update to Groovy 4.0.13 2023-07-04 11:33:30 +01:00
Robbie Gemmell 323b080888 ARTEMIS-4323: remove superfluous maven-install-plugin entries, stop warnings
It is a core plugin so still present, but v3.0.0+ no longer supports the createChecksum config and generates warnings on newer maven 3.9+ releases
2023-07-03 12:39:45 +01:00
Domenico Francesco Bruscino fef7c147eb ARTEMIS-4336 Upgrade mockserver version to 5.15.0 2023-06-27 17:39:41 +01:00
Domenico Francesco Bruscino 247263c12c ARTEMIS-4335 Upgrade bcprov to bcprov-jdk18on:1.75 2023-06-27 17:39:41 +01:00
Robbie Gemmell e59fb0233e ARTEMIS-4334: move artemis-website into the release profile since it now does nothing outwith it 2023-06-26 11:30:58 +01:00
Robbie Gemmell 57602a94ff ARTEMIS-4329: use standard location for RAT check output 2023-06-23 15:25:13 +01:00
Justin Bertram a6fea084ed ARTEMIS-4323 upgrade to Apache parent 30 2023-06-22 13:42:24 +01:00
Robbie Gemmell 7ff5f47008 ARTEMIS-4321: upgrade Guava to 32.0.1-jre 2023-06-21 16:11:37 +01:00
Justin Bertram 2de12d211c ARTEMIS-4321 upgrade Guava to 32.0.0-jre 2023-06-21 10:16:10 +02:00
Justin Bertram b440c2a3aa ARTEMIS-4320 upgrade Netty to 4.1.94.Final 2023-06-21 10:15:23 +02:00
Justin Bertram 69ae79ad84 ARTEMIS-4277 upgrade checkstyle 2023-06-20 18:04:05 +01:00
Clebert Suconic ae554b43db [maven-release-plugin] prepare for next development iteration 2023-06-14 18:20:58 -04:00
Clebert Suconic 2be5c54cd0 [maven-release-plugin] prepare release 2.29.0 2023-06-14 18:20:45 -04:00
Clebert Suconic 2ef43a0be1 Revert "ARTEMIS-4299 Upgrade json-smart to 2.4.11"
This reverts commit d943213cae.

This is being reverted until the build could be fixed.
2023-05-31 18:49:56 -04:00
Domenico Francesco Bruscino d943213cae ARTEMIS-4299 Upgrade json-smart to 2.4.11 2023-05-31 16:33:45 -05:00
Robbie Gemmell c31211b93f ARTEMIS-4269: update to Netty 4.1.93 2023-05-30 12:17:48 +01:00
Clebert Suconic 80e34bfba7 ARTEMIS-4290 Replacing maven-surefire deprecated property forkMode by forkCount and reuseFork 2023-05-24 22:21:16 -04:00
Gary Tully 587ffb223c ARTEMIS-3042 simple properties based, extensible broker image 2023-05-24 15:22:01 +01:00
Clebert Suconic 0c8adee37a ARTEMIS-4290 Separating some integration tests into legacy-integration-tests
legacy-integration-tests is being created to hold LDAP Tests (or any other tests that won't play well with keeping threads clean)
it will have fork-mode=always on the maven-surefire-plugin
2023-05-23 13:52:03 -07:00
Robbie Gemmell 4cb936c6e1 ARTEMIS-4289: update to Log4j 2.20.0 2023-05-23 15:52:27 +01:00
Robbie Gemmell 21b0dfac89 ARTEMIS-4288: update to maven-bundle-plugin 5.1.9 2023-05-23 11:17:15 +01:00
Robbie Gemmell 7aa025e366 ARTEMIS-4287: update to Qpid JMS 1.9.0 2023-05-22 14:59:03 +01:00
Robbie Gemmell edfaa157f3 ARTEMIS-4269: also update netty tcnative test/examples dep to 2.0.61 2023-05-22 09:53:37 +01:00
Robbie Gemmell 42a176dced ARTEMIS-4272: update to Jetty 10.0.15 2023-05-04 09:54:36 +01:00
Robbie Gemmell 32f5c9ccf4 ARTEMIS-4271: update to Spring 5.3.27 2023-05-04 09:54:36 +01:00
Emmanuel Hugonnet 31095682ee ARTEMIS-4269 Update Netty from 4.1.86 to 4.1.92
Changes:
https://netty.io/news/2023/04/25/4-1-92-Final.html
https://netty.io/news/2023/04/03/4-1-91-Final.html
https://netty.io/news/2023/03/14/4-1-90-Final.html
https://netty.io/news/2023/02/13/4-1-89-Final.html
https://netty.io/news/2023/02/12/4-1-88-Final.html
https://netty.io/news/2023/01/12/4-1-87-Final.html

Issue: https://issues.apache.org/jira/browse/ARTEMIS-4269

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
2023-05-02 19:31:06 +02:00
Justin Bertram 74fa4ca758 ARTEMIS-4212 fix sending msgs to address w/mismatching routing types
When sending, for example, to a predefined anycast address and queue
from a multicast (JMS topic) producer, the routed count on the address
is incremented, but the message count on the matching queue is not. No
indication is given at the client end that the messages failed to get
routed - the messages are just silently dropped.

Fixing this problem requires a slight semantic change. The broker is now
more strict in what it allows specifically with regards to
auto-creation. If, for example, a JMS application attempts to send a
message to a topic and the corresponding multicast address doesn't exist
already or the broker cannot automatically create it or update it then
sending the message will fail.

Also, part of this commit moves a chunk of auto-create logic into
ServerSession and adds an enum for auto-create results. Aside from
helping fix this specific issue this can serve as a foundation for
de-duplicating the auto-create logic spread across many of the protocol
implementations.
2023-04-25 16:08:31 -05:00
Domenico Francesco Bruscino 71408296c9 ARTEMIS-4228 Upgrade testcontainers version to 1.17.6 2023-04-03 09:27:18 +01:00
Domenico Francesco Bruscino 5c654a12c7 ARTEMIS-4227 Upgrade opentelemetry version to 1.24.0 2023-04-03 09:27:18 +01:00
Domenico Francesco Bruscino e906294a35 ARTEMIS-4226 Upgrade guava version to 31.1-jre 2023-04-03 09:27:18 +01:00
Robbie Gemmell 21a5f0d2fa ARTEMIS-4222: update to mockito 5.2.0 2023-03-29 12:34:08 +01:00
Robbie Gemmell ccf6a3f420 ARTEMIS-4221: update to groovy 4.0.10 2023-03-29 12:32:48 +01:00
Robbie Gemmell 61d1ca674c ARTEMIS-4220: update spring to 5.3.26 2023-03-28 15:00:10 +01:00
Clebert Suconic ed620d09c8 ARTEMIS-4171 Skip Leaking Tests on FastTests 2023-03-06 17:04:18 -08:00
Clebert Suconic 0971886a36 ARTEMIS-4198 Upgrade qpid/proton-j at 0.34.1 2023-03-06 17:04:18 -08:00
Robbie Gemmell 1f3745c87d ARTEMIS-4160: update the files used for the config upgrade testing to use the new comment.
Fixes the CompareUpgradeTest by removing this unimportant difference from a fresh broker instances jolokia-access.xml file, given that we dont actually update jolokia-access.xml currently during upgrade.

Tweaks or unwinds earlier changes in aae65fd527 and 3e7cb24381
2023-03-03 14:58:22 +00:00
Clebert Suconic 3e7cb24381 NO-JIRA Adding CompareUpgradeTest to fast-tests 2023-03-02 18:12:51 -08:00
Clebert Suconic a2ba6ed298 ARTEMIS-4161 AMQP and OpenWire leaking leaking objects in certain conditions
The issue identified with AMQP was under Transaction usage, and while opening and closing sessions.
It seems the leak would be released once the connection is closed.

We added a new testsuite under ./tests/leak-tests To fix and validate these issues
2023-02-16 12:10:54 -08:00
Justin Bertram f154c0b7dd ARTEMIS-4153 Support 'offline' Maven 2023-02-06 13:20:34 -06:00
Justin Bertram 8f30347b18 ARTEMIS-4143 improve mitigation against split-brain with shared-storage
Configurations employing shared-storage with NFS are susceptible to
split-brain in certain scenarios. For example:

  1) Primary loses network connection to NFS.
  2) Backup activates.
  3) Primary reconnects to NFS.
  4) Split-brain.

In reality this situation is pretty unlikely due to the timing involved,
but the possibility still exists. Currently the file lock held by the
primary broker on the NFS share is essentially worthless in this
situation. This commit adds logic by which the timestamp of the lock
file is updated during activation and then routinely checked during
runtime to ensure consistency. This effectively mitigates split-brain in
this situation (and likely others). Here's how it works now.

  1) Primary loses network connection to NFS.
  2) Backup activates.
  3) Primary reconnects to NFS.
  4) Primary detects that the lock file's timestamp has been updated and
     shuts itself down.

When the primary shuts down in step #4 the Topology on the backup can be
damaged. Protections were added for this via ARTEMIS-2868 but only for
the replicated use-case. This commit applies the protection for
removeMember() so that the Topology remains intact.

There are no tests for these changes as I cannot determine how to
properly simulate this use-case. However, there have never been robust,
automated tests for these kinds of NFS use-cases so this is not a
departure from the norm.
2023-02-03 10:40:08 -05:00
Clebert Suconic 2378d187af [maven-release-plugin] prepare for next development iteration 2023-01-31 07:22:48 -05:00
Clebert Suconic 893e1e7916 [maven-release-plugin] prepare release 2.28.0 2023-01-31 07:22:47 -05:00
Robbie Gemmell 3908dfc055 ARTEMIS-2876: re-fix JUnit 4 license note (it was changed to EPL 1.0 in 2013)
earlier fixup  undone by later commit to junit test modules
2023-01-30 15:01:21 +00:00
Domenico Francesco Bruscino b1d70a24fd ARTEMIS-4138 Upgrade jackson version to 2.14.1 2023-01-20 11:17:54 +01:00
Andy Taylor b02002fc66 ARTEMIS-3875 - adding consumer and producer metrics
https://issues.apache.org/jira/browse/ARTEMIS-3875
2023-01-13 15:49:44 -05:00
eidottermihi 76b8acc1dc
ARTEMIS-2876 Add JUnit5 Extensions for testing
Adds a new module 'artemis-junit-5' which adds JUnit 5 Extensions for
unit testing. For backwards compability, 'artemis-junit' still uses
JUnit 4. Common stuff has been moved to 'artemis-junit-commons'. Work is
based on the initial PR
https://github.com/apache/activemq-artemis/pull/3436 by @luisalves00
2022-12-17 01:44:57 -06:00
Justin Bertram 1846f3dad7
ARTEMIS-4117 bump Netty from 4.1.82.Final to 4.1.86.Final 2022-12-15 13:40:02 -06:00
Robbie Gemmell 776b4436df ARTEMIS-4099: Update to PostgreSQL 42.4.3 2022-11-24 10:45:37 +00:00
ruromero 3e50014e0d [ARTEMIS-3168] Implement Kubernetes JaaS LoginModule
Signed-off-by: ruromero <rromerom@redhat.com>
2022-11-22 11:44:00 +00:00
Justin Bertram dce4ba3c1a [maven-release-plugin] prepare for next development iteration 2022-11-08 13:17:38 -06:00
Justin Bertram 1fd6cb6239 [maven-release-plugin] prepare release 2.27.0 2022-11-08 12:46:20 -06:00
Justin Bertram ccb76c0a2a ARTEMIS-4064 Harden MetricsManager
In order to improve trouble-shooting for the MetricsManager there should
be additional logging and exceptions. In all, this commit contains the
following changes:

 - Additional logging
 - Throw an exception when registering meters if meters already exist
 - Rename a few variables & methods to more clearly identify what they
   are used for
 - Upgrade Micrometer to 1.9.5
 - Simplify/clarify a few blocks of code
 - No longer pass the ManagementServiceImpl when registering the
   metrics, but instead pass the Object the meter is observing (e.g.
   broker, address, or queue)
2022-10-31 09:04:20 -04:00
Robbie Gemmell e1903bf67c ARTEMIS-4068: skip the 'default' subset of tests run twice during release steps
They, and many more, are also run in CI during the process, so its largely redundant.
2022-10-21 17:04:07 +01:00
Robbie Gemmell d286339a84 ARTEMIS-4067: remove unused/stale site distributionManagement settings 2022-10-21 16:57:12 +01:00
Robbie Gemmell 669bdc3a12 ARTEMIS-4062: update to Mockito 4.8.0 2022-10-20 15:59:49 +01:00
Robbie Gemmell b8148e6358 ARTEMIS-4063: update to jacoco 0.8.8 2022-10-20 15:59:25 +01:00
Robbie Gemmell 16ef6855af ARTEMIS-4060: update commons-text transitive dep to 1.10.0 2022-10-19 17:52:12 +01:00
Robbie Gemmell 7bd67d2eb5 ARTEMIS-4061: update maven-bundle-plugin to 5.1.8 2022-10-19 17:32:15 +01:00
Robbie Gemmell f17d975138 ARTEMIS-4039: Update to jackson-databind 2.13.4.2 2022-10-18 11:02:29 +01:00
Robbie Gemmell ffc155f910 ARTEMIS-4055: update to apache parent 27, stop overriding some plugin versions, align others, override checksum config as appropriate 2022-10-18 10:50:22 +01:00
Robbie Gemmell a6e69aaccf ARTEMIS-4054: have release plugin autoVersionSubmodules, and configure the tagNameFormat to simplify setting release tag 2022-10-17 15:45:01 +01:00
Robbie Gemmell d6ec80d8f1 ARTEMIS-4053: ensure scm tag ref reflects it is currently non-release, using HEAD, rather than incorrectly having release version 2.19.0 2022-10-17 12:56:14 +01:00
Justin Bertram 5cf84bffbe
NO-JIRA restore commons-codec dependency; remove REST property 2022-10-11 11:10:11 -05:00
Justin Bertram 4a0bca3f64
NO-JIRA remove missed dependency from ARTEMIS-3137 2022-10-11 10:52:33 -05:00
Justin Bertram 5b200f84ee
NO-JIRA remove vestigial REST dependencies 2022-10-11 10:27:12 -05:00
Domenico Francesco Bruscino 2384a50e17 ARTEMIS-4039 Upgrade jackson version to 2.13.4 2022-10-11 15:52:57 +01:00
Robbie Gemmell d08af2bf6d ARTEMIS-4040: Update to Netty 4.1.82 2022-10-11 13:44:19 +01:00
Domenico Francesco Bruscino 288b013183 ARTEMIS-4038 Upgrade groovy version to 4.0.5 2022-10-11 11:17:43 +02:00
Robbie Gemmell 9873fccf74 ARTEMIS-4020: switch to using SLF4J API for logging, use Log4J 2 as impl for broker distribution and tests
PR includes work from myself and Clebert Suconic, squashed from the new-logging branch.
2022-09-28 14:01:54 -04:00
Clebert Suconic 5d8e7fe829 [maven-release-plugin] prepare for next development iteration 2022-09-21 13:00:47 -04:00
Clebert Suconic 2d7b1a3ef7 [maven-release-plugin] prepare release 2.26.0 2022-09-21 13:00:46 -04:00
Robbie Gemmell 4ab947f2d9 ARTEMIS-4008: update to qpid-jms 1.7.0 2022-09-21 13:33:28 +01:00
Robbie Gemmell 3aeb24ae01 ARTEMIS-3997: update vertx-proton test dep to 4.3.3 2022-09-15 09:33:48 +01:00
Robbie Gemmell 164ae04218 AARTEMIS-3996: update to proton-j 0.34.0 2022-09-15 09:33:39 +01:00
Clebert Suconic e654eba0de ARTEMIS-3987 Removing ActiveMQ Artemis Rest from the codebase.
As we discussed on the dev list, this module hasn't been used for a while, and we have been asking users to use stomp and stomp-WS instead.
2022-09-12 15:09:31 -04:00
Clebert Suconic 4ad830fb95 Bumping artemis as 3.0
After removing ActiveMQ Artemis rest (per ARTEMIS-3987), we should start promoting Artemis as 3.0
2022-09-12 15:09:31 -04:00
Robbie Gemmell e5086f447e ARTEMIS-3985: update to activemq 5.17.2 2022-09-12 12:20:14 +01:00
Robbie Gemmell 66ac39eb81 ARTEMIS-3971: set -noindex to exclude various .js files from javadoc output 2022-09-06 17:23:56 +01:00
Clebert Suconic 11eab60584 [maven-release-plugin] prepare for next development iteration 2022-08-30 18:04:06 -04:00
Clebert Suconic fb1b362b47 [maven-release-plugin] prepare release 2.25.0 2022-08-30 18:04:05 -04:00
Robbie Gemmell 88be6c3223 ARTEMIS-3946: update to Netty 4.1.79 (and netty-tcnative to 2.0.54) 2022-08-18 11:33:08 +01:00
Robbie Gemmell 7ec0bd35ba ARTEMIS-3927: update postgresql [provided/test] dep to 42.4.1 2022-08-09 12:17:28 +01:00
Clebert Suconic fa002728f2 [maven-release-plugin] prepare for next development iteration 2022-07-26 11:59:21 -04:00
Clebert Suconic 897d9beaef [maven-release-plugin] prepare release 2.24.0 2022-07-26 11:59:19 -04:00
Clebert Suconic b57a1498e8 ARTEMIS-3903 Remove Xalan dependencies 2022-07-25 09:55:30 -04:00
Clebert Suconic 79daf49105 [maven-release-plugin] prepare for next development iteration 2022-07-21 17:44:35 -04:00
Clebert Suconic cc4867ccba [maven-release-plugin] prepare release 2.24.0 2022-07-21 17:44:33 -04:00
Robbie Gemmell 52c2372053 ARTEMIS-3893: update to commons-configuration 2.8.0
This closes #4139
2022-07-13 12:35:13 +01:00
Chuf e6e9dfd55f
Upgrade jetty to v10 2022-07-11 14:25:43 -05:00
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