File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 692
692
</goals >
693
693
<phase >verify</phase >
694
694
<configuration >
695
- <!-- Do not define excludeFilterFile here as it will force a plugin to provide a file -->
696
- <!-- Instead we configure this in a profile -->
695
+ <!--
696
+ Do not define "excludeFilterFile" here, as it will force consumers to provide a file.
697
+ Instead, we configure this below in a profile conditionally activated based on the
698
+ presence of this file.
699
+ -->
697
700
<xmlOutput >true</xmlOutput >
698
701
<spotbugsXmlOutput >false</spotbugsXmlOutput >
699
702
</configuration >
1139
1142
<id >spotbugs-exclusion-file</id >
1140
1143
<activation >
1141
1144
<file >
1142
- <exists >${basedir } /src/spotbugs/excludesFilter.xml</exists >
1145
+ <exists >${maven.multiModuleProjectDirectory } /src/spotbugs/excludesFilter.xml</exists >
1143
1146
</file >
1144
1147
</activation >
1145
1148
<build >
1151
1154
<execution >
1152
1155
<id >spotbugs</id >
1153
1156
<configuration >
1154
- <excludeFilterFile >${project.basedir } /src/spotbugs/excludesFilter.xml</excludeFilterFile >
1157
+ <excludeFilterFile >${maven.multiModuleProjectDirectory } /src/spotbugs/excludesFilter.xml</excludeFilterFile >
1155
1158
</configuration >
1156
1159
</execution >
1157
1160
</executions >
You can’t perform that action at this time.
0 commit comments