Release sdnc/oam
[sdnc/oam.git] / platform-logic / restapi-templates / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>odlparent-lite</artifactId>
8         <version>1.4.3</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>platform-logic-restapi-templates</artifactId>
14     <version>1.7.5</version>
15     <packaging>pom</packaging>
16
17     <name>sdnc-oam :: platform-logic :: ${project.artifactId}</name>
18     <description>Contains platform-level platform logic for REST API templates</description>
19
20     <build>
21         <plugins>
22             <plugin>
23                 <artifactId>maven-resources-plugin</artifactId>
24                 <version>2.6</version>
25                 <executions>
26                     <execution>
27                         <id>copy-version</id>
28                         <goals>
29                             <goal>copy-resources</goal>
30                         </goals><!-- here the phase you need -->
31                         <phase>validate</phase>
32                         <configuration>
33                             <outputDirectory>../target/restapi/templates</outputDirectory>
34                             <resources>
35                                 <resource>
36                                     <directory>src/main/json</directory>
37                                     <includes>
38                                         <include>**/*.json</include>
39                                     </includes>
40                                     <filtering>true</filtering>
41                                 </resource>
42                                 <resource>
43                                     <directory>src/main/xml</directory>
44                                     <includes>
45                                         <include>**/*.xml</include>
46                                     </includes>
47                                     <filtering>true</filtering>
48                                 </resource>
49                                 <resource>
50                                     <directory>src/main/velocity</directory>
51                                     <includes>
52                                         <include>**/*.vtl</include>
53                                     </includes>
54                                     <filtering>true</filtering>
55                                 </resource>
56                                 <resource>
57                                     <directory>src/main/multipartfile</directory>
58                                     <includes>
59                                         <include>**/*.*</include>
60                                     </includes>
61                                     <filtering>true</filtering>
62                                 </resource>
63                             </resources>
64                         </configuration>
65                     </execution>
66                 </executions>
67             </plugin>
68         </plugins>
69     </build>
70 </project>