xref: /OpenGrok/distribution/pom.xml (revision ae2ffdde25644787b9a0b2e680a06d8a2dd630b0)
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>
86ed99b2dSVladimir Kotal    <groupId>org.opensolaris.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>
256ed99b2dSVladimir Kotal      <groupId>org.opensolaris.opengrok</groupId>
266ed99b2dSVladimir Kotal      <artifactId>opengrok</artifactId>
27a22c2e06SVladimir Kotal      <version>1.1-rc23</version>
286ed99b2dSVladimir Kotal    </dependency>
296ed99b2dSVladimir Kotal
306ed99b2dSVladimir Kotal    <dependency>
316ed99b2dSVladimir Kotal      <groupId>org.opensolaris.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.codehaus.mojo</groupId>
426ed99b2dSVladimir Kotal            <artifactId>exec-maven-plugin</artifactId>
436ed99b2dSVladimir Kotal            <version>1.6.0</version>
446ed99b2dSVladimir Kotal            <executions>
456ed99b2dSVladimir Kotal              <execution>
466ed99b2dSVladimir Kotal    	        <id>man-page</id>
476ed99b2dSVladimir Kotal    	        <phase>package</phase>
486ed99b2dSVladimir Kotal                <goals>
496ed99b2dSVladimir Kotal                  <goal>exec</goal>
506ed99b2dSVladimir Kotal                </goals>
516ed99b2dSVladimir Kotal              </execution>
526ed99b2dSVladimir Kotal            </executions>
536ed99b2dSVladimir Kotal            <configuration>
546ed99b2dSVladimir Kotal    	  <executable>java</executable>
556ed99b2dSVladimir Kotal              <outputFile>${project.build.directory}/dist/opengrok.1</outputFile>
566ed99b2dSVladimir Kotal              <arguments>
576ed99b2dSVladimir Kotal                <argument>-classpath</argument>
58*ae2ffddeSVladimir Kotal                <argument>${project.basedir}/../opengrok-indexer/target/opengrok-${project.version}.jar</argument>
596ed99b2dSVladimir Kotal                <argument>org.opensolaris.opengrok.index.Indexer</argument>
606ed99b2dSVladimir Kotal                <argument>--man</argument>
616ed99b2dSVladimir Kotal              </arguments>
626ed99b2dSVladimir Kotal            </configuration>
636ed99b2dSVladimir Kotal          </plugin>
646ed99b2dSVladimir Kotal          <plugin>
656ed99b2dSVladimir Kotal            <groupId>org.apache.maven.plugins</groupId>
666ed99b2dSVladimir Kotal            <artifactId>maven-dependency-plugin</artifactId>
676ed99b2dSVladimir Kotal            <version>3.1.0</version>
686ed99b2dSVladimir Kotal            <executions>
696ed99b2dSVladimir Kotal              <execution>
706ed99b2dSVladimir Kotal                <id>copy-dependencies</id>
716ed99b2dSVladimir Kotal                <phase>package</phase>
726ed99b2dSVladimir Kotal                <goals>
736ed99b2dSVladimir Kotal                  <goal>copy-dependencies</goal>
746ed99b2dSVladimir Kotal                </goals>
756ed99b2dSVladimir Kotal                <configuration>
766ed99b2dSVladimir Kotal                  <outputDirectory>${project.build.directory}/dist</outputDirectory>
776ed99b2dSVladimir Kotal                  <overWriteReleases>false</overWriteReleases>
786ed99b2dSVladimir Kotal                  <overWriteSnapshots>false</overWriteSnapshots>
796ed99b2dSVladimir Kotal                  <overWriteIfNewer>true</overWriteIfNewer>
806ed99b2dSVladimir Kotal                </configuration>
816ed99b2dSVladimir Kotal              </execution>
826ed99b2dSVladimir Kotal            </executions>
836ed99b2dSVladimir Kotal          </plugin>
846ed99b2dSVladimir Kotal          <plugin>
856ed99b2dSVladimir Kotal            <artifactId>maven-assembly-plugin</artifactId>
866ed99b2dSVladimir Kotal            <version>3.1.0</version>
876ed99b2dSVladimir Kotal            <configuration>
88*ae2ffddeSVladimir Kotal              <finalName>opengrok-${project.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