Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to enable preview with java 23 in maven pom.xml project file and configure lombok

License

NotificationsYou must be signed in to change notification settings

daggerok/maven-java-23-lombok-and-review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

How to enable preview with java 23 in maven pom.xml project file and configure lombok

<projectxmlns="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"><!-- skipped...-->  <properties>    <encoding>UTF-8</encoding>    <java.version>23</java.version>    <lombok.version>1.18.34</lombok.version>    <maven.compiler.source>${java.version}</maven.compiler.source>    <maven.compiler.target>${java.version}</maven.compiler.target>    <maven.compiler.release>${java.version}</maven.compiler.release>    <project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>  </properties>  <dependencies>    <dependency>      <groupId>org.projectlombok</groupId>      <artifactId>lombok</artifactId>      <version>${lombok.version}</version>      <optional>true</optional>      <scope>provided</scope>    </dependency>  </dependencies>  <build>    <plugins>      <plugin>        <artifactId>maven-compiler-plugin</artifactId>        <configuration>          <annotationProcessorPaths>            <path>              <groupId>org.projectlombok</groupId>              <artifactId>lombok</artifactId>              <version>${lombok.version}</version>            </path>          </annotationProcessorPaths>          <compilerArgs>--enable-preview</compilerArgs>        </configuration>      </plugin>      <plugin>        <artifactId>maven-surefire-plugin</artifactId>        <configuration>          <argLine>--enable-preview</argLine>        </configuration>      </plugin>    </plugins>  </build><!-- skipped...--></project>

About

How to enable preview with java 23 in maven pom.xml project file and configure lombok

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp