xref: /OpenGrok/distribution/pom.xml (revision bb76b0b8e550160bad5c7031f71608ac1bb8273e)
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>
8*bb76b0b8SAdam Hornáček    <groupId>org.opengrok</groupId>
96ed99b2dSVladimir Kotal    <artifactId>opengrok-top</artifactId>
10a22c2e06SVladimir Kotal    <version>1.1-rc23</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
196ed99b2dSVladimir Kotal  <!--
206ed99b2dSVladimir Kotal       NOTE: These dependency declarations are required to sort this project
216ed99b2dSVladimir Kotal       to the end of the line in the multimodule build and to get the jar files.
226ed99b2dSVladimir Kotal  -->
236ed99b2dSVladimir Kotal  <dependencies>
246ed99b2dSVladimir Kotal    <dependency>
25*bb76b0b8SAdam Hornáček      <groupId>org.opengrok</groupId>
266ed99b2dSVladimir Kotal      <artifactId>opengrok</artifactId>
27a22c2e06SVladimir Kotal      <version>1.1-rc23</version>
286ed99b2dSVladimir Kotal    </dependency>
296ed99b2dSVladimir Kotal
306ed99b2dSVladimir Kotal    <dependency>
31*bb76b0b8SAdam Hornáček      <groupId>org.opengrok</groupId>
326ed99b2dSVladimir Kotal      <artifactId>opengrok-web</artifactId>
33a22c2e06SVladimir Kotal      <version>1.1-rc23</version>
346ed99b2dSVladimir Kotal      <type>war</type>
356ed99b2dSVladimir Kotal    </dependency>
366ed99b2dSVladimir Kotal  </dependencies>
376ed99b2dSVladimir Kotal
386ed99b2dSVladimir Kotal  <build>
396ed99b2dSVladimir Kotal      <plugins>
406ed99b2dSVladimir Kotal          <plugin>
416ed99b2dSVladimir Kotal            <groupId>org.apache.maven.plugins</groupId>
426ed99b2dSVladimir Kotal            <artifactId>maven-dependency-plugin</artifactId>
436ed99b2dSVladimir Kotal            <version>3.1.0</version>
446ed99b2dSVladimir Kotal            <executions>
456ed99b2dSVladimir Kotal              <execution>
466ed99b2dSVladimir Kotal                <id>copy-dependencies</id>
476ed99b2dSVladimir Kotal                <phase>package</phase>
486ed99b2dSVladimir Kotal                <goals>
496ed99b2dSVladimir Kotal                  <goal>copy-dependencies</goal>
506ed99b2dSVladimir Kotal                </goals>
516ed99b2dSVladimir Kotal                <configuration>
526ed99b2dSVladimir Kotal                  <outputDirectory>${project.build.directory}/dist</outputDirectory>
536ed99b2dSVladimir Kotal                  <overWriteReleases>false</overWriteReleases>
546ed99b2dSVladimir Kotal                  <overWriteSnapshots>false</overWriteSnapshots>
556ed99b2dSVladimir Kotal                  <overWriteIfNewer>true</overWriteIfNewer>
566ed99b2dSVladimir Kotal                </configuration>
576ed99b2dSVladimir Kotal              </execution>
586ed99b2dSVladimir Kotal            </executions>
596ed99b2dSVladimir Kotal          </plugin>
606ed99b2dSVladimir Kotal          <plugin>
61*bb76b0b8SAdam Hornáček            <groupId>org.codehaus.mojo</groupId>
62*bb76b0b8SAdam Hornáček            <artifactId>exec-maven-plugin</artifactId>
63*bb76b0b8SAdam Hornáček            <version>1.6.0</version>
64*bb76b0b8SAdam Hornáček            <executions>
65*bb76b0b8SAdam Hornáček              <execution>
66*bb76b0b8SAdam Hornáček                <id>man-page</id>
67*bb76b0b8SAdam Hornáček                <phase>package</phase>
68*bb76b0b8SAdam Hornáček                <goals>
69*bb76b0b8SAdam Hornáček                  <goal>exec</goal>
70*bb76b0b8SAdam Hornáček                </goals>
71*bb76b0b8SAdam Hornáček              </execution>
72*bb76b0b8SAdam Hornáček            </executions>
73*bb76b0b8SAdam Hornáček            <configuration>
74*bb76b0b8SAdam Hornáček              <executable>java</executable>
75*bb76b0b8SAdam Hornáček              <outputFile>${project.build.directory}/dist/opengrok.1</outputFile>
76*bb76b0b8SAdam Hornáček              <arguments>
77*bb76b0b8SAdam Hornáček                <argument>-classpath</argument>
78*bb76b0b8SAdam Hornáček                <argument>${project.build.directory}/dist/opengrok-${version}.jar</argument>
79*bb76b0b8SAdam Hornáček                <argument>org.opengrok.index.Indexer</argument>
80*bb76b0b8SAdam Hornáček                <argument>--man</argument>
81*bb76b0b8SAdam Hornáček              </arguments>
82*bb76b0b8SAdam Hornáček            </configuration>
83*bb76b0b8SAdam Hornáček          </plugin>
84*bb76b0b8SAdam Hornáček          <plugin>
856ed99b2dSVladimir Kotal            <artifactId>maven-assembly-plugin</artifactId>
866ed99b2dSVladimir Kotal            <version>3.1.0</version>
876ed99b2dSVladimir Kotal            <configuration>
886ed99b2dSVladimir Kotal              <finalName>opengrok-${version}</finalName>
896ed99b2dSVladimir Kotal              <appendAssemblyId>false</appendAssemblyId>
906ed99b2dSVladimir Kotal              <descriptors>
916ed99b2dSVladimir Kotal                <descriptor>assembly.xml</descriptor>
926ed99b2dSVladimir Kotal              </descriptors>
936ed99b2dSVladimir Kotal            </configuration>
946ed99b2dSVladimir Kotal            <executions>
956ed99b2dSVladimir Kotal              <execution>
966ed99b2dSVladimir Kotal                <id>create-archive</id>
976ed99b2dSVladimir Kotal                <phase>package</phase>
986ed99b2dSVladimir Kotal                <goals>
996ed99b2dSVladimir Kotal                  <goal>single</goal>
1006ed99b2dSVladimir Kotal                </goals>
1016ed99b2dSVladimir Kotal              </execution>
1026ed99b2dSVladimir Kotal            </executions>
1036ed99b2dSVladimir Kotal          </plugin>
1046ed99b2dSVladimir Kotal      </plugins>
1056ed99b2dSVladimir Kotal  </build>
1066ed99b2dSVladimir Kotal
1076ed99b2dSVladimir Kotal</project>
108