Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
David Pursehouse | 0da2b05 | 2013-08-12 17:12:42 +0900 | [diff] [blame] | 3 | Copyright (C) 2013 The Android Open Source Project |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 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 | |
David Pursehouse | 0da2b05 | 2013-08-12 17:12:42 +0900 | [diff] [blame] | 22 | <groupId>com.googlesource.gerrit.plugins</groupId> |
| 23 | <artifactId>cookbook-plugin</artifactId> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 24 | <packaging>jar</packaging> |
David Pursehouse | 9695dd4 | 2015-10-15 18:30:33 +0900 | [diff] [blame] | 25 | <version>2.11.4</version> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 26 | <properties> |
Brad Larson | 65164ff | 2012-05-21 17:09:14 -0500 | [diff] [blame] | 27 | <Gerrit-ApiType>plugin</Gerrit-ApiType> |
David Pursehouse | 5ac8e34 | 2015-03-02 19:41:27 +0900 | [diff] [blame] | 28 | <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 29 | </properties> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 30 | |
| 31 | <build> |
| 32 | <plugins> |
| 33 | <plugin> |
| 34 | <groupId>org.apache.maven.plugins</groupId> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 35 | <artifactId>maven-jar-plugin</artifactId> |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 36 | <version>2.4</version> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 37 | <configuration> |
| 38 | <archive> |
| 39 | <manifestEntries> |
David Ostrovsky | d332ec2 | 2014-03-07 08:56:09 +0100 | [diff] [blame] | 40 | <Gerrit-PluginName>cookbook</Gerrit-PluginName> |
David Ostrovsky | 91d1c95 | 2013-08-18 10:01:11 +0200 | [diff] [blame] | 41 | <Gerrit-Module>com.googlesource.gerrit.plugins.cookbook.Module</Gerrit-Module> |
David Ostrovsky | 57272da | 2013-08-13 08:34:42 +0200 | [diff] [blame] | 42 | <Gerrit-HttpModule>com.googlesource.gerrit.plugins.cookbook.HttpModule</Gerrit-HttpModule> |
David Pursehouse | 0da2b05 | 2013-08-12 17:12:42 +0900 | [diff] [blame] | 43 | <Gerrit-SshModule>com.googlesource.gerrit.plugins.cookbook.SshModule</Gerrit-SshModule> |
Brad Larson | 65164ff | 2012-05-21 17:09:14 -0500 | [diff] [blame] | 44 | |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 45 | <Implementation-Vendor>Gerrit Code Review</Implementation-Vendor> |
David Ostrovsky | fe145ea | 2014-03-12 09:55:03 +0100 | [diff] [blame] | 46 | <Implementation-URL>https://gerrit-review.googlesource.com/#/admin/projects/plugins/cookbook-plugin</Implementation-URL> |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 47 | |
David Ostrovsky | fe145ea | 2014-03-12 09:55:03 +0100 | [diff] [blame] | 48 | <Implementation-Title>Cookbook plugin</Implementation-Title> |
Brad Larson | 4361819 | 2012-05-15 14:00:35 -0500 | [diff] [blame] | 49 | <Implementation-Version>${project.version}</Implementation-Version> |
Brad Larson | 65164ff | 2012-05-21 17:09:14 -0500 | [diff] [blame] | 50 | |
| 51 | <Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType> |
| 52 | <Gerrit-ApiVersion>${Gerrit-ApiVersion}</Gerrit-ApiVersion> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 53 | </manifestEntries> |
| 54 | </archive> |
| 55 | </configuration> |
| 56 | </plugin> |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 57 | |
| 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
| 60 | <artifactId>maven-compiler-plugin</artifactId> |
| 61 | <version>2.3.2</version> |
| 62 | <configuration> |
David Ostrovsky | 97f6e1d | 2013-11-29 07:24:53 +0100 | [diff] [blame] | 63 | <source>1.7</source> |
| 64 | <target>1.7</target> |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 65 | <encoding>UTF-8</encoding> |
| 66 | </configuration> |
| 67 | </plugin> |
David Ostrovsky | 2526e06 | 2013-11-12 23:07:34 +0100 | [diff] [blame] | 68 | |
| 69 | <plugin> |
| 70 | <groupId>org.codehaus.mojo</groupId> |
| 71 | <artifactId>gwt-maven-plugin</artifactId> |
David Pursehouse | 39ffdc2 | 2014-12-18 19:03:42 +0900 | [diff] [blame] | 72 | <version>2.7.0</version> |
David Ostrovsky | 2526e06 | 2013-11-12 23:07:34 +0100 | [diff] [blame] | 73 | <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 Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 87 | </plugins> |
David Ostrovsky | 2526e06 | 2013-11-12 23:07:34 +0100 | [diff] [blame] | 88 | |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 89 | </build> |
| 90 | |
| 91 | <dependencies> |
| 92 | <dependency> |
| 93 | <groupId>com.google.gerrit</groupId> |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 94 | <artifactId>gerrit-${Gerrit-ApiType}-api</artifactId> |
Brad Larson | 65164ff | 2012-05-21 17:09:14 -0500 | [diff] [blame] | 95 | <version>${Gerrit-ApiVersion}</version> |
Dave Borowitz | 3faf35d | 2012-05-24 18:07:40 -0700 | [diff] [blame] | 96 | <scope>provided</scope> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 97 | </dependency> |
David Ostrovsky | 2526e06 | 2013-11-12 23:07:34 +0100 | [diff] [blame] | 98 | <dependency> |
| 99 | <groupId>com.google.gerrit</groupId> |
| 100 | <artifactId>gerrit-plugin-gwtui</artifactId> |
| 101 | <version>${Gerrit-ApiVersion}</version> |
Edwin Kempin | 045f2a9 | 2014-12-03 15:26:33 +0100 | [diff] [blame] | 102 | <scope>provided</scope> |
David Ostrovsky | 2526e06 | 2013-11-12 23:07:34 +0100 | [diff] [blame] | 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>com.google.gwt</groupId> |
| 106 | <artifactId>gwt-user</artifactId> |
David Pursehouse | 39ffdc2 | 2014-12-18 19:03:42 +0900 | [diff] [blame] | 107 | <version>2.7.0</version> |
David Ostrovsky | 2526e06 | 2013-11-12 23:07:34 +0100 | [diff] [blame] | 108 | <scope>provided</scope> |
| 109 | </dependency> |
David Pursehouse | e80d1ca | 2015-03-02 19:39:53 +0900 | [diff] [blame] | 110 | <dependency> |
| 111 | <groupId>junit</groupId> |
| 112 | <artifactId>junit</artifactId> |
| 113 | <version>4.11</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 116 | </dependencies> |
| 117 | |
| 118 | <repositories> |
| 119 | <repository> |
David Pursehouse | 17b63c1 | 2015-04-17 15:30:49 +0900 | [diff] [blame] | 120 | <id>maven.org</id> |
| 121 | <url>http://repo1.maven.org/maven2</url> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 122 | </repository> |
| 123 | </repositories> |
Gustaf Lundh | 43fbc37 | 2012-05-14 15:50:33 -0700 | [diff] [blame] | 124 | </project> |