@javanna I think what we can do is this:

```diff

diff --git a/pom.xml b/pom.xml
index 7b01c7e..acdf9a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,8 @@
diff --git a/pom.xml b/pom.xml
index 7b01c7e..acdf9a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,6 +35,8 @@
         <tests.shuffle>true</tests.shuffle>
         <tests.output>onerror</tests.output>
         <tests.client.ratio></tests.client.ratio>
+        <rest.pull.skip>false</rest.pull.skip>
+        <rest.init.skip>false</rest.init.skip>
         <es.logger.level>INFO</es.logger.level>
     </properties>
 
@@ -1000,14 +1002,49 @@
                         <goals>
                             <goal>exec</goal>
                         </goals>
+                        <configuration>
+                            <executable>java</executable>
+                            <arguments>
+                                <argument>-version</argument>
+                            </arguments>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>Init Rest Spec</id>
+                        <phase>test-compile</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                        <configuration>
+                            <skip>${rest.init.skip}</skip>
+                            <executable>git</executable>
+                            <arguments>
+                                <argument>submodule</argument>
+                                <argument>update</argument>
+                                <argument>--init</argument>
+                            </arguments>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>Pull Rest Spec</id>
+                        <phase>test-compile</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                        <configuration>
+                            <skip>${rest.pull.skip}</skip>
+                            <executable>git</executable>
+                            <arguments>
+                                <argument>submodule</argument>
+                                <argument>foreach</argument>
+                                <argument>git</argument>
+                                <argument>pull</argument>
+                                <argument>origin</argument>
+                                <argument>master</argument>
+                            </arguments>
+                        </configuration>
                     </execution>
                 </executions>
-                <configuration>
-                    <executable>java</executable>
-                    <arguments>
-                        <argument>-version</argument>
-                    </arguments>
-                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
```