2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.onap.oparent</groupId>
6 <artifactId>oparent</artifactId>
7 <version>1.2.1</version>
9 <groupId>org.onap.integration</groupId>
10 <artifactId>version-manifest</artifactId>
11 <version>3.0.0-SNAPSHOT</version>
12 <packaging>maven-plugin</packaging>
13 <name>ONAP Version Manifest and Maven Plugin</name>
14 <url>https://www.onap.org</url>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <groupId>org.apache.maven.plugin-tools</groupId>
21 <artifactId>maven-plugin-annotations</artifactId>
22 <version>3.5.2</version>
23 <scope>provided</scope>
26 <groupId>org.apache.maven</groupId>
27 <artifactId>maven-core</artifactId>
28 <version>3.5.4</version>
30 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv -->
32 <groupId>org.apache.commons</groupId>
33 <artifactId>commons-csv</artifactId>
34 <version>1.4</version>
40 <groupId>org.apache.maven.plugins</groupId>
41 <artifactId>maven-plugin-plugin</artifactId>
42 <version>3.5.2</version>
44 <goalPrefix>version-manifest</goalPrefix>
45 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
49 <id>mojo-descriptor</id>
51 <goal>descriptor</goal>
63 <groupId>pl.project13.maven</groupId>
64 <artifactId>git-commit-id-plugin</artifactId>
65 <version>2.2.3</version>
68 <phase>validate</phase>
75 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
76 <generateGitPropertiesFile>true</generateGitPropertiesFile>
80 <groupId>org.codehaus.mojo</groupId>
81 <artifactId>exec-maven-plugin</artifactId>
82 <version>1.6.0</version>
84 <executable>bash</executable>
88 <id>check-docker-manifest-sorted</id>
89 <phase>validate</phase>
95 <argument>${project.basedir}/src/main/scripts/check-sorted.sh</argument>
96 <argument>${project.basedir}/src/main/resources/docker-manifest.csv</argument>
101 <id>check-docker-manifest-staging-sorted</id>
102 <phase>validate</phase>
108 <argument>${project.basedir}/src/main/scripts/check-sorted.sh</argument>
109 <argument>${project.basedir}/src/main/resources/docker-manifest-staging.csv</argument>
114 <id>check-java-manifest-sorted</id>
115 <phase>validate</phase>
121 <argument>${project.basedir}/src/main/scripts/check-sorted.sh</argument>
122 <argument>${project.basedir}/src/main/resources/java-manifest.csv</argument>
127 <id>check-docker-images-released</id>
128 <phase>verify</phase>
134 <argument>${project.basedir}/src/main/scripts/check-docker-manifest.sh</argument>
135 <argument>${project.basedir}/src/main/resources/docker-manifest.csv</argument>
140 <id>check-docker-staging-images-exist</id>
141 <phase>verify</phase>
147 <argument>${project.basedir}/src/main/scripts/check-docker-manifest-staging.sh</argument>
148 <argument>${project.basedir}/src/main/resources/docker-manifest-staging.csv</argument>
153 <id>compare-docker-manifests</id>
154 <phase>validate</phase>
160 <argument>${project.basedir}/src/main/scripts/compare-docker-manifests.sh</argument>
161 <argument>${project.basedir}/src/main/resources/docker-manifest.csv</argument>
162 <argument>${project.basedir}/src/main/resources/docker-manifest-staging.csv</argument>
167 <id>check-java-artifacts-released</id>
168 <phase>verify</phase>
174 <argument>${project.basedir}/src/main/scripts/check-java-manifest.sh</argument>
175 <argument>${project.basedir}/src/main/resources/java-manifest.csv</argument>