| <?xml version="1.0" encoding="UTF-8"?> |
| <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>io.fd.gerrit</groupId> |
| <artifactId>maintainer-plugin</artifactId> |
| <version>2.14-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <Gerrit-ApiType>plugin</Gerrit-ApiType> |
| <Gerrit-ApiVersion>2.14</Gerrit-ApiVersion> |
| <GWT-Version>2.8.0</GWT-Version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Gerrit-PluginName>maintainer-plugin</Gerrit-PluginName> |
| <Gerrit-Module>io.fd.maintainer.plugin.MaintainerPluginModule</Gerrit-Module> |
| <Gerrit-ReloadMode>restart</Gerrit-ReloadMode> |
| |
| <Implementation-Vendor>Cisco and/or its affiliates</Implementation-Vendor> |
| <Implementation-URL>https://gerrit.googlesource.com/plugins/maintainer</Implementation-URL> |
| |
| <Implementation-Title>Maintainer plugin</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| |
| <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> |
| <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.gerrit</groupId> |
| <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId> |
| <version>${Gerrit-ApiVersion}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.gerrit</groupId> |
| <artifactId>gerrit-acceptance-framework</artifactId> |
| <version>${Gerrit-ApiVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |