This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
lombok [2020/07/02 18:38] admin created |
lombok [2020/07/02 19:40] admin |
||
---|---|---|---|
Line 3: | Line 3: | ||
The url project is https://projectlombok.org/ and it is free to use. It can be used with eclipse IntelliJ and netbeans among others. | The url project is https://projectlombok.org/ and it is free to use. It can be used with eclipse IntelliJ and netbeans among others. | ||
- | The magic happens in building time, so there is no need to include the jar in the deployed version. It is what [[maven]] calls a provieded dependency. | + | The magic happens in building time, so there is no need to include the jar in the deployed version. It is what [[maven]] calls a provieded dependency. |
+ | |||
+ | To install it in eclipse you have to execute the downloaded jar (with java -jar or double click) and pick the current eclipse installation. You have to restart eclipse and you can see it is installed if you go to the installed componentes and see it on this list. | ||
+ | |||
+ | In addition, it is required that you import the library to your project. For example, in [[maven]] you have to write somthing like that | ||
+ | |||
+ | <dependency> | ||
+ | <groupId>org.projectlombok</groupId> | ||
+ | <artifactId>lombok</artifactId> | ||
+ | <version>1.18.12</version> | ||
+ | <scope>provided</scope> | ||
+ | </dependency> | ||
+ | |||
+ | And if you are in eclipse you have to do Maven->Update project and Run -> Clean and Run -> Install |