blob: ffdce1e1f1fb561eb1aa3643a686ee89218a929d [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>
25 <version>0.1</version>
26 <properties>
Brad Larson65164ff2012-05-21 17:09:14 -050027 <Gerrit-ApiType>plugin</Gerrit-ApiType>
David Pursehouse0da2b052013-08-12 17:12:42 +090028 <Gerrit-ApiVersion>2.8-SNAPSHOT</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 Ostrovsky91d1c952013-08-18 10:01:11 +020040 <Gerrit-Module>com.googlesource.gerrit.plugins.cookbook.Module</Gerrit-Module>
David Ostrovsky57272da2013-08-13 08:34:42 +020041 <Gerrit-HttpModule>com.googlesource.gerrit.plugins.cookbook.HttpModule</Gerrit-HttpModule>
David Pursehouse0da2b052013-08-12 17:12:42 +090042 <Gerrit-SshModule>com.googlesource.gerrit.plugins.cookbook.SshModule</Gerrit-SshModule>
Brad Larson65164ff2012-05-21 17:09:14 -050043
Dave Borowitz3faf35d2012-05-24 18:07:40 -070044 <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor>
45 <Implementation-URL>http://code.google.com/p/gerrit/</Implementation-URL>
46
Brad Larson65164ff2012-05-21 17:09:14 -050047 <Implementation-Title>Plugin ${project.artifactId}</Implementation-Title>
Brad Larson43618192012-05-15 14:00:35 -050048 <Implementation-Version>${project.version}</Implementation-Version>
Brad Larson65164ff2012-05-21 17:09:14 -050049
50 <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType>
51 <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070052 </manifestEntries>
53 </archive>
54 </configuration>
55 </plugin>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070056
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.6</source>
63 <target>1.6</target>
64 <encoding>UTF-8</encoding>
65 </configuration>
66 </plugin>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070067 </plugins>
Nasser Grainawi870d4af2012-05-09 12:06:19 -070068 <resources>
69 <resource>
70 <directory>./</directory>
71 <includes>
72 <include>Documentation/**/*</include>
73 </includes>
74 </resource>
75 </resources>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070076 </build>
77
78 <dependencies>
79 <dependency>
80 <groupId>com.google.gerrit</groupId>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070081 <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId>
Brad Larson65164ff2012-05-21 17:09:14 -050082 <version>${Gerrit-ApiVersion}</version>
Dave Borowitz3faf35d2012-05-24 18:07:40 -070083 <scope>provided</scope>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070084 </dependency>
85 </dependencies>
86
87 <repositories>
88 <repository>
89 <id>gerrit-api-repository</id>
90 <url>https://gerrit-api.commondatastorage.googleapis.com/snapshot/</url>
91 </repository>
92 </repositories>
Gustaf Lundh43fbc372012-05-14 15:50:33 -070093</project>