Add build instructions to README and make the build process update submodules in the initialisation phase
This commit is contained in:
parent
cb1a6ee709
commit
990b5685af
3 changed files with 43 additions and 0 deletions
27
pom.xml
27
pom.xml
|
|
@ -48,6 +48,30 @@
|
|||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<inherited>false</inherited> <!-- only execute these in the parent -->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>git submodule update</id>
|
||||
<phase>initialize</phase>
|
||||
<configuration>
|
||||
<executable>git</executable>
|
||||
<arguments>
|
||||
<argument>submodule</argument>
|
||||
<argument>update</argument>
|
||||
<argument>--init</argument>
|
||||
<argument>--recursive</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
|
|
@ -57,6 +81,9 @@
|
|||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>
|
||||
initialize
|
||||
</phase>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue