[JAVA-9348] Split lombok module

This commit is contained in:
Haroon Khan 2022-01-11 19:44:57 +00:00
parent 21b4b2433e
commit 2d01964ebe
32 changed files with 65 additions and 12 deletions

10
lombok-2/README.md Normal file
View File

@ -0,0 +1,10 @@
## Project Lombok
This module contains articles about Project Lombok.
### Relevant Articles:
- [Using Lomboks @Accessors Annotation](https://www.baeldung.com/lombok-accessors)
- [Declaring Val and Var Variables in Lombok](https://www.baeldung.com/java-lombok-val-var)
- [Lombok Using @With Annotations](https://www.baeldung.com/lombok-with-annotations)
- More articles: [[<-- prev]](../lombok)

2
lombok-2/lombok.config Normal file
View File

@ -0,0 +1,2 @@
config.stopBubbling = true
lombok.experimental.flagUsage = warning

25
lombok-2/pom.xml Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>lombok-2</artifactId>
<version>0.1-SNAPSHOT</version>
<name>lombok-2</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>

View File

@ -12,8 +12,6 @@ This module contains articles about Project Lombok.
- [Lombok Builder with Custom Setter](https://www.baeldung.com/lombok-builder-custom-setter)
- [Setting up Lombok with Eclipse and Intellij](https://www.baeldung.com/lombok-ide)
- [Using the @Singular Annotation with Lombok Builders](https://www.baeldung.com/lombok-builder-singular)
- [Using Lomboks @Accessors Annotation](https://www.baeldung.com/lombok-accessors)
- [Omitting Getter or Setter in Lombok](https://www.baeldung.com/lombok-omit-getter-setter)
- [Declaring Val and Var Variables in Lombok](https://www.baeldung.com/java-lombok-val-var)
- [Lombok Using @With Annotations](https://www.baeldung.com/lombok-with-annotations)
- [Lombok Configuration System](https://www.baeldung.com/lombok-configuration-system)
- More articles: [[next -->]](../lombok-2)

View File

@ -17,7 +17,6 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<!-- Check for the most recent available version: https://projectlombok.org/changelog.html -->
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
@ -63,18 +62,25 @@
<verbose>false</verbose>
</configuration>
</execution>
<!-- This is for delomboking also your tests sources. <execution> <id>test-delombok</id>
<phase>generate-test-sources</phase> <goals> <goal>testDelombok</goal> </goals> <configuration> <verbose>false</verbose>
</configuration> </execution> -->
<!-- This is for delomboking also your tests sources.
<execution>
<id>test-delombok</id>
<phase>generate-test-sources</phase>
<goals>
<goal>testDelombok</goal>
</goals>
<configuration>
<verbose>false</verbose>
</configuration>
</execution>
-->
</executions>
</plugin>
</plugins>
</build>
<properties>
<!-- various -->
<hibernate-jpa-2.1-api.version>1.0.0.Final</hibernate-jpa-2.1-api.version>
<!-- delombok maven plugin -->
<delombok-maven-plugin.version>1.18.20.0</delombok-maven-plugin.version>
</properties>

View File

@ -1,3 +0,0 @@
### Relevant Articles:
- [Guide to the Linux wc Command](https://www.baeldung.com/linux/wc-command)

View File

@ -503,6 +503,7 @@
<module>linkrest</module>
<module>logging-modules</module>
<module>lombok</module>
<module>lombok-2</module>
<module>lombok-custom</module>
<module>lucene</module>
@ -984,6 +985,7 @@
<module>linkrest</module>
<module>logging-modules</module>
<module>lombok</module>
<module>lombok-2</module>
<module>lombok-custom</module>
<module>lucene</module>