Skip to content

ivy-lmu/IvyLombokExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IvyLombokExample

This sample shows how to integrate the Lombok library (https://projectlombok.org/) into an Axon Ivy project. Lombok 1.18.18 and Axon Ivy 9.3.4 is used.

Setup

The commit illustrates what changes are required in your Ivy Project to use Lombok. In order to make Lombok work in Axon Ivy Designer and with Maven, the following settings must be made.

Axon Ivy Designer

Append -javaagent:/Use/your/path/.m2/repository/org/projectlombok/lombok/1.18.18/lombok-1.18.18.jar to the AxonIvyDesigner.ini which is located in your Axon Ivy Designer directory. Make sure you use your path to the Lombok Jar.

Maven

Set the MAVEN_OPTS environment variable in your terminal before running maven commands.

Windows: set MAVEN_OPTS="-javaagent:<YourLombokJarPath> --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED"

macOS: export MAVEN_OPTS="-javaagent:<YourLombokJarPath> --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED"

Where <YourLombokJarPath> points to your local Lombok jar.

Our ci.yaml also indicates how to use Maven and Lombok.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages