@@ -38,20 +38,20 @@ Maven::
3838 <groupId>org.apache.maven.plugins</groupId>
3939 <artifactId>maven-compiler-plugin</artifactId>
4040 <configuration>
41- <annotationProcessorPaths>
42- <!-- Explicit opt-in required via annotationProcessors or
41+ <annotationProcessorPaths>
42+ <!-- Explicit opt-in required via annotationProcessors or
4343 annotationProcessorPaths on Java 22+, see https://bugs.openjdk.org/browse/JDK-8306819 -->
44- <annotationProcessorPath>
45- <groupId>com.querydsl</groupId>
46- <artifactId>querydsl-apt</artifactId>
47- <version>${querydslVersion}</version>
48- <classifier>jakarta</classifier>
49- </annotationProcessorPath>
50- <annotationProcessorPath>
51- <groupId>jakarta.persistence</groupId>
52- <artifactId>jakarta.persistence-api</artifactId>
53- </annotationProcessorPath>
54- </annotationProcessorPaths>
44+ <annotationProcessorPath>
45+ <groupId>com.querydsl</groupId>
46+ <artifactId>querydsl-apt</artifactId>
47+ <version>${querydslVersion}</version>
48+ <classifier>jakarta</classifier>
49+ </annotationProcessorPath>
50+ <annotationProcessorPath>
51+ <groupId>jakarta.persistence</groupId>
52+ <artifactId>jakarta.persistence-api</artifactId>
53+ </annotationProcessorPath>
54+ </annotationProcessorPaths>
5555
5656 <!-- Recommended: Some IDE's might require this configuration to include generated sources for IDE usage -->
5757 <generatedTestSourcesDirectory>target/generated-test-sources</generatedTestSourcesDirectory>
@@ -78,13 +78,8 @@ dependencies {
7878}
7979----
8080====
81- ======
82-
83- Or if you use an OpenFeign fork:
8481
85- [tabs]
86- ======
87- Maven::
82+ Maven (OpenFeign)::
8883+
8984[source,xml,indent=0,subs="verbatim,quotes",role="primary"]
9085----
@@ -116,46 +111,16 @@ Maven::
116111 <artifactId>jakarta.persistence-api</artifactId>
117112 </annotationProcessorPath>
118113 </annotationProcessorPaths>
114+ <!-- Recommended: Some IDE's might require this configuration to include generated sources for IDE usage -->
115+ <generatedTestSourcesDirectory>target/generated-test-sources</generatedTestSourcesDirectory>
116+ <generatedSourcesDirectory>target/generated-sources</generatedSourcesDirectory>
119117 </configuration>
120118 </plugin>
121-
122- <!-- Recommended: Some IDE's might require this configuration to include generated sources for IDE usage -->
123- <plugin>
124- <groupId>org.codehaus.mojo</groupId>
125- <artifactId>build-helper-maven-plugin</artifactId>
126- <version>3.6.0</version>
127- <executions>
128- <execution>
129- <id>add-source</id>
130- <phase>generate-sources</phase>
131- <goals>
132- <goal>add-source</goal>
133- </goals>
134- <configuration>
135- <sources>
136- <source>target/generated-sources</source>
137- </sources>
138- </configuration>
139- </execution>
140- <execution>
141- <id>add-test-source</id>
142- <phase>generate-test-sources</phase>
143- <goals>
144- <goal>add-test-source</goal>
145- </goals>
146- <configuration>
147- <sources>
148- <source>target/generated-test-sources</source>
149- </sources>
150- </configuration>
151- </execution>
152- </executions>
153- </plugin>
154119 </plugins>
155120</build>
156121----
157122
158- Gradle::
123+ Gradle (OpenFeign) ::
159124+
160125====
161126[source,groovy,indent=0,subs="verbatim,quotes",role="secondary"]
0 commit comments