Skip to content

Commit a9adfcc

Browse files
committed
Revert "Stop using mvn to initialize/update submodule"
This reverts commit 121a19c.
1 parent 476fd26 commit a9adfcc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,24 @@
199199
</execution>
200200
</executions>
201201
</plugin>
202+
<plugin>
203+
<groupId>org.codehaus.mojo</groupId>
204+
<artifactId>exec-maven-plugin</artifactId>
205+
<version>3.0.0</version>
206+
<executions>
207+
<execution>
208+
<phase>initialize</phase>
209+
<id>invoke build</id>
210+
<goals>
211+
<goal>exec</goal>
212+
</goals>
213+
</execution>
214+
</executions>
215+
<configuration>
216+
<executable>git</executable>
217+
<commandlineArgs>submodule update --init --recursive</commandlineArgs>
218+
</configuration>
219+
</plugin>
202220
<plugin>
203221
<groupId>org.codehaus.mojo</groupId>
204222
<artifactId>versions-maven-plugin</artifactId>

0 commit comments

Comments
 (0)