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 | ab395ab | 2017-09-01 13:44:23 -0700 | [diff] [blame] | 5 | <groupId>org.onap.integration</groupId> |
| 6 | <artifactId>root</artifactId> |
| 7 | <version>0.1.0-SNAPSHOT</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 8 | </parent> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 9 | <artifactId>version-manifest</artifactId> |
| 10 | <packaging>maven-plugin</packaging> |
| 11 | <name>ONAP Version Manifest and Maven Plugin</name> |
| 12 | <url>https://www.onap.org</url> |
| 13 | <properties> |
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | <mavenVersion>3.2.3</mavenVersion> |
| 16 | </properties> |
| 17 | <dependencies> |
| 18 | <dependency> |
| 19 | <groupId>org.apache.maven</groupId> |
| 20 | <artifactId>maven-plugin-api</artifactId> |
| 21 | <version>2.0</version> |
| 22 | </dependency> |
| 23 | <dependency> |
| 24 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 25 | <artifactId>maven-plugin-annotations</artifactId> |
| 26 | <version>3.2</version> |
| 27 | <scope>provided</scope> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>org.codehaus.plexus</groupId> |
| 31 | <artifactId>plexus-utils</artifactId> |
| 32 | <version>3.0.8</version> |
| 33 | </dependency> |
| 34 | <dependency> |
| 35 | <groupId>org.apache.maven</groupId> |
| 36 | <artifactId>maven-core</artifactId> |
| 37 | <version>${mavenVersion}</version> |
| 38 | </dependency> |
| 39 | <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv --> |
| 40 | <dependency> |
| 41 | <groupId>org.apache.commons</groupId> |
| 42 | <artifactId>commons-csv</artifactId> |
| 43 | <version>1.4</version> |
| 44 | </dependency> |
| 45 | </dependencies> |
| 46 | <build> |
| 47 | <plugins> |
| 48 | <plugin> |
| 49 | <groupId>org.apache.maven.plugins</groupId> |
| 50 | <artifactId>maven-plugin-plugin</artifactId> |
Gary Wu | 3462f30 | 2017-09-05 16:59:20 -0700 | [diff] [blame] | 51 | <version>3.4</version> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 52 | <configuration> |
Gary Wu | 4ccabfb | 2017-09-01 13:14:36 -0700 | [diff] [blame] | 53 | <goalPrefix>version-manifest</goalPrefix> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 54 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 55 | </configuration> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <id>mojo-descriptor</id> |
| 59 | <goals> |
| 60 | <goal>descriptor</goal> |
| 61 | </goals> |
| 62 | </execution> |
| 63 | <execution> |
| 64 | <id>help-goal</id> |
| 65 | <goals> |
| 66 | <goal>helpmojo</goal> |
| 67 | </goals> |
| 68 | </execution> |
| 69 | </executions> |
| 70 | </plugin> |
Gary Wu | ac1abc2 | 2017-09-06 11:43:41 -0700 | [diff] [blame] | 71 | <plugin> |
| 72 | <groupId>pl.project13.maven</groupId> |
| 73 | <artifactId>git-commit-id-plugin</artifactId> |
| 74 | <version>2.2.3</version> |
| 75 | <executions> |
| 76 | <execution> |
| 77 | <phase>validate</phase> |
| 78 | <goals> |
| 79 | <goal>revision</goal> |
| 80 | </goals> |
| 81 | </execution> |
| 82 | </executions> |
| 83 | <configuration> |
| 84 | <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> |
| 85 | <generateGitPropertiesFile>true</generateGitPropertiesFile> |
| 86 | </configuration> |
| 87 | </plugin> |
Gary Wu | 632c23e | 2017-09-01 12:45:12 -0700 | [diff] [blame] | 88 | </plugins> |
| 89 | </build> |
| 90 | </project> |