File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 210
210
<outputDirectory >${project.build.outputDirectory} /META-INF/versions/24</outputDirectory >
211
211
</configuration >
212
212
</execution >
213
+ <execution >
214
+ <!-- This final no-op compilation step resets the output directory associated with this
215
+ module. This is important for Maven reactor builds that skip the `install` phase,
216
+ because in those the compilation of a module `B` happens with reference to the output
217
+ directory of a module `A` on which it depends. -->
218
+ <id >reset-output-directory</id >
219
+ <goals >
220
+ <goal >compile</goal >
221
+ </goals >
222
+ <configuration >
223
+ <compileSourceRoots >
224
+ <compileSourceRoot >${basedir} /nonexistent-directory</compileSourceRoot >
225
+ </compileSourceRoots >
226
+ <outputDirectory >${project.build.outputDirectory} </outputDirectory >
227
+ </configuration >
228
+ </execution >
213
229
</executions >
214
230
215
231
</plugin >
You can’t perform that action at this time.
0 commit comments