xref: /OpenGrok/distribution/pom.xml (revision 1a2ed5cf92e80419ef690aef909685020d04e0e7)
16ed99b2dSVladimir Kotal<?xml version="1.0" encoding="UTF-8"?>
26ed99b2dSVladimir Kotal<project xmlns="http://maven.apache.org/POM/4.0.0"
36ed99b2dSVladimir Kotal         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
46ed99b2dSVladimir Kotal         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
56ed99b2dSVladimir Kotal  <modelVersion>4.0.0</modelVersion>
66ed99b2dSVladimir Kotal
76ed99b2dSVladimir Kotal  <parent>
8bb76b0b8SAdam Hornáček    <groupId>org.opengrok</groupId>
96ed99b2dSVladimir Kotal    <artifactId>opengrok-top</artifactId>
10*1a2ed5cfSVladimír Kotal    <version>1.7.32</version>
116ed99b2dSVladimir Kotal  </parent>
126ed99b2dSVladimir Kotal
136ed99b2dSVladimir Kotal  <artifactId>opengrok-dist</artifactId>
146ed99b2dSVladimir Kotal
156ed99b2dSVladimir Kotal  <packaging>pom</packaging>
166ed99b2dSVladimir Kotal
176ed99b2dSVladimir Kotal  <name>Distribution</name>
186ed99b2dSVladimir Kotal
193248c704SVladimir Kotal  <properties>
203248c704SVladimir Kotal    <project.python.package.version>${project.version}</project.python.package.version>
213248c704SVladimir Kotal  </properties>
223248c704SVladimir Kotal
236ed99b2dSVladimir Kotal  <!--
246ed99b2dSVladimir Kotal       NOTE: These dependency declarations are required to sort this project
256ed99b2dSVladimir Kotal       to the end of the line in the multimodule build and to get the jar files.
266ed99b2dSVladimir Kotal  -->
276ed99b2dSVladimir Kotal  <dependencies>
286ed99b2dSVladimir Kotal    <dependency>
29bb76b0b8SAdam Hornáček      <groupId>org.opengrok</groupId>
306ed99b2dSVladimir Kotal      <artifactId>opengrok</artifactId>
31*1a2ed5cfSVladimír Kotal      <version>1.7.32</version>
326ed99b2dSVladimir Kotal    </dependency>
336ed99b2dSVladimir Kotal
346ed99b2dSVladimir Kotal    <dependency>
35bb76b0b8SAdam Hornáček      <groupId>org.opengrok</groupId>
366ed99b2dSVladimir Kotal      <artifactId>opengrok-web</artifactId>
37*1a2ed5cfSVladimír Kotal      <version>1.7.32</version>
386ed99b2dSVladimir Kotal      <type>war</type>
396ed99b2dSVladimir Kotal    </dependency>
4005e2e2ceSVladimir Kotal
4105e2e2ceSVladimir Kotal    <dependency>
4205e2e2ceSVladimir Kotal      <groupId>org.opengrok</groupId>
432d57dc69SVladimir Kotal      <artifactId>tools</artifactId>
44*1a2ed5cfSVladimír Kotal      <version>1.7.32</version>
450a781966SVladimir Kotal      <type>pom</type>
4605e2e2ceSVladimir Kotal    </dependency>
476ed99b2dSVladimir Kotal  </dependencies>
486ed99b2dSVladimir Kotal
496ed99b2dSVladimir Kotal  <build>
506ed99b2dSVladimir Kotal      <plugins>
516ed99b2dSVladimir Kotal          <plugin>
526ed99b2dSVladimir Kotal            <groupId>org.apache.maven.plugins</groupId>
536ed99b2dSVladimir Kotal            <artifactId>maven-dependency-plugin</artifactId>
546ed99b2dSVladimir Kotal            <version>3.1.0</version>
556ed99b2dSVladimir Kotal            <executions>
566ed99b2dSVladimir Kotal              <execution>
576ed99b2dSVladimir Kotal                <id>copy-dependencies</id>
586ed99b2dSVladimir Kotal                <phase>package</phase>
596ed99b2dSVladimir Kotal                <goals>
606ed99b2dSVladimir Kotal                  <goal>copy-dependencies</goal>
616ed99b2dSVladimir Kotal                </goals>
626ed99b2dSVladimir Kotal                <configuration>
636ed99b2dSVladimir Kotal                  <outputDirectory>${project.build.directory}/dist</outputDirectory>
646ed99b2dSVladimir Kotal                  <overWriteReleases>false</overWriteReleases>
656ed99b2dSVladimir Kotal                  <overWriteSnapshots>false</overWriteSnapshots>
666ed99b2dSVladimir Kotal                  <overWriteIfNewer>true</overWriteIfNewer>
676ed99b2dSVladimir Kotal                </configuration>
686ed99b2dSVladimir Kotal              </execution>
696ed99b2dSVladimir Kotal            </executions>
706ed99b2dSVladimir Kotal          </plugin>
716ed99b2dSVladimir Kotal          <plugin>
726ed99b2dSVladimir Kotal            <artifactId>maven-assembly-plugin</artifactId>
736ed99b2dSVladimir Kotal            <version>3.1.0</version>
746ed99b2dSVladimir Kotal            <configuration>
75ae2ffddeSVladimir Kotal              <finalName>opengrok-${project.version}</finalName>
766ed99b2dSVladimir Kotal              <appendAssemblyId>false</appendAssemblyId>
776ed99b2dSVladimir Kotal              <descriptors>
786ed99b2dSVladimir Kotal                <descriptor>assembly.xml</descriptor>
796ed99b2dSVladimir Kotal              </descriptors>
806ed99b2dSVladimir Kotal            </configuration>
816ed99b2dSVladimir Kotal            <executions>
826ed99b2dSVladimir Kotal              <execution>
836ed99b2dSVladimir Kotal                <id>create-archive</id>
846ed99b2dSVladimir Kotal                <phase>package</phase>
856ed99b2dSVladimir Kotal                <goals>
866ed99b2dSVladimir Kotal                  <goal>single</goal>
876ed99b2dSVladimir Kotal                </goals>
886ed99b2dSVladimir Kotal              </execution>
896ed99b2dSVladimir Kotal            </executions>
906ed99b2dSVladimir Kotal          </plugin>
916ed99b2dSVladimir Kotal      </plugins>
926ed99b2dSVladimir Kotal  </build>
936ed99b2dSVladimir Kotal
946ed99b2dSVladimir Kotal</project>
95