@@ -38,20 +38,20 @@ Maven::
38
38
<groupId>org.apache.maven.plugins</groupId>
39
39
<artifactId>maven-compiler-plugin</artifactId>
40
40
<configuration>
41
- <annotationProcessorPaths>
42
- <!-- Explicit opt-in required via annotationProcessors or
41
+ <annotationProcessorPaths>
42
+ <!-- Explicit opt-in required via annotationProcessors or
43
43
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>
55
55
56
56
<!-- Recommended: Some IDE's might require this configuration to include generated sources for IDE usage -->
57
57
<generatedTestSourcesDirectory>target/generated-test-sources</generatedTestSourcesDirectory>
@@ -78,13 +78,8 @@ dependencies {
78
78
}
79
79
----
80
80
====
81
- ======
82
-
83
- Or if you use an OpenFeign fork:
84
81
85
- [tabs]
86
- ======
87
- Maven::
82
+ Maven (OpenFeign)::
88
83
+
89
84
[source,xml,indent=0,subs="verbatim,quotes",role="primary"]
90
85
----
@@ -116,46 +111,16 @@ Maven::
116
111
<artifactId>jakarta.persistence-api</artifactId>
117
112
</annotationProcessorPath>
118
113
</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>
119
117
</configuration>
120
118
</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>
154
119
</plugins>
155
120
</build>
156
121
----
157
122
158
- Gradle::
123
+ Gradle (OpenFeign) ::
159
124
+
160
125
====
161
126
[source,groovy,indent=0,subs="verbatim,quotes",role="secondary"]
0 commit comments