Skip to content

Commit cd76cf9

Browse files
ericbottardilayaperumalg
authored andcommitted
Fine tune the BuildCache config
This makes sure that the following plugins always run (because we're interested in their side effects): * install * deploy * flatten Also, silence a warning about an arg of the enforcer plugin. (harmless) Signed-off-by: Eric Bottard <[email protected]>
1 parent 757ed9e commit cd76cf9

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.mvn/maven-build-cache-config.xml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@
99
</global>
1010
</input>
1111
<executionControl>
12+
<runAlways>
13+
<goalsLists>
14+
<goalsList artifactId="maven-install-plugin">
15+
<goals>
16+
<goal>install</goal>
17+
</goals>
18+
</goalsList>
19+
<goalsList artifactId="maven-deploy-plugin">
20+
<goals>
21+
<goal>deploy</goal>
22+
</goals>
23+
</goalsList>
24+
<goalsList groupId="org.codehaus.mojo" artifactId="flatten-maven-plugin">
25+
<goals>
26+
<goal>flatten</goal>
27+
</goals>
28+
</goalsList>
29+
</goalsLists>
30+
</runAlways>
1231
<reconcile>
1332
<plugins>
1433
<plugin artifactId="maven-surefire-plugin" goal="test">
@@ -26,7 +45,12 @@
2645
<reconcile propertyName="skipTests" skipValue="true"/>
2746
</reconciles>
2847
</plugin>
29-
48+
<!-- workaround for https://issues.apache.org/jira/browse/MBUILDCACHE-56 -->
49+
<plugin artifactId="maven-enforcer-plugin" goal="enforce">
50+
<nologs>
51+
<nolog propertyName="commandLineRules"/>
52+
</nologs>
53+
</plugin>
3054
</plugins>
3155
</reconcile>
3256
</executionControl>

0 commit comments

Comments
 (0)