| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2018 GerritForge Ltd |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>com.googlesource.gerrit.plugins.donation</groupId> |
| <artifactId>donation-button</artifactId> |
| <version>2.13</version> |
| <name>Gerrit Code Review Donation Button</name> |
| <url>http://www.gerritforge.com</url> |
| <packaging>jar</packaging> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.1.0</version> |
| <configuration> |
| <transformers> |
| <transformer |
| implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <manifestEntries> |
| <Gerrit-Module>com.googlesource.gerrit.plugins.donation.GuiceModule</Gerrit-Module> |
| <Implementation-Vendor>GerritForge</Implementation-Vendor> |
| <Implementation-URL>http://www.gerritforge.com</Implementation-URL> |
| |
| <Implementation-Title>${project.artifactId}</Implementation-Title> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| |
| <Gerrit-ApiType>plugin</Gerrit-ApiType> |
| <Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion> |
| <Gerrit-PluginName>donation-button</Gerrit-PluginName> |
| </manifestEntries> |
| </transformer> |
| </transformers> |
| |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>3.0.0</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| <repositories> |
| <repository> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <id>repo.jenkins-ci.org</id> |
| <url>http://repo.jenkins-ci.org/public/</url> |
| </repository> |
| <repository> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <id>sonatype</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| </repository> |
| <repository> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <id>gerrit-api-repository</id> |
| <url>https://gerrit-api.commondatastorage.googleapis.com/release/</url> |
| </repository> |
| </repositories> |
| <dependencies> |
| <dependency> |
| <groupId>com.google.gerrit</groupId> |
| <artifactId>gerrit-plugin-api</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </project> |