2015-04-21 09:49:05 -04:00
# ActiveMQ Artemis
2014-10-31 06:20:28 -04:00
2015-05-13 13:49:42 -04:00
This file describes some minimum 'stuff one needs to know' to get started coding in this project.
2014-10-31 06:20:28 -04:00
## Source
2015-07-27 16:15:03 -04:00
For details about the modifying the code, building the project, running tests, IDE integration, etc. see
2015-05-20 17:41:12 -04:00
our [Hacking Guide ](./docs/hacking-guide/en/SUMMARY.md ).
2014-10-31 06:20:28 -04:00
2018-04-19 10:45:58 -04:00
## Build Status
2021-09-13 03:39:03 -04:00
Build Status: [![Build Status ](https://travis-ci.org/apache/activemq-artemis.svg?branch=main )](https://travis-ci.org/apache/activemq-artemis)
2018-04-19 10:45:58 -04:00
2015-12-23 06:22:00 -05:00
## Building the ASYNC IO library
ActiveMQ Artemis provides two journal persistence types, NIO (which uses the Java NIO libraries), and ASYNCIO which interacts with the linux kernel libaio library. The ASYNCIO journal type should be used where possible as it is far superior in terms of performance.
ActiveMQ Artemis does not ship with the Artemis Native ASYNCIO library in the source distribution. These need to be built prior to running "mvn install", to ensure that the ASYNCIO journal type is available in the resulting build. Don't worry if you don't want to use ASYNCIO or your system does not support libaio, ActiveMQ Artemis will check at runtime to see if the required libraries and system dependencies are available, if not it will default to using NIO.
To build the ActiveMQ Artemis ASYNCIO native libraries, please follow the instructions in the artemis-native/README.
2015-09-11 09:18:53 -04:00
## Documentation
2017-12-22 16:25:21 -05:00
Our documentation is always in sync with our releases at the [Apache ActiveMQ Artemis ](https://activemq.apache.org/artemis/docs.html ) website.
2015-09-11 09:18:53 -04:00
2021-09-13 03:39:03 -04:00
Or you can also look at the current main version on [github ](https://github.com/apache/activemq-artemis/blob/main/docs/user-manual/en/SUMMARY.md ).
2015-09-11 09:18:53 -04:00
2014-10-31 06:20:28 -04:00
## Examples
To run an example firstly make sure you have run
2015-05-13 13:49:42 -04:00
$ mvn -Prelease install
2014-10-31 06:20:28 -04:00
If the project version has already been released then this is unnecessary.
2016-04-11 15:20:19 -04:00
Each individual example can be run using this command from its corresponding directory:
2014-10-31 06:20:28 -04:00
2015-05-13 13:49:42 -04:00
$ mvn verify
2014-10-31 06:20:28 -04:00
2016-04-11 15:20:19 -04:00
If you wish to run groups of examples then use this command from a parent directory (e.g. examples/features/standard):
$ mvn -Pexamples verify
2014-10-31 06:20:28 -04:00
### Recreating the examples
If you are trying to copy the examples somewhere else and modifying them. Consider asking Maven to explicitly list all the dependencies:
2015-05-13 13:49:42 -04:00
# if trying to modify the 'topic' example:
cd examples/jms/topic & & mvn dependency:list
2015-11-24 05:12:10 -05:00
2016-09-09 05:13:33 -04:00
### Open Web Application Security Project (OWASP) Report
2015-11-24 05:12:10 -05:00
2016-09-09 05:13:33 -04:00
If you wish to generate the report for CCV dependencies, you may run it with the -Powasp profile
$ mvn -Powasp verify
2021-09-02 06:59:06 -04:00
The output will be under ./target/dependency-check-report.html **for each** sub-module.
## Bugs
Issues are tracked at https://issues.apache.org/jira/projects/ARTEMIS/