aboutsummaryrefslogtreecommitdiffstats
path: root/version-manifest/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'version-manifest/pom.xml')
-rw-r--r--version-manifest/pom.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/version-manifest/pom.xml b/version-manifest/pom.xml
index ace96a702..163b7f1e4 100644
--- a/version-manifest/pom.xml
+++ b/version-manifest/pom.xml
@@ -6,7 +6,9 @@
<artifactId>oparent</artifactId>
<version>0.1.1</version>
</parent>
+ <groupId>org.onap.integration</groupId>
<artifactId>version-manifest</artifactId>
+ <version>0.1.1-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>ONAP Version Manifest and Maven Plugin</name>
<url>https://www.onap.org</url>
@@ -85,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>