Skip to content

Commit 663ff22

Browse files
committed
Add back exec-maven-plugin
1 parent 71f02c1 commit 663ff22

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
@@ -160,6 +160,33 @@
160160
<serviceName>travis-ci</serviceName>
161161
</configuration>
162162
</plugin>
163+
<plugin>
164+
<!--
165+
We need this for updating the submodule during release. Maven SCM
166+
doesn't support this itself apparently. See
167+
https://github.com/apache/maven-scm/pull/179
168+
-->
169+
<groupId>org.codehaus.mojo</groupId>
170+
<artifactId>exec-maven-plugin</artifactId>
171+
<!--
172+
We are using 3.0.0 as 3.1.1 fails due to this issue:
173+
https://github.com/mojohaus/exec-maven-plugin/issues/373
174+
-->
175+
<version>3.0.0</version>
176+
<executions>
177+
<execution>
178+
<phase>initialize</phase>
179+
<id>invoke build</id>
180+
<goals>
181+
<goal>exec</goal>
182+
</goals>
183+
</execution>
184+
</executions>
185+
<configuration>
186+
<executable>git</executable>
187+
<commandlineArgs>submodule update --init --recursive</commandlineArgs>
188+
</configuration>
189+
</plugin>
163190
<plugin>
164191
<groupId>org.codehaus.mojo</groupId>
165192
<artifactId>versions-maven-plugin</artifactId>

0 commit comments

Comments
 (0)