cshannon commented on PR #5386:
URL: 
https://github.com/apache/activemq-artemis/pull/5386#issuecomment-2528959553

   > 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>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org
For additional commands, e-mail: gitbox-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to