xref: /aosp_15_r20/external/apache-velocity-engine/velocity-engine-examples/pom.xml (revision 6626518d3d1a3a4cd21045b7974855fd6a3e2103)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4Licensed to the Apache Software Foundation (ASF) under one
5or more contributor license agreements.  See the NOTICE file
6distributed with this work for additional information
7regarding copyright ownership.  The ASF licenses this file
8to you under the Apache License, Version 2.0 (the
9"License"); you may not use this file except in compliance
10with the License.  You may obtain a copy of the License at
11
12http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing,
15software distributed under the License is distributed on an
16"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17KIND, either express or implied.  See the License for the
18specific language governing permissions and limitations
19under the License.
20
21-->
22<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23    <modelVersion>4.0.0</modelVersion>
24    <parent>
25        <groupId>org.apache.velocity</groupId>
26        <artifactId>velocity-engine-parent</artifactId>
27        <version>2.4-SNAPSHOT</version>
28    </parent>
29
30    <artifactId>velocity-engine-examples</artifactId>
31    <name>Apache Velocity Engine - Examples</name>
32    <description>Very simple examples to use Velocity</description>
33
34    <build>
35        <plugins>
36            <plugin>
37                <groupId>org.apache.felix</groupId>
38                <artifactId>maven-bundle-plugin</artifactId>
39            </plugin>
40            <plugin>
41                <groupId>org.apache.maven.plugins</groupId>
42                <artifactId>maven-dependency-plugin</artifactId>
43                <executions>
44                    <execution>
45                        <phase>prepare-package</phase>
46                        <goals>
47                            <goal>copy-dependencies</goal>
48                        </goals>
49                        <configuration>
50                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
51                        </configuration>
52                    </execution>
53                </executions>
54            </plugin>
55            <plugin>
56                <groupId>org.apache.maven.plugins</groupId>
57                <artifactId>maven-resources-plugin</artifactId>
58                <configuration>
59                    <outputDirectory>${project.build.directory}/examples</outputDirectory>
60                </configuration>
61            </plugin>
62            <plugin>
63                <groupId>org.apache.maven.plugins</groupId>
64                <artifactId>maven-assembly-plugin</artifactId>
65                <configuration>
66                    <descriptors>
67                        <descriptor>src/assembly/examples.xml</descriptor>
68                    </descriptors>
69                </configuration>
70                <executions>
71                    <execution>
72                        <id>package-examples</id>
73                        <phase>package</phase>
74                        <goals>
75                            <goal>single</goal>
76                        </goals>
77                    </execution>
78                </executions>
79            </plugin>
80        </plugins>
81        <resources>
82            <resource>
83                <directory>src/main/resources</directory>
84                <filtering>true</filtering>
85            </resource>
86            <resource>
87                <directory>src/etc</directory>
88                <filtering>true</filtering>
89            </resource>
90        </resources>
91    </build>
92
93    <dependencies>
94        <dependency>
95            <groupId>org.apache.velocity</groupId>
96            <artifactId>velocity-engine-core</artifactId>
97            <version>${project.version}</version>
98        </dependency>
99        <dependency>
100            <groupId>org.jdom</groupId>
101            <artifactId>jdom</artifactId>
102            <version>1.1.3</version>
103        </dependency>
104        <dependency>
105            <groupId>org.slf4j</groupId>
106            <artifactId>slf4j-simple</artifactId>
107            <version>${slf4j.version}</version>
108            <scope>test</scope>
109        </dependency>
110    </dependencies>
111</project>
112