| Martin Fick | 23ef4d9 | 2016-11-16 08:37:31 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> | 
|  | 2 | <!-- | 
|  | 3 | Copyright (C) 2013 The Android Open Source Project | 
|  | 4 |  | 
|  | 5 | Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 6 | you may not use this file except in compliance with the License. | 
|  | 7 | You may obtain a copy of the License at | 
|  | 8 |  | 
|  | 9 | http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 10 |  | 
|  | 11 | Unless required by applicable law or agreed to in writing, software | 
|  | 12 | distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 14 | See the License for the specific language governing permissions and | 
|  | 15 | limitations under the License. | 
|  | 16 | --> | 
|  | 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" | 
|  | 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 
|  | 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | 
|  | 20 | <modelVersion>4.0.0</modelVersion> | 
|  | 21 |  | 
|  | 22 | <groupId>com.googlesource.gerrit.plugins</groupId> | 
|  | 23 | <artifactId>example-restApiGetRevision</artifactId> | 
|  | 24 | <packaging>jar</packaging> | 
|  | 25 | <version>2.14-SNAPSHOT</version> | 
|  | 26 | <properties> | 
|  | 27 | <Gerrit-ApiType>plugin</Gerrit-ApiType> | 
|  | 28 | <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> | 
|  | 29 | </properties> | 
|  | 30 |  | 
|  | 31 | <build> | 
|  | 32 | <plugins> | 
|  | 33 | <plugin> | 
|  | 34 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 35 | <artifactId>maven-jar-plugin</artifactId> | 
|  | 36 | <version>2.4</version> | 
|  | 37 | <configuration> | 
|  | 38 | <archive> | 
|  | 39 | <manifestEntries> | 
|  | 40 | <Gerrit-PluginName>example-restApiGetRevision</Gerrit-PluginName> | 
|  | 41 | <Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.restapigetrevision.SshModule</Gerrit-SshModule> | 
|  | 42 |  | 
|  | 43 | <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> | 
|  | 44 | <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL> | 
|  | 45 |  | 
|  | 46 | <Implementation-Title>Example Simple Ssh Command</Implementation-Title> | 
|  | 47 | <Implementation-Version>${project.version}</Implementation-Version> | 
|  | 48 |  | 
|  | 49 | <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> | 
|  | 50 | <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion> | 
|  | 51 | </manifestEntries> | 
|  | 52 | </archive> | 
|  | 53 | </configuration> | 
|  | 54 | </plugin> | 
|  | 55 |  | 
|  | 56 | <plugin> | 
|  | 57 | <groupId>org.apache.maven.plugins</groupId> | 
|  | 58 | <artifactId>maven-compiler-plugin</artifactId> | 
|  | 59 | <version>2.3.2</version> | 
|  | 60 | <configuration> | 
|  | 61 | <source>1.8</source> | 
|  | 62 | <target>1.8</target> | 
|  | 63 | <encoding>UTF-8</encoding> | 
|  | 64 | </configuration> | 
|  | 65 | </plugin> | 
|  | 66 | </plugins> | 
|  | 67 |  | 
|  | 68 | </build> | 
|  | 69 |  | 
|  | 70 | <dependencies> | 
|  | 71 | <dependency> | 
|  | 72 | <groupId>com.google.gerrit</groupId> | 
|  | 73 | <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId> | 
|  | 74 | <version>${Gerrit-ApiVersion}</version> | 
|  | 75 | <scope>provided</scope> | 
|  | 76 | </dependency> | 
|  | 77 | </dependencies> | 
|  | 78 |  | 
|  | 79 | <repositories> | 
|  | 80 | <repository> | 
|  | 81 | <id>maven.org</id> | 
|  | 82 | <url>http://repo1.maven.org/maven2</url> | 
|  | 83 | </repository> | 
|  | 84 | </repositories> | 
|  | 85 | </project> |