Skip to content

Commit 98dca3c

Browse files
committed
Add back exec-maven-plugin
1 parent 1ed23e1 commit 98dca3c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,33 @@
228228
<artifactId>maven-surefire-plugin</artifactId>
229229
<version>3.2.2</version>
230230
</plugin>
231+
<plugin>
232+
<!--
233+
We need this for updating the submodule during release. Maven SCM
234+
doesn't support this itself apparently. See
235+
https://github.com/apache/maven-scm/pull/179
236+
-->
237+
<groupId>org.codehaus.mojo</groupId>
238+
<artifactId>exec-maven-plugin</artifactId>
239+
<!--
240+
We are using 3.0.0 as 3.1.1 fails due to this issue:
241+
https://github.com/mojohaus/exec-maven-plugin/issues/373
242+
-->
243+
<version>3.0.0</version>
244+
<executions>
245+
<execution>
246+
<phase>initialize</phase>
247+
<id>invoke build</id>
248+
<goals>
249+
<goal>exec</goal>
250+
</goals>
251+
</execution>
252+
</executions>
253+
<configuration>
254+
<executable>git</executable>
255+
<commandlineArgs>submodule update --init --recursive</commandlineArgs>
256+
</configuration>
257+
</plugin>
231258
<plugin>
232259
<groupId>org.codehaus.mojo</groupId>
233260
<artifactId>versions-maven-plugin</artifactId>

0 commit comments

Comments
 (0)