config: set fixed HTTP port for tests and remove unused Lombok dependency

This commit is contained in:
Jonas Hinterdorfer 2025-12-01 12:08:32 +01:00
parent ac2fc687e1
commit 8ec9ac9b88
3 changed files with 15 additions and 21 deletions

8
.idea/compiler.xml generated
View File

@ -6,14 +6,6 @@
<sourceOutputDir name="target/generated-sources/annotations" /> <sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" /> <outputRelativeToContentRoot value="true" />
</profile>
<profile name="Annotation profile for namedquery" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<processorPath useClasspath="false">
<entry name="$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.26/lombok-1.18.26.jar" />
</processorPath>
<module name="namedquery" /> <module name="namedquery" />
</profile> </profile>
</annotationProcessing> </annotationProcessing>

24
pom.xml
View File

@ -55,12 +55,6 @@
<groupId>io.quarkus</groupId> <groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId> <artifactId>quarkus-arc</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.26</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>io.quarkus</groupId> <groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId> <artifactId>quarkus-junit5</artifactId>
@ -102,13 +96,17 @@
<version>${compiler-plugin.version}</version> <version>${compiler-plugin.version}</version>
<configuration> <configuration>
<parameters>true</parameters> <parameters>true</parameters>
<annotationProcessorPaths> <release>${maven.compiler.release}</release>
<path> <fork>true</fork>
<groupId>org.projectlombok</groupId> <executable>${env.JAVA_HOME}/bin/javac</executable>
<artifactId>lombok</artifactId> <compilerArgs>
<version>1.18.26</version> <arg>--add-opens</arg>
</path> <arg>jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
</annotationProcessorPaths> <arg>--add-opens</arg>
<arg>jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
<arg>--add-opens</arg>
<arg>jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
</compilerArgs>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>

View File

@ -14,3 +14,7 @@ quarkus.hibernate-orm.sql-load-script=
quarkus.hibernate-orm.log.sql=true quarkus.hibernate-orm.log.sql=true
quarkus.hibernate-orm.log.bind-parameters=true quarkus.hibernate-orm.log.bind-parameters=true
# Use a fixed HTTP port for tests (set to 8888 as requested)
quarkus.http.test-port=8888
# Also set the runtime HTTP port for tests to the same value
quarkus.http.port=8888