blob: 3d22d4f3552cdf6166db1fd7e06208e062fb6e73 [file] [log] [blame]
Martin Fickf46a09a2016-11-14 13:13:08 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3Copyright (C) 2013 The Android Open Source Project
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16-->
17<project xmlns="http://maven.apache.org/POM/4.0.0"
Adithya Chakilamec7fc212020-10-14 12:42:21 -050018 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">
Martin Fickf46a09a2016-11-14 13:13:08 -070020 <modelVersion>4.0.0</modelVersion>
21
Adithya Chakilamec7fc212020-10-14 12:42:21 -050022 <parent>
23 <groupId>com.googlesource.gerrit.plugins</groupId>
24 <artifactId>examples-all</artifactId>
Adithya Chakilam3102fc42020-10-22 11:36:24 -050025 <version>3.3.0</version>
Adithya Chakilamec7fc212020-10-14 12:42:21 -050026 </parent>
27
Martin Fickf46a09a2016-11-14 13:13:08 -070028 <artifactId>example-simpleSshCommand</artifactId>
29 <packaging>jar</packaging>
Martin Fickf46a09a2016-11-14 13:13:08 -070030 <properties>
31 <Gerrit-ApiType>plugin</Gerrit-ApiType>
32 <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
33 </properties>
34
35 <build>
36 <plugins>
37 <plugin>
38 <groupId>org.apache.maven.plugins</groupId>
39 <artifactId>maven-jar-plugin</artifactId>
40 <version>2.4</version>
41 <configuration>
42 <archive>
43 <manifestEntries>
44 <Gerrit-PluginName>example-simpleSshCommand</Gerrit-PluginName>
45 <Gerrit-SshModule>com.googlesource.gerrit.plugins.examples.simplesshcommand.SshModule</Gerrit-SshModule>
46
47 <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
48 <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>
49
50 <Implementation-Title>Example Simple Ssh Command</Implementation-Title>
51 <Implementation-Version>${project.version}</Implementation-Version>
52
53 <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType>
54 <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion>
55 </manifestEntries>
56 </archive>
57 </configuration>
58 </plugin>
59
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-compiler-plugin</artifactId>
63 <version>2.3.2</version>
64 <configuration>
65 <source>1.8</source>
66 <target>1.8</target>
67 <encoding>UTF-8</encoding>
68 </configuration>
69 </plugin>
70 </plugins>
Martin Fickf46a09a2016-11-14 13:13:08 -070071 </build>
72
73 <dependencies>
74 <dependency>
75 <groupId>com.google.gerrit</groupId>
76 <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId>
77 <version>${Gerrit-ApiVersion}</version>
78 <scope>provided</scope>
79 </dependency>
80 </dependencies>
Martin Fickf46a09a2016-11-14 13:13:08 -070081</project>