Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,38 @@
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.6.1</version>
<inherited>false</inherited>
<executions>
<execution>
<!--
This execution will initialize the up-spec git submodule,
if it has not already been initialized during cloning of the repository.
This is mainly needed during the release:perform step of the release process
when a fresh clone of the repository is created in a temporary directory.
The build process depends on the up-spec submodule to generate the protobuf
classes, so it must be initialized before the protobuf-maven-plugin runs.
-->
<id>init git submodules</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>
<artifactId>maven-source-plugin</artifactId>
</plugin>
Expand Down