File tree Expand file tree Collapse file tree 1 file changed +28
-3
lines changed
Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Original file line number Diff line number Diff line change 7979 <target >${maven.compiler.target} </target >
8080 </configuration >
8181 <executions >
82+ <execution >
83+ <id >default-compile</id >
84+ <configuration >
85+ <release >${base.java.version} </release >
86+ <compileSourceRoots >
87+ <compileSourceRoot >${project.build.sourceDirectory} </compileSourceRoot >
88+ </compileSourceRoots >
89+ </configuration >
90+ </execution >
8291 <execution >
8392 <id >java9-compile</id >
8493 <phase >compile</phase >
206215 </execution >
207216 </executions >
208217 </plugin >
218+ <plugin >
219+ <groupId >org.codehaus.mojo</groupId >
220+ <artifactId >build-helper-maven-plugin</artifactId >
221+ <version >3.3.0</version >
222+ <executions >
223+ <execution >
224+ <id >java9-source</id >
225+ <phase >generate-sources</phase >
226+ <goals >
227+ <goal >add-source</goal >
228+ </goals >
229+ <configuration >
230+ <sources >
231+ <source >${project.basedir} /src/main/java9</source >
232+ </sources >
233+ </configuration >
234+ </execution >
235+ </executions >
236+ </plugin >
209237 </plugins >
210238 </build >
211239
233261 <goals >
234262 <goal >jar</goal >
235263 </goals >
236- <configuration >
237- <sourcepath >${project.build.sourceDirectory} ;${project.basedir} /src/main/java9</sourcepath >
238- </configuration >
239264 </execution >
240265 </executions >
241266 </plugin >
You can’t perform that action at this time.
0 commit comments