xref: /OpenGrok/distribution/pom.xml (revision 0a78196631facd8bc4b16fefb9265b1cea7680ad)
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>
10616b5796SVladimir Kotal    <version>1.1-rc35</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>
25bb76b0b8SAdam Hornáček      <groupId>org.opengrok</groupId>
266ed99b2dSVladimir Kotal      <artifactId>opengrok</artifactId>
27616b5796SVladimir Kotal      <version>1.1-rc35</version>
286ed99b2dSVladimir Kotal    </dependency>
296ed99b2dSVladimir Kotal
306ed99b2dSVladimir Kotal    <dependency>
31bb76b0b8SAdam Hornáček      <groupId>org.opengrok</groupId>
326ed99b2dSVladimir Kotal      <artifactId>opengrok-web</artifactId>
33616b5796SVladimir Kotal      <version>1.1-rc35</version>
346ed99b2dSVladimir Kotal      <type>war</type>
356ed99b2dSVladimir Kotal    </dependency>
3605e2e2ceSVladimir Kotal
3705e2e2ceSVladimir Kotal    <dependency>
3805e2e2ceSVladimir Kotal      <groupId>org.opengrok</groupId>
3905e2e2ceSVladimir Kotal      <artifactId>tools</artifactId>
4005e2e2ceSVladimir Kotal      <version>1.1-rc35</version>
41*0a781966SVladimir Kotal      <type>pom</type>
4205e2e2ceSVladimir Kotal    </dependency>
436ed99b2dSVladimir Kotal  </dependencies>
446ed99b2dSVladimir Kotal
456ed99b2dSVladimir Kotal  <build>
466ed99b2dSVladimir Kotal      <plugins>
476ed99b2dSVladimir Kotal          <plugin>
486ed99b2dSVladimir Kotal            <groupId>org.apache.maven.plugins</groupId>
496ed99b2dSVladimir Kotal            <artifactId>maven-dependency-plugin</artifactId>
506ed99b2dSVladimir Kotal            <version>3.1.0</version>
516ed99b2dSVladimir Kotal            <executions>
526ed99b2dSVladimir Kotal              <execution>
536ed99b2dSVladimir Kotal                <id>copy-dependencies</id>
546ed99b2dSVladimir Kotal                <phase>package</phase>
556ed99b2dSVladimir Kotal                <goals>
566ed99b2dSVladimir Kotal                  <goal>copy-dependencies</goal>
576ed99b2dSVladimir Kotal                </goals>
586ed99b2dSVladimir Kotal                <configuration>
596ed99b2dSVladimir Kotal                  <outputDirectory>${project.build.directory}/dist</outputDirectory>
606ed99b2dSVladimir Kotal                  <overWriteReleases>false</overWriteReleases>
616ed99b2dSVladimir Kotal                  <overWriteSnapshots>false</overWriteSnapshots>
626ed99b2dSVladimir Kotal                  <overWriteIfNewer>true</overWriteIfNewer>
636ed99b2dSVladimir Kotal                </configuration>
646ed99b2dSVladimir Kotal              </execution>
656ed99b2dSVladimir Kotal            </executions>
666ed99b2dSVladimir Kotal          </plugin>
676ed99b2dSVladimir Kotal          <plugin>
68bb76b0b8SAdam Hornáček            <groupId>org.codehaus.mojo</groupId>
69bb76b0b8SAdam Hornáček            <artifactId>exec-maven-plugin</artifactId>
70bb76b0b8SAdam Hornáček            <version>1.6.0</version>
71bb76b0b8SAdam Hornáček            <executions>
72bb76b0b8SAdam Hornáček              <execution>
73bb76b0b8SAdam Hornáček                <id>man-page</id>
74bb76b0b8SAdam Hornáček                <phase>package</phase>
75bb76b0b8SAdam Hornáček                <goals>
76bb76b0b8SAdam Hornáček                  <goal>exec</goal>
77bb76b0b8SAdam Hornáček                </goals>
78bb76b0b8SAdam Hornáček              </execution>
79bb76b0b8SAdam Hornáček            </executions>
80bb76b0b8SAdam Hornáček            <configuration>
81bb76b0b8SAdam Hornáček              <executable>java</executable>
82bb76b0b8SAdam Hornáček              <outputFile>${project.build.directory}/dist/opengrok.1</outputFile>
83bb76b0b8SAdam Hornáček              <arguments>
84bb76b0b8SAdam Hornáček                <argument>-classpath</argument>
85e4009810SAdam Hornáček                <argument>${project.build.directory}/dist/opengrok-${project.version}.jar</argument>
8610aced3cSAdam Hornáček                <argument>org.opengrok.indexer.index.Indexer</argument>
87bb76b0b8SAdam Hornáček                <argument>--man</argument>
88bb76b0b8SAdam Hornáček              </arguments>
89bb76b0b8SAdam Hornáček            </configuration>
90bb76b0b8SAdam Hornáček          </plugin>
91bb76b0b8SAdam Hornáček          <plugin>
926ed99b2dSVladimir Kotal            <artifactId>maven-assembly-plugin</artifactId>
936ed99b2dSVladimir Kotal            <version>3.1.0</version>
946ed99b2dSVladimir Kotal            <configuration>
95ae2ffddeSVladimir Kotal              <finalName>opengrok-${project.version}</finalName>
966ed99b2dSVladimir Kotal              <appendAssemblyId>false</appendAssemblyId>
976ed99b2dSVladimir Kotal              <descriptors>
986ed99b2dSVladimir Kotal                <descriptor>assembly.xml</descriptor>
996ed99b2dSVladimir Kotal              </descriptors>
1006ed99b2dSVladimir Kotal            </configuration>
1016ed99b2dSVladimir Kotal            <executions>
1026ed99b2dSVladimir Kotal              <execution>
1036ed99b2dSVladimir Kotal                <id>create-archive</id>
1046ed99b2dSVladimir Kotal                <phase>package</phase>
1056ed99b2dSVladimir Kotal                <goals>
1066ed99b2dSVladimir Kotal                  <goal>single</goal>
1076ed99b2dSVladimir Kotal                </goals>
1086ed99b2dSVladimir Kotal              </execution>
1096ed99b2dSVladimir Kotal            </executions>
1106ed99b2dSVladimir Kotal          </plugin>
1116ed99b2dSVladimir Kotal      </plugins>
1126ed99b2dSVladimir Kotal  </build>
1136ed99b2dSVladimir Kotal
1146ed99b2dSVladimir Kotal</project>
115