xref: /OpenGrok/distribution/pom.xml (revision 6ed99b2de43f7d03bb5f92267ec0f4becaf738e1)
1*6ed99b2dSVladimir Kotal<?xml version="1.0" encoding="UTF-8"?>
2*6ed99b2dSVladimir Kotal<project xmlns="http://maven.apache.org/POM/4.0.0"
3*6ed99b2dSVladimir Kotal         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4*6ed99b2dSVladimir Kotal         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5*6ed99b2dSVladimir Kotal  <modelVersion>4.0.0</modelVersion>
6*6ed99b2dSVladimir Kotal
7*6ed99b2dSVladimir Kotal  <parent>
8*6ed99b2dSVladimir Kotal    <groupId>org.opensolaris.opengrok</groupId>
9*6ed99b2dSVladimir Kotal    <artifactId>opengrok-top</artifactId>
10*6ed99b2dSVladimir Kotal    <version>1.1-rc1006</version>
11*6ed99b2dSVladimir Kotal  </parent>
12*6ed99b2dSVladimir Kotal
13*6ed99b2dSVladimir Kotal  <artifactId>opengrok-dist</artifactId>
14*6ed99b2dSVladimir Kotal
15*6ed99b2dSVladimir Kotal  <packaging>pom</packaging>
16*6ed99b2dSVladimir Kotal
17*6ed99b2dSVladimir Kotal  <name>Distribution</name>
18*6ed99b2dSVladimir Kotal
19*6ed99b2dSVladimir Kotal  <!--
20*6ed99b2dSVladimir Kotal       NOTE: These dependency declarations are required to sort this project
21*6ed99b2dSVladimir Kotal       to the end of the line in the multimodule build and to get the jar files.
22*6ed99b2dSVladimir Kotal  -->
23*6ed99b2dSVladimir Kotal  <dependencies>
24*6ed99b2dSVladimir Kotal    <dependency>
25*6ed99b2dSVladimir Kotal      <groupId>org.opensolaris.opengrok</groupId>
26*6ed99b2dSVladimir Kotal      <artifactId>opengrok</artifactId>
27*6ed99b2dSVladimir Kotal      <version>1.1-rc1006</version>
28*6ed99b2dSVladimir Kotal    </dependency>
29*6ed99b2dSVladimir Kotal
30*6ed99b2dSVladimir Kotal    <dependency>
31*6ed99b2dSVladimir Kotal      <groupId>org.opensolaris.opengrok</groupId>
32*6ed99b2dSVladimir Kotal      <artifactId>opengrok-web</artifactId>
33*6ed99b2dSVladimir Kotal      <version>1.1-rc1006</version>
34*6ed99b2dSVladimir Kotal      <type>war</type>
35*6ed99b2dSVladimir Kotal    </dependency>
36*6ed99b2dSVladimir Kotal  </dependencies>
37*6ed99b2dSVladimir Kotal
38*6ed99b2dSVladimir Kotal  <build>
39*6ed99b2dSVladimir Kotal      <plugins>
40*6ed99b2dSVladimir Kotal          <plugin>
41*6ed99b2dSVladimir Kotal            <groupId>org.codehaus.mojo</groupId>
42*6ed99b2dSVladimir Kotal            <artifactId>exec-maven-plugin</artifactId>
43*6ed99b2dSVladimir Kotal            <version>1.6.0</version>
44*6ed99b2dSVladimir Kotal            <executions>
45*6ed99b2dSVladimir Kotal              <execution>
46*6ed99b2dSVladimir Kotal    	        <id>man-page</id>
47*6ed99b2dSVladimir Kotal    	        <phase>package</phase>
48*6ed99b2dSVladimir Kotal                <goals>
49*6ed99b2dSVladimir Kotal                  <goal>exec</goal>
50*6ed99b2dSVladimir Kotal                </goals>
51*6ed99b2dSVladimir Kotal              </execution>
52*6ed99b2dSVladimir Kotal            </executions>
53*6ed99b2dSVladimir Kotal            <configuration>
54*6ed99b2dSVladimir Kotal    	  <executable>java</executable>
55*6ed99b2dSVladimir Kotal              <outputFile>${project.build.directory}/dist/opengrok.1</outputFile>
56*6ed99b2dSVladimir Kotal              <arguments>
57*6ed99b2dSVladimir Kotal                <argument>-classpath</argument>
58*6ed99b2dSVladimir Kotal                <argument>${project.basedir}/../opengrok-indexer/target/opengrok-${version}.jar</argument>
59*6ed99b2dSVladimir Kotal                <argument>org.opensolaris.opengrok.index.Indexer</argument>
60*6ed99b2dSVladimir Kotal                <argument>--man</argument>
61*6ed99b2dSVladimir Kotal              </arguments>
62*6ed99b2dSVladimir Kotal            </configuration>
63*6ed99b2dSVladimir Kotal          </plugin>
64*6ed99b2dSVladimir Kotal          <plugin>
65*6ed99b2dSVladimir Kotal            <groupId>org.apache.maven.plugins</groupId>
66*6ed99b2dSVladimir Kotal            <artifactId>maven-dependency-plugin</artifactId>
67*6ed99b2dSVladimir Kotal            <version>3.1.0</version>
68*6ed99b2dSVladimir Kotal            <executions>
69*6ed99b2dSVladimir Kotal              <execution>
70*6ed99b2dSVladimir Kotal                <id>copy-dependencies</id>
71*6ed99b2dSVladimir Kotal                <phase>package</phase>
72*6ed99b2dSVladimir Kotal                <goals>
73*6ed99b2dSVladimir Kotal                  <goal>copy-dependencies</goal>
74*6ed99b2dSVladimir Kotal                </goals>
75*6ed99b2dSVladimir Kotal                <configuration>
76*6ed99b2dSVladimir Kotal                  <outputDirectory>${project.build.directory}/dist</outputDirectory>
77*6ed99b2dSVladimir Kotal                  <overWriteReleases>false</overWriteReleases>
78*6ed99b2dSVladimir Kotal                  <overWriteSnapshots>false</overWriteSnapshots>
79*6ed99b2dSVladimir Kotal                  <overWriteIfNewer>true</overWriteIfNewer>
80*6ed99b2dSVladimir Kotal                </configuration>
81*6ed99b2dSVladimir Kotal              </execution>
82*6ed99b2dSVladimir Kotal            </executions>
83*6ed99b2dSVladimir Kotal          </plugin>
84*6ed99b2dSVladimir Kotal          <plugin>
85*6ed99b2dSVladimir Kotal            <artifactId>maven-assembly-plugin</artifactId>
86*6ed99b2dSVladimir Kotal            <version>3.1.0</version>
87*6ed99b2dSVladimir Kotal            <configuration>
88*6ed99b2dSVladimir Kotal              <finalName>opengrok-${version}</finalName>
89*6ed99b2dSVladimir Kotal              <appendAssemblyId>false</appendAssemblyId>
90*6ed99b2dSVladimir Kotal              <descriptors>
91*6ed99b2dSVladimir Kotal                <descriptor>assembly.xml</descriptor>
92*6ed99b2dSVladimir Kotal              </descriptors>
93*6ed99b2dSVladimir Kotal            </configuration>
94*6ed99b2dSVladimir Kotal            <executions>
95*6ed99b2dSVladimir Kotal              <execution>
96*6ed99b2dSVladimir Kotal                <id>create-archive</id>
97*6ed99b2dSVladimir Kotal                <phase>package</phase>
98*6ed99b2dSVladimir Kotal                <goals>
99*6ed99b2dSVladimir Kotal                  <goal>single</goal>
100*6ed99b2dSVladimir Kotal                </goals>
101*6ed99b2dSVladimir Kotal              </execution>
102*6ed99b2dSVladimir Kotal            </executions>
103*6ed99b2dSVladimir Kotal          </plugin>
104*6ed99b2dSVladimir Kotal      </plugins>
105*6ed99b2dSVladimir Kotal  </build>
106*6ed99b2dSVladimir Kotal
107*6ed99b2dSVladimir Kotal</project>
108