xref: /OpenGrok/distribution/assembly.xml (revision 2d57dc692b4dd10e696ca6922510f6cecded1bfd)
1<assembly>
2    <id>bin</id>
3    <formats>
4        <format>tar.gz</format>
5    </formats>
6    <files>
7      <file>
8        <source>${project.basedir}/../opengrok-indexer/target/opengrok-${version}.jar</source>
9        <outputDirectory>lib</outputDirectory>
10        <destName>opengrok.jar</destName>
11      </file>
12      <file>
13        <source>${project.basedir}/../plugins/target/plugins-${version}.jar</source>
14        <outputDirectory>share/lib</outputDirectory>
15        <destName>plugins.jar</destName>
16      </file>
17      <file>
18        <source>${project.build.directory}/dist/opengrok-web-${version}.war</source>
19        <outputDirectory>lib</outputDirectory>
20        <destName>source.war</destName>
21      </file>
22      <file>
23        <source>${project.basedir}/../tools/${project.build.directory}/dist/opengrok-tools-${project.python.package.version}.tar.gz</source>
24        <outputDirectory>tools</outputDirectory>
25        <destName>opengrok-tools.tar.gz</destName>
26      </file>
27      <file>
28         <source>${project.basedir}/../tools/README-dist.txt</source>
29         <outputDirectory>tools</outputDirectory>
30         <destName>README.txt</destName>
31      </file>
32      <file>
33        <source>${project.basedir}/../tools/${project.build.directory}/dist/logging.properties.template</source>
34        <outputDirectory>doc</outputDirectory>
35        <destName>logging.properties.template</destName>
36      </file>
37    </files>
38    <fileSets>
39        <fileSet>
40          <directory>${project.basedir}/..</directory>
41          <outputDirectory>doc</outputDirectory>
42          <includes>
43            <include>README*</include>
44            <include>LICENSE*</include>
45            <include>logging.properties</include>
46          </includes>
47        </fileSet>
48        <fileSet>
49          <directory>${project.build.directory}/../lib</directory>
50          <outputDirectory>lib</outputDirectory>
51          <includes>
52            <include>*.jar</include>
53          </includes>
54        </fileSet>
55        <fileSet>
56          <directory>${project.build.directory}/dist</directory>
57          <outputDirectory>lib</outputDirectory>
58          <includes>
59            <include>*.jar</include>
60          </includes>
61        </fileSet>
62    </fileSets>
63</assembly>
64