File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1131
1131
</pluginManagement >
1132
1132
1133
1133
<plugins >
1134
+
1135
+ <!--
1136
+ ~ A previous `generate-module-descriptors` execution leaves `target/classes/module-info.class` files.
1137
+ ~ These interfere with the way the `maven-compiler-plugin` works.
1138
+ -->
1139
+ <plugin >
1140
+ <groupId >org.apache.maven.plugins</groupId >
1141
+ <artifactId >maven-clean-plugin</artifactId >
1142
+ <executions >
1143
+ <execution >
1144
+ <id >delete-module-descriptors</id >
1145
+ <goals >
1146
+ <goal >clean</goal >
1147
+ </goals >
1148
+ <phase >process-sources</phase >
1149
+ <configuration >
1150
+ <excludeDefaultDirectories >true</excludeDefaultDirectories >
1151
+ <filesets >
1152
+ <fileset >
1153
+ <directory >${project.build.outputDirectory} </directory >
1154
+ <includes >
1155
+ <include >module-info.class</include >
1156
+ </includes >
1157
+ </fileset >
1158
+ </filesets >
1159
+ </configuration >
1160
+ </execution >
1161
+ </executions >
1162
+ </plugin >
1163
+
1134
1164
<!--
1135
1165
~ Some external logging bridges can interfere with our tests, giving false negatives.
1136
1166
-->
1167
1197
</execution >
1168
1198
</executions >
1169
1199
</plugin >
1200
+
1170
1201
</plugins >
1171
1202
</build >
1172
1203
You can’t perform that action at this time.
0 commit comments