[
https://issues.apache.org/jira/browse/ARTEMIS-5202?focusedWorklogId=947384&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-947384
]
ASF GitHub Bot logged work on ARTEMIS-5202:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 09/Dec/24 18:11
Start Date: 09/Dec/24 18:11
Worklog Time Spent: 10m
Work Description: gemmellr commented on PR #5386:
URL:
https://github.com/apache/activemq-artemis/pull/5386#issuecomment-2528975153
> > I just tested the same on the example and verified it works. The problem
is that I needed to set
> > ```
> > export MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED"
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I'm not sure how to set this in the `pom.xml`.
>
> You need to configure surefire plugin, for example
>
> ```
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
> </configuration>
> </plugin>
> ```
The examples dont use surefire.
Issue Time Tracking
-------------------
Worklog Id: (was: 947384)
Time Spent: 3h 10m (was: 3h)
> Require Java 17+ (i.e drop support for Java 11)
> -----------------------------------------------
>
> Key: ARTEMIS-5202
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5202
> Project: ActiveMQ Artemis
> Issue Type: Task
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Update relevant {{pom.xml}} files to use Java 17 instead of 11 for building &
> running the code-base.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact