blob: 2cb276c387e07d54e35a0b82126ebf44d13339c0 [file] [log] [blame]
James Melvin16f9d042017-03-16 10:55:32 -06001<?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"
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-wuiProfileExtensionBottom</artifactId>
24 <packaging>jar</packaging>
Adithya Chakilameee79c02020-10-13 15:01:48 -050025 <version>2.16.22</version>
James Melvin16f9d042017-03-16 10:55:32 -060026 <properties>
27 <Gerrit-ApiType>plugin</Gerrit-ApiType>
28 <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
Nasser Grainawie252aa32019-05-07 09:43:31 -060029 <GWT-Version>2.8.2</GWT-Version>
James Melvin16f9d042017-03-16 10:55:32 -060030 </properties>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-jar-plugin</artifactId>
37 <version>2.4</version>
38 <configuration>
39 <archive>
40 <manifestEntries>
41 <Gerrit-PluginName>example-wuiProfileExtensionBottom</Gerrit-PluginName>
42 <Gerrit-Module>com.googlesource.gerrit.plugins.examples.wuiprofileextensionbottom.Module</Gerrit-Module>
43
44 <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
45 <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples</Implementation-URL>
46
47 <Implementation-Title>Example Profile Extension Bottom</Implementation-Title>
48 <Implementation-Version>${project.version}</Implementation-Version>
49
50 <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType>
51 <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion>
52 </manifestEntries>
53 </archive>
54 </configuration>
55 </plugin>
56
57 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-compiler-plugin</artifactId>
60 <version>2.3.2</version>
61 <configuration>
62 <source>1.8</source>
63 <target>1.8</target>
64 <encoding>UTF-8</encoding>
65 </configuration>
66 </plugin>
67
68 <plugin>
69 <groupId>org.codehaus.mojo</groupId>
70 <artifactId>gwt-maven-plugin</artifactId>
71 <version>${GWT-Version}</version>
72 <configuration>
73 <module>com.googlesource.gerrit.plugins.examples.wuiprofileextensionbottom.HelloForm</module>
74 <disableClassMetadata>true</disableClassMetadata>
75 <disableCastChecking>true</disableCastChecking>
76 <webappDirectory>${project.build.directory}/classes/static</webappDirectory>
77 </configuration>
78 <executions>
79 <execution>
80 <goals>
81 <goal>compile</goal>
82 </goals>
83 </execution>
84 </executions>
85 </plugin>
86 </plugins>
87
88 </build>
89
90 <dependencies>
91 <dependency>
92 <groupId>com.google.gerrit</groupId>
93 <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId>
94 <version>${Gerrit-ApiVersion}</version>
95 <scope>provided</scope>
96 </dependency>
97 <dependency>
98 <groupId>com.google.gerrit</groupId>
99 <artifactId>gerrit-plugin-gwtui</artifactId>
100 <version>${Gerrit-ApiVersion}</version>
101 <scope>provided</scope>
102 </dependency>
103 <dependency>
104 <groupId>com.google.gwt</groupId>
105 <artifactId>gwt-user</artifactId>
106 <version>${GWT-Version}</version>
107 <scope>provided</scope>
108 </dependency>
109 </dependencies>
110
111 <repositories>
112 <repository>
113 <id>maven.org</id>
114 <url>http://repo1.maven.org/maven2</url>
115 </repository>
116 </repositories>
117</project>