xref: /aosp_15_r20/external/apache-velocity-engine/velocity-engine-examples/src/assembly/examples.xml (revision 6626518d3d1a3a4cd21045b7974855fd6a3e2103)
1*6626518dSAndrew Vuong<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2*6626518dSAndrew Vuong  xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
3*6626518dSAndrew Vuong    <id>pkg</id>
4*6626518dSAndrew Vuong    <baseDirectory>${project.build.directory}</baseDirectory>
5*6626518dSAndrew Vuong    <includeBaseDirectory>false</includeBaseDirectory>
6*6626518dSAndrew Vuong    <formats>
7*6626518dSAndrew Vuong        <format>zip</format>
8*6626518dSAndrew Vuong    </formats>
9*6626518dSAndrew Vuong    <fileSets>
10*6626518dSAndrew Vuong        <!-- copy dependencies to lib/ -->
11*6626518dSAndrew Vuong        <fileSet>
12*6626518dSAndrew Vuong            <directory>${project.build.directory}</directory>
13*6626518dSAndrew Vuong            <outputDirectory>${project.build.finalName}</outputDirectory>
14*6626518dSAndrew Vuong            <includes>
15*6626518dSAndrew Vuong                <include>lib/*.jar</include>
16*6626518dSAndrew Vuong            </includes>
17*6626518dSAndrew Vuong        </fileSet>
18*6626518dSAndrew Vuong        <!-- copy self jar to lib/ -->
19*6626518dSAndrew Vuong        <fileSet>
20*6626518dSAndrew Vuong            <directory>${project.build.directory}</directory>
21*6626518dSAndrew Vuong            <outputDirectory>${project.build.finalName}/lib</outputDirectory>
22*6626518dSAndrew Vuong            <includes>
23*6626518dSAndrew Vuong                <include>${project.build.finalName}.jar</include>
24*6626518dSAndrew Vuong            </includes>
25*6626518dSAndrew Vuong        </fileSet>
26*6626518dSAndrew Vuong        <!-- copy examples resources -->
27*6626518dSAndrew Vuong        <fileSet>
28*6626518dSAndrew Vuong            <directory>${project.build.directory}/examples</directory>
29*6626518dSAndrew Vuong            <outputDirectory>${project.build.finalName}</outputDirectory>
30*6626518dSAndrew Vuong            <includes>
31*6626518dSAndrew Vuong                <include>*.vm</include>
32*6626518dSAndrew Vuong                <include>*.xml</include>
33*6626518dSAndrew Vuong                <include>*.properties</include>
34*6626518dSAndrew Vuong            </includes>
35*6626518dSAndrew Vuong        </fileSet>
36*6626518dSAndrew Vuong        <!-- copy examples scripts -->
37*6626518dSAndrew Vuong        <fileSet>
38*6626518dSAndrew Vuong            <directory>${project.build.directory}/examples</directory>
39*6626518dSAndrew Vuong            <outputDirectory>${project.build.finalName}</outputDirectory>
40*6626518dSAndrew Vuong            <fileMode>0755</fileMode>
41*6626518dSAndrew Vuong            <includes>
42*6626518dSAndrew Vuong                <include>*.sh</include>
43*6626518dSAndrew Vuong            </includes>
44*6626518dSAndrew Vuong        </fileSet>
45*6626518dSAndrew Vuong        <!-- copy readme file -->
46*6626518dSAndrew Vuong        <fileSet>
47*6626518dSAndrew Vuong            <directory>${project.basedir}</directory>
48*6626518dSAndrew Vuong            <outputDirectory>${project.build.finalName}</outputDirectory>
49*6626518dSAndrew Vuong            <includes>
50*6626518dSAndrew Vuong                <include>README.md</include>
51*6626518dSAndrew Vuong            </includes>
52*6626518dSAndrew Vuong        </fileSet>
53*6626518dSAndrew Vuong        <!-- copy sources -->
54*6626518dSAndrew Vuong        <fileSet>
55*6626518dSAndrew Vuong            <directory>${project.basedir}/src/main/java</directory>
56*6626518dSAndrew Vuong            <outputDirectory>${project.build.finalName}/src</outputDirectory>
57*6626518dSAndrew Vuong            <includes>
58*6626518dSAndrew Vuong                <include>**/*.java</include>
59*6626518dSAndrew Vuong            </includes>
60*6626518dSAndrew Vuong        </fileSet>
61*6626518dSAndrew Vuong    </fileSets>
62*6626518dSAndrew Vuong</assembly>
63