blob: 69691c2f92ca99362dd8433fa99d3cf88b8a471a [file] [log] [blame]
<!--
Copyright (c) 2013 VMware, Inc. All Rights Reserved.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.vadims</groupId>
<artifactId>gerrit-owners-parent</artifactId>
<version>1.0</version>
</parent>
<artifactId>gerrit-owners-autoassign</artifactId>
<packaging>jar</packaging>
<name>gerrit-owners-autoassign</name>
<description>Gerrit Plugin for using OWNERS files for automatically assigning code reviewers.</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<artifactSet>
<excludes>
<exclude>com.gerritforge:*</exclude>
<exclude>com.google.gerrit:*</exclude>
<exclude>org.bouncycastle:*</exclude>
<exclude>org.slf4j:*</exclude>
<exclude>com.google.guava:*</exclude>
<exclude>org.eclipse.jgit:*</exclude>
<exclude>wsdl4j:wsdl4j:*</exclude>
</excludes>
</artifactSet>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Implementation-Vendor>VMware, Inc.</Implementation-Vendor>
<Implementation-URL>http://github.com/vadims/gerrit-owners</Implementation-URL>
<Implementation-Title>${Gerrit-ApiType} ${project.artifactId}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Gerrit-ApiType>${Gerrit-ApiType}</Gerrit-ApiType>
<Gerrit-ApiVersion>${project.version}</Gerrit-ApiVersion>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>gerrit-owners-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.gerrit</groupId>
<artifactId>gerrit-${Gerrit-ApiType}-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>