89 lines
3.5 KiB
XML
89 lines
3.5 KiB
XML
<?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>
|
|
<name>lombok</name>
|
|
<artifactId>lombok</artifactId>
|
|
<version>0.1-SNAPSHOT</version>
|
|
|
|
<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>
|
|
<!-- Check for the most recent available version: https://projectlombok.org/changelog.html -->
|
|
<version>${lombok.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate.javax.persistence</groupId>
|
|
<artifactId>hibernate-jpa-2.1-api</artifactId>
|
|
<version>${hibernate-jpa-2.1-api.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>${assertj-core.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>lombok</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok-maven-plugin</artifactId>
|
|
<version>${delombok-maven-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>delombok</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>delombok</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
<outputDirectory>${project.build.directory}/delombok</outputDirectory>
|
|
<addOutputDirectory>false</addOutputDirectory>
|
|
<formatPreferences>
|
|
<javaLangAsFQN>skip</javaLangAsFQN>
|
|
</formatPreferences>
|
|
<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>
|
|
<!-- lombok: https://projectlombok.org/changelog.html -->
|
|
<lombok.version>1.18.10</lombok.version>
|
|
|
|
<!-- 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.10.0</delombok-maven-plugin.version>
|
|
<assertj-core.version>3.8.0</assertj-core.version>
|
|
</properties>
|
|
|
|
</project>
|