Merge "Corrected title section in Microservice index"
[ccsdk/cds.git] / ms / blueprintsprocessor / application / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~  Copyright © 2017-2018 AT&T Intellectual Property.
4   ~
5   ~  Modifications Copyright © 2018 IBM.
6   ~  Modifications Copyright © 2019 Bell Canada.
7   ~
8   ~  Licensed under the Apache License, Version 2.0 (the "License");
9   ~  you may not use this file except in compliance with the License.
10   ~  You may obtain a copy of the License at
11   ~
12   ~      http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~  Unless required by applicable law or agreed to in writing, software
15   ~  distributed under the License is distributed on an "AS IS" BASIS,
16   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~  See the License for the specific language governing permissions and
18   ~  limitations under the License.
19   -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
25         <artifactId>parent</artifactId>
26         <version>0.5.0-SNAPSHOT</version>
27         <relativePath>../parent</relativePath>
28     </parent>
29     <artifactId>application</artifactId>
30     <packaging>jar</packaging>
31     <name>Blueprints Processor Application</name>
32     <description>Blueprints Processor Application</description>
33
34     <dependencies>
35
36         <dependency>
37             <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
38             <artifactId>blueprint-core</artifactId>
39         </dependency>
40         <dependency>
41             <groupId>org.springframework.boot</groupId>
42             <artifactId>spring-boot-starter-security</artifactId>
43         </dependency>
44
45         <!-- North Bound -->
46         <dependency>
47             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
48             <artifactId>resource-api</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
52             <artifactId>python-executor</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
56             <artifactId>ansible-awx-executor</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
60             <artifactId>netconf-executor</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
64             <artifactId>restconf-executor</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
68             <artifactId>cli-executor</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
72             <artifactId>selfservice-api</artifactId>
73         </dependency>
74         <dependency>
75             <groupId>com.h2database</groupId>
76             <artifactId>h2</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>org.powermock</groupId>
80             <artifactId>powermock-api-mockito2</artifactId>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-test</artifactId>
86             <scope>test</scope>
87         </dependency>
88         <dependency>
89             <groupId>org.jetbrains.kotlin</groupId>
90             <artifactId>kotlin-test-junit</artifactId>
91             <scope>test</scope>
92         </dependency>
93         <dependency>
94             <groupId>io.projectreactor</groupId>
95             <artifactId>reactor-test</artifactId>
96             <scope>test</scope>
97         </dependency>
98     </dependencies>
99     <build>
100         <resources>
101             <resource>
102                 <!--config and resource files -->
103                 <directory>${basedir}/etc</directory>
104                 <targetPath>${basedir}/target/etc</targetPath>
105                 <filtering>true</filtering>
106                 <includes>
107                     <include>**/*</include>
108                 </includes>
109             </resource>
110             <resource>
111                 <!--config and resource files -->
112                 <directory>${basedir}/src/main/resources</directory>
113                 <targetPath>${basedir}/target/src/main/resources</targetPath>
114                 <filtering>true</filtering>
115                 <includes>
116                     <include>**/*</include>
117                 </includes>
118             </resource>
119             <resource>
120                 <directory>src/main/resources</directory>
121                 <includes>
122                     <include>**/*</include>
123                 </includes>
124                 <filtering>true</filtering>
125             </resource>
126         </resources>
127         <plugins>
128             <plugin>
129                 <artifactId>maven-resources-plugin</artifactId>
130                 <version>2.6</version>
131                 <executions>
132                     <execution>
133                         <id>copy-dockerfile</id>
134                         <goals>
135                             <goal>copy-resources</goal>
136                         </goals><!-- here the phase you need -->
137                         <phase>validate</phase>
138                         <configuration>
139                             <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
140                             <resources>
141                                 <resource>
142                                     <directory>src/main/docker</directory>
143                                     <includes>
144                                         <include>*</include>
145                                     </includes>
146                                     <filtering>true</filtering>
147                                 </resource>
148                             </resources>
149                         </configuration>
150                     </execution>
151                 </executions>
152             </plugin>
153             <plugin>
154                 <groupId>org.apache.maven.plugins</groupId>
155                 <artifactId>maven-antrun-plugin</artifactId>
156                 <executions>
157                     <execution>
158                         <id>ant-test</id>
159                         <phase>package</phase>
160                         <configuration>
161                             <tasks>
162                                 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
163                             </tasks>
164                         </configuration>
165                         <goals>
166                             <goal>run</goal>
167                         </goals>
168                     </execution>
169                 </executions>
170             </plugin>
171             <plugin>
172                 <artifactId>maven-compiler-plugin</artifactId>
173                 <version>3.1</version>
174                 <configuration>
175                     <!-- <skip>${skip.compile}</skip>-->
176                     <source>1.8</source>
177                     <target>1.8</target>
178                 </configuration>
179             </plugin>
180         </plugins>
181     </build>
182 </project>