summaryrefslogtreecommitdiffstats
path: root/gerrit-main/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gerrit-main/pom.xml')
-rw-r--r--gerrit-main/pom.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/gerrit-main/pom.xml b/gerrit-main/pom.xml
index 71bfd89a52..57eb32ba21 100644
--- a/gerrit-main/pom.xml
+++ b/gerrit-main/pom.xml
@@ -31,4 +31,42 @@ limitations under the License.
<description>
Main class to bootstrap out of a WAR
</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.google.gerrit</groupId>
+ <artifactId>gerrit-launcher</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.2</source>
+ <target>1.2</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>