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 | 7c12f00 | 2018-03-27 07:33:50 -0700 | [diff] [blame] | 7 | <version>1.1.0</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 | 7c12f00 | 2018-03-27 07:33:50 -0700 | [diff] [blame] | 11 | <version>1.0.1-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> |
| 17 | <mavenVersion>3.2.3</mavenVersion> |
| 18 | </properties> |
| 19 | <dependencies> |
| 20 | <dependency> |
| 21 | <groupId>org.apache.maven</groupId> |
| 22 | <artifactId>maven-plugin-api</artifactId> |
| 23 | <version>2.0</version> |
| 24 | </dependency> |
| 25 | <dependency> |
| 26 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 27 | <artifactId>maven-plugin-annotations</artifactId> |
| 28 | <version>3.2</version> |
| 29 | <scope>provided</scope> |
| 30 | </dependency> |
| 31 | <dependency> |
| 32 | <groupId>org.codehaus.plexus</groupId> |
| 33 | <artifactId>plexus-utils</artifactId> |
| 34 | <version>3.0.8</version> |
| 35 | </dependency> |
| 36 | <dependency> |
| 37 | <groupId>org.apache.maven</groupId> |
| 38 | <artifactId>maven-core</artifactId> |
| 39 | <version>${mavenVersion}</version> |
| 40 | </dependency> |
| 41 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv --> |
| 42 | <dependency> |
| 43 | <groupId>org.apache.commons</groupId> |
| 44 | <artifactId>commons-csv</artifactId> |
| 45 | <version>1.4</version> |
| 46 | </dependency> |
| 47 | </dependencies> |
| 48 | <build> |
| 49 | <plugins> |
| 50 | <plugin> |
| 51 | <groupId>org.apache.maven.plugins</groupId> |
| 52 | <artifactId>maven-plugin-plugin</artifactId> |
Gary Wu | 3462f30 | 2017-09-05 16:59:20 -0700 | [diff] [blame] | 53 | <version>3.4</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 54 | <configuration> |
Gary Wu | 4ccabfb | 2017-09-01 13:14:36 -0700 | [diff] [blame] | 55 | <goalPrefix>version-manifest</goalPrefix> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 56 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 57 | </configuration> |
| 58 | <executions> |
| 59 | <execution> |
| 60 | <id>mojo-descriptor</id> |
| 61 | <goals> |
| 62 | <goal>descriptor</goal> |
| 63 | </goals> |
| 64 | </execution> |
| 65 | <execution> |
| 66 | <id>help-goal</id> |
| 67 | <goals> |
| 68 | <goal>helpmojo</goal> |
| 69 | </goals> |
| 70 | </execution> |
| 71 | </executions> |
| 72 | </plugin> |
Gary Wu | ac1abc2 | 2017-09-06 11:43:41 -0700 | [diff] [blame] | 73 | <plugin> |
| 74 | <groupId>pl.project13.maven</groupId> |
| 75 | <artifactId>git-commit-id-plugin</artifactId> |
| 76 | <version>2.2.3</version> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <phase>validate</phase> |
| 80 | <goals> |
| 81 | <goal>revision</goal> |
| 82 | </goals> |
| 83 | </execution> |
| 84 | </executions> |
| 85 | <configuration> |
| 86 | <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> |
| 87 | <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 88 | </configuration> |
| 89 | </plugin> |
Gary Wu | 3bad8b8 | 2017-11-09 09:22:27 -0800 | [diff] [blame] | 90 | <plugin> |
| 91 | <groupId>org.codehaus.mojo</groupId> |
| 92 | <artifactId>exec-maven-plugin</artifactId> |
| 93 | <version>1.6.0</version> |
| 94 | <configuration> |
| 95 | <executable>sort</executable> |
| 96 | </configuration> |
| 97 | <executions> |
| 98 | <execution> |
| 99 | <id>check-docker-manifest-sorted</id> |
| 100 | <phase>validate</phase> |
| 101 | <goals> |
| 102 | <goal>exec</goal> |
| 103 | </goals> |
| 104 | <configuration> |
| 105 | <arguments> |
| 106 | <argument>-c</argument> |
| 107 | <argument>${project.basedir}/src/main/resources/docker-manifest.csv</argument> |
| 108 | </arguments> |
| 109 | </configuration> |
| 110 | </execution> |
| 111 | <execution> |
| 112 | <id>check-java-manifest-sorted</id> |
| 113 | <phase>validate</phase> |
| 114 | <goals> |
| 115 | <goal>exec</goal> |
| 116 | </goals> |
| 117 | <configuration> |
| 118 | <arguments> |
| 119 | <argument>-c</argument> |
| 120 | <argument>${project.basedir}/src/main/resources/java-manifest.csv</argument> |
| 121 | </arguments> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 126 | </plugins> |
| 127 | </build> |
| 128 | </project> |