Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 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> |
| 4 | <parent> |
Gary Wu | c794f93 | 2017-10-12 13:20:53 -0700 | [diff] [blame] | 5 | <groupId>org.onap.oparent</groupId> |
| 6 | <artifactId>oparent</artifactId> |
Gary Wu | 284b23a | 2018-09-18 10:21:49 -0700 | [diff] [blame] | 7 | <version>1.2.1</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 8 | </parent> |
Gary Wu | 9f8434f | 2017-10-19 21:54:41 -0700 | [diff] [blame] | 9 | <groupId>org.onap.integration</groupId> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 10 | <artifactId>version-manifest</artifactId> |
Gary Wu | 2145661 | 2018-11-15 16:01:37 -0800 | [diff] [blame] | 11 | <version>4.0.0-SNAPSHOT</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 12 | <packaging>maven-plugin</packaging> |
| 13 | <name>ONAP Version Manifest and Maven Plugin</name> |
| 14 | <url>https://www.onap.org</url> |
| 15 | <properties> |
| 16 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 17 | </properties> |
| 18 | <dependencies> |
| 19 | <dependency> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 20 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 21 | <artifactId>maven-plugin-annotations</artifactId> |
Gary Wu | 72460a5 | 2018-10-04 16:15:14 -0700 | [diff] [blame] | 22 | <version>3.5.2</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 23 | <scope>provided</scope> |
| 24 | </dependency> |
| 25 | <dependency> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 26 | <groupId>org.apache.maven</groupId> |
| 27 | <artifactId>maven-core</artifactId> |
Gary Wu | 72460a5 | 2018-10-04 16:15:14 -0700 | [diff] [blame] | 28 | <version>3.5.4</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 29 | </dependency> |
| 30 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv --> |
| 31 | <dependency> |
| 32 | <groupId>org.apache.commons</groupId> |
| 33 | <artifactId>commons-csv</artifactId> |
| 34 | <version>1.4</version> |
| 35 | </dependency> |
| 36 | </dependencies> |
| 37 | <build> |
| 38 | <plugins> |
| 39 | <plugin> |
| 40 | <groupId>org.apache.maven.plugins</groupId> |
| 41 | <artifactId>maven-plugin-plugin</artifactId> |
Gary Wu | 284b23a | 2018-09-18 10:21:49 -0700 | [diff] [blame] | 42 | <version>3.5.2</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 43 | <configuration> |
Gary Wu | 4ccabfb | 2017-09-01 13:14:36 -0700 | [diff] [blame] | 44 | <goalPrefix>version-manifest</goalPrefix> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 45 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 46 | </configuration> |
| 47 | <executions> |
| 48 | <execution> |
| 49 | <id>mojo-descriptor</id> |
| 50 | <goals> |
| 51 | <goal>descriptor</goal> |
| 52 | </goals> |
| 53 | </execution> |
| 54 | <execution> |
| 55 | <id>help-goal</id> |
| 56 | <goals> |
| 57 | <goal>helpmojo</goal> |
| 58 | </goals> |
| 59 | </execution> |
| 60 | </executions> |
| 61 | </plugin> |
Gary Wu | ac1abc2 | 2017-09-06 11:43:41 -0700 | [diff] [blame] | 62 | <plugin> |
| 63 | <groupId>pl.project13.maven</groupId> |
| 64 | <artifactId>git-commit-id-plugin</artifactId> |
| 65 | <version>2.2.3</version> |
| 66 | <executions> |
| 67 | <execution> |
| 68 | <phase>validate</phase> |
| 69 | <goals> |
| 70 | <goal>revision</goal> |
| 71 | </goals> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | <configuration> |
| 75 | <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> |
| 76 | <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 77 | </configuration> |
| 78 | </plugin> |
Gary Wu | 3bad8b8 | 2017-11-09 09:22:27 -0800 | [diff] [blame] | 79 | <plugin> |
| 80 | <groupId>org.codehaus.mojo</groupId> |
| 81 | <artifactId>exec-maven-plugin</artifactId> |
| 82 | <version>1.6.0</version> |
| 83 | <configuration> |
Gary Wu | f5b6edf | 2018-04-06 10:56:50 -0700 | [diff] [blame] | 84 | <executable>bash</executable> |
Gary Wu | 3bad8b8 | 2017-11-09 09:22:27 -0800 | [diff] [blame] | 85 | </configuration> |
| 86 | <executions> |
| 87 | <execution> |
Gary Wu | a158a3b | 2018-07-18 10:33:40 -0700 | [diff] [blame] | 88 | <id>check-docker-manifest-staging-sorted</id> |
| 89 | <phase>validate</phase> |
| 90 | <goals> |
| 91 | <goal>exec</goal> |
| 92 | </goals> |
| 93 | <configuration> |
| 94 | <arguments> |
| 95 | <argument>${project.basedir}/src/main/scripts/check-sorted.sh</argument> |
| 96 | <argument>${project.basedir}/src/main/resources/docker-manifest-staging.csv</argument> |
| 97 | </arguments> |
| 98 | </configuration> |
| 99 | </execution> |
| 100 | <execution> |
Gary Wu | 3bad8b8 | 2017-11-09 09:22:27 -0800 | [diff] [blame] | 101 | <id>check-java-manifest-sorted</id> |
| 102 | <phase>validate</phase> |
| 103 | <goals> |
| 104 | <goal>exec</goal> |
| 105 | </goals> |
| 106 | <configuration> |
| 107 | <arguments> |
Gary Wu | f5b6edf | 2018-04-06 10:56:50 -0700 | [diff] [blame] | 108 | <argument>${project.basedir}/src/main/scripts/check-sorted.sh</argument> |
Gary Wu | 3bad8b8 | 2017-11-09 09:22:27 -0800 | [diff] [blame] | 109 | <argument>${project.basedir}/src/main/resources/java-manifest.csv</argument> |
| 110 | </arguments> |
| 111 | </configuration> |
| 112 | </execution> |
Gary Wu | 7f114f5 | 2018-05-03 17:06:06 -0700 | [diff] [blame] | 113 | <execution> |
Gary Wu | a158a3b | 2018-07-18 10:33:40 -0700 | [diff] [blame] | 114 | <id>check-docker-staging-images-exist</id> |
Gary Wu | 72460a5 | 2018-10-04 16:15:14 -0700 | [diff] [blame] | 115 | <phase>verify</phase> |
Gary Wu | a158a3b | 2018-07-18 10:33:40 -0700 | [diff] [blame] | 116 | <goals> |
| 117 | <goal>exec</goal> |
| 118 | </goals> |
| 119 | <configuration> |
| 120 | <arguments> |
| 121 | <argument>${project.basedir}/src/main/scripts/check-docker-manifest-staging.sh</argument> |
| 122 | <argument>${project.basedir}/src/main/resources/docker-manifest-staging.csv</argument> |
| 123 | </arguments> |
| 124 | </configuration> |
| 125 | </execution> |
Gary Wu | 96692b3 | 2018-10-12 13:13:13 -0700 | [diff] [blame] | 126 | <execution> |
| 127 | <id>check-java-artifacts-released</id> |
| 128 | <phase>verify</phase> |
| 129 | <goals> |
| 130 | <goal>exec</goal> |
| 131 | </goals> |
| 132 | <configuration> |
| 133 | <arguments> |
| 134 | <argument>${project.basedir}/src/main/scripts/check-java-manifest.sh</argument> |
| 135 | <argument>${project.basedir}/src/main/resources/java-manifest.csv</argument> |
| 136 | </arguments> |
| 137 | </configuration> |
| 138 | </execution> |
Gary Wu | 3bad8b8 | 2017-11-09 09:22:27 -0800 | [diff] [blame] | 139 | </executions> |
| 140 | </plugin> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 141 | </plugins> |
| 142 | </build> |
| 143 | </project> |