Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Lombok을 사용하기 위한 방법

...

IntelliJ IDEA 또는 Eclipse Plugin 사용

...

Maven POM

Lombok을 사용하기 위해서 provided scope로 dependency에 다음을 추가합니다.

...

Code Block
languagexml
linenumberstrue
<plugin>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok-maven-plugin</artifactId>
    <version>1.18.12.0</version>
    <executions>
        <execution>
            <phase>generate-sources</phase>
            <goals>
                <goal>delombok</goal>
            </goals>
            <configuration>
                <sourceDirectory>src/main/java</sourceDirectory>
            </configuration>
        </execution>
    </executions>
</plugin>

...

다운로드

Attachments