00e41d396003fde5c67319f4de4cd6c4148511a6
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21     <modelVersion>4.0.0</modelVersion>
22     <parent>
23         <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
24         <artifactId>parent</artifactId>
25         <version>0.5.2-SNAPSHOT</version>
26         <relativePath>../parent</relativePath>
27     </parent>
28     <artifactId>application</artifactId>
29     <packaging>jar</packaging>
30     <name>Blueprints Processor Application</name>
31     <description>Blueprints Processor Application</description>
32
33     <dependencies>
34
35         <dependency>
36             <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
37             <artifactId>blueprint-core</artifactId>
38             <exclusions>
39                 <exclusion>
40                     <groupId>org.springframework.boot</groupId>
41                     <artifactId>spring-boot-starter-logging</artifactId>
42                 </exclusion>
43             </exclusions>
44         </dependency>
45         <dependency>
46             <groupId>org.springframework.boot</groupId>
47             <artifactId>spring-boot-starter-security</artifactId>
48             <exclusions>
49                 <exclusion>
50                     <groupId>org.springframework.boot</groupId>
51                     <artifactId>spring-boot-starter-logging</artifactId>
52                 </exclusion>
53             </exclusions>
54         </dependency>
55
56         <!-- North Bound -->
57         <dependency>
58             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
59             <artifactId>designer-api</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
63             <artifactId>resource-api</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
67             <artifactId>selfservice-api</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
71             <artifactId>configs-api</artifactId>
72         </dependency>
73
74         <!-- Functions -->
75         <dependency>
76             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
77             <artifactId>python-executor</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
81             <artifactId>ansible-awx-executor</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
85             <artifactId>netconf-executor</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
89             <artifactId>restconf-executor</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
93             <artifactId>cli-executor</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
97             <artifactId>config-snapshots</artifactId>
98         </dependency>
99         <dependency>
100             <groupId>com.h2database</groupId>
101             <artifactId>h2</artifactId>
102         </dependency>
103         <dependency>
104             <groupId>org.powermock</groupId>
105             <artifactId>powermock-api-mockito2</artifactId>
106             <scope>test</scope>
107         </dependency>
108         <dependency>
109             <groupId>org.springframework.boot</groupId>
110             <artifactId>spring-boot-starter-test</artifactId>
111             <scope>test</scope>
112         </dependency>
113         <dependency>
114             <groupId>org.jetbrains.kotlin</groupId>
115             <artifactId>kotlin-test-junit</artifactId>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>io.projectreactor</groupId>
120             <artifactId>reactor-test</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.yaml</groupId>
125             <artifactId>snakeyaml</artifactId>
126             <scope>test</scope>
127         </dependency>
128         <dependency>
129             <groupId>com.nhaarman.mockitokotlin2</groupId>
130             <artifactId>mockito-kotlin</artifactId>
131             <version>2.1.0</version>
132             <scope>test</scope>
133         </dependency>
134         <dependency>
135             <groupId>ch.qos.logback</groupId>
136             <artifactId>logback-classic</artifactId>
137         </dependency>
138     </dependencies>
139     <build>
140         <resources>
141             <resource>
142                 <!--config and resource files -->
143                 <directory>${basedir}/etc</directory>
144                 <targetPath>${basedir}/target/etc</targetPath>
145                 <filtering>true</filtering>
146                 <includes>
147                     <include>**/*</include>
148                 </includes>
149             </resource>
150             <resource>
151                 <!--config and resource files -->
152                 <directory>${basedir}/src/main/resources</directory>
153                 <targetPath>${basedir}/target/src/main/resources</targetPath>
154                 <filtering>true</filtering>
155                 <includes>
156                     <include>**/*</include>
157                 </includes>
158             </resource>
159             <resource>
160                 <directory>src/main/resources</directory>
161                 <includes>
162                     <include>**/*</include>
163                 </includes>
164                 <filtering>true</filtering>
165             </resource>
166         </resources>
167         <plugins>
168             <plugin>
169                 <artifactId>maven-resources-plugin</artifactId>
170                 <version>2.6</version>
171                 <executions>
172                     <execution>
173                         <id>copy-dockerfile</id>
174                         <goals>
175                             <goal>copy-resources</goal>
176                         </goals><!-- here the phase you need -->
177                         <phase>validate</phase>
178                         <configuration>
179                             <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
180                             <resources>
181                                 <resource>
182                                     <directory>src/main/docker</directory>
183                                     <includes>
184                                         <include>*</include>
185                                     </includes>
186                                     <filtering>true</filtering>
187                                 </resource>
188                             </resources>
189                         </configuration>
190                     </execution>
191                 </executions>
192             </plugin>
193             <plugin>
194                 <groupId>org.apache.maven.plugins</groupId>
195                 <artifactId>maven-antrun-plugin</artifactId>
196                 <executions>
197                     <execution>
198                         <id>ant-test</id>
199                         <phase>package</phase>
200                         <configuration>
201                             <tasks>
202                                 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
203                             </tasks>
204                         </configuration>
205                         <goals>
206                             <goal>run</goal>
207                         </goals>
208                     </execution>
209                 </executions>
210             </plugin>
211             <plugin>
212                 <artifactId>maven-compiler-plugin</artifactId>
213                 <version>3.1</version>
214                 <configuration>
215                     <source>1.8</source>
216                     <target>1.8</target>
217                 </configuration>
218             </plugin>
219         </plugins>
220     </build>
221 </project>