aboutsummaryrefslogtreecommitdiffstats
path: root/version-manifest/pom.xml
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-09 09:22:27 -0800
committerGary Wu <gary.i.wu@huawei.com>2017-11-09 09:43:37 -0800
commit3bad8b860a0529bb23b4d461378fd13e2a448827 (patch)
tree318c862b85bd66f3868528eb570328e6718f5e3b /version-manifest/pom.xml
parent9755e880831e16080a7a4e4a88ab5c0c5ab3c955 (diff)
Sort the manifests by artifact names
Change-Id: Ic71b29c6bf0fe0ecaaf1055ed6bfb3c04b953f88 Issue-ID: INT-124 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'version-manifest/pom.xml')
-rw-r--r--version-manifest/pom.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/version-manifest/pom.xml b/version-manifest/pom.xml
index 361262e83..163b7f1e4 100644
--- a/version-manifest/pom.xml
+++ b/version-manifest/pom.xml
@@ -87,6 +87,42 @@
<generateGitPropertiesFile>true</generateGitPropertiesFile>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <configuration>
+ <executable>sort</executable>
+ </configuration>
+ <executions>
+ <execution>
+ <id>check-docker-manifest-sorted</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <arguments>
+ <argument>-c</argument>
+ <argument>${project.basedir}/src/main/resources/docker-manifest.csv</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
+ <id>check-java-manifest-sorted</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <arguments>
+ <argument>-c</argument>
+ <argument>${project.basedir}/src/main/resources/java-manifest.csv</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>