blob: 0bcd9cf9ca8c644fd58ee16fbd539fca338da499 [file] [log] [blame]
Gustaf Lundh43fbc372012-05-14 15:50:33 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
David Pursehouse0da2b052013-08-12 17:12:42 +09003Copyright (C) 2013 The Android Open Source Project
Gustaf Lundh43fbc372012-05-14 15:50:33 -07004
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
David Pursehouse0da2b052013-08-12 17:12:42 +090022 <groupId>com.googlesource.gerrit.plugins</groupId>
23 <artifactId>cookbook-plugin</artifactId>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070024 <packaging>jar</packaging>
David Pursehouse9695dd42015-10-15 18:30:33 +090025 <version>2.11.4</version>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070026 <properties>
Brad Larson65164ff2012-05-21 17:09:14 -050027 <Gerrit-ApiType>plugin</Gerrit-ApiType>
David Pursehouse5ac8e342015-03-02 19:41:27 +090028 <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070029 </properties>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070030
31 <build>
32 <plugins>
33 <plugin>
34 <groupId>org.apache.maven.plugins</groupId>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070035 <artifactId>maven-jar-plugin</artifactId>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070036 <version>2.4</version>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070037 <configuration>
38 <archive>
39 <manifestEntries>
David Ostrovskyd332ec22014-03-07 08:56:09 +010040 <Gerrit-PluginName>cookbook</Gerrit-PluginName>
David Ostrovsky91d1c952013-08-18 10:01:11 +020041 <Gerrit-Module>com.googlesource.gerrit.plugins.cookbook.Module</Gerrit-Module>
David Ostrovsky57272da2013-08-13 08:34:42 +020042 <Gerrit-HttpModule>com.googlesource.gerrit.plugins.cookbook.HttpModule</Gerrit-HttpModule>
David Pursehouse0da2b052013-08-12 17:12:42 +090043 <Gerrit-SshModule>com.googlesource.gerrit.plugins.cookbook.SshModule</Gerrit-SshModule>
Brad Larson65164ff2012-05-21 17:09:14 -050044
Dave Borowitz3faf35d2012-05-24 18:07:40 -070045 <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
David Ostrovskyfe145ea2014-03-12 09:55:03 +010046 <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/cookbook-plugin</Implementation-URL>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070047
David Ostrovskyfe145ea2014-03-12 09:55:03 +010048 <Implementation-Title>Cookbook plugin</Implementation-Title>
Brad Larson43618192012-05-15 14:00:35 -050049 <Implementation-Version>${project.version}</Implementation-Version>
Brad Larson65164ff2012-05-21 17:09:14 -050050
51 <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType>
52 <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070053 </manifestEntries>
54 </archive>
55 </configuration>
56 </plugin>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070057
58 <plugin>
59 <groupId>org.apache.maven.plugins</groupId>
60 <artifactId>maven-compiler-plugin</artifactId>
61 <version>2.3.2</version>
62 <configuration>
David Ostrovsky97f6e1d2013-11-29 07:24:53 +010063 <source>1.7</source>
64 <target>1.7</target>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070065 <encoding>UTF-8</encoding>
66 </configuration>
67 </plugin>
David Ostrovsky2526e062013-11-12 23:07:34 +010068
69 <plugin>
70 <groupId>org.codehaus.mojo</groupId>
71 <artifactId>gwt-maven-plugin</artifactId>
David Pursehouse39ffdc22014-12-18 19:03:42 +090072 <version>2.7.0</version>
David Ostrovsky2526e062013-11-12 23:07:34 +010073 <configuration>
74 <module>com.googlesource.gerrit.plugins.cookbook.HelloForm</module>
75 <disableClassMetadata>true</disableClassMetadata>
76 <disableCastChecking>true</disableCastChecking>
77 <webappDirectory>${project.build.directory}/classes/static</webappDirectory>
78 </configuration>
79 <executions>
80 <execution>
81 <goals>
82 <goal>compile</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070087 </plugins>
David Ostrovsky2526e062013-11-12 23:07:34 +010088
Gustaf Lundh43fbc372012-05-14 15:50:33 -070089 </build>
90
91 <dependencies>
92 <dependency>
93 <groupId>com.google.gerrit</groupId>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070094 <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId>
Brad Larson65164ff2012-05-21 17:09:14 -050095 <version>${Gerrit-ApiVersion}</version>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070096 <scope>provided</scope>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070097 </dependency>
David Ostrovsky2526e062013-11-12 23:07:34 +010098 <dependency>
99 <groupId>com.google.gerrit</groupId>
100 <artifactId>gerrit-plugin-gwtui</artifactId>
101 <version>${Gerrit-ApiVersion}</version>
Edwin Kempin045f2a92014-12-03 15:26:33 +0100102 <scope>provided</scope>
David Ostrovsky2526e062013-11-12 23:07:34 +0100103 </dependency>
104 <dependency>
105 <groupId>com.google.gwt</groupId>
106 <artifactId>gwt-user</artifactId>
David Pursehouse39ffdc22014-12-18 19:03:42 +0900107 <version>2.7.0</version>
David Ostrovsky2526e062013-11-12 23:07:34 +0100108 <scope>provided</scope>
109 </dependency>
David Pursehousee80d1ca2015-03-02 19:39:53 +0900110 <dependency>
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <version>4.11</version>
114 <scope>test</scope>
115 </dependency>
Gustaf Lundh43fbc372012-05-14 15:50:33 -0700116 </dependencies>
117
118 <repositories>
119 <repository>
David Pursehouse17b63c12015-04-17 15:30:49 +0900120 <id>maven.org</id>
121 <url>http://repo1.maven.org/maven2</url>
Gustaf Lundh43fbc372012-05-14 15:50:33 -0700122 </repository>
123 </repositories>
Gustaf Lundh43fbc372012-05-14 15:50:33 -0700124</project>