Add declarative acceptance tests
[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
70         <!-- Functions -->
71         <dependency>
72             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
73             <artifactId>python-executor</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
77             <artifactId>ansible-awx-executor</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
81             <artifactId>netconf-executor</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
85             <artifactId>restconf-executor</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
89             <artifactId>cli-executor</artifactId>
90         </dependency>
91
92         <dependency>
93             <groupId>com.h2database</groupId>
94             <artifactId>h2</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.powermock</groupId>
98             <artifactId>powermock-api-mockito2</artifactId>
99             <scope>test</scope>
100         </dependency>
101         <dependency>
102             <groupId>org.springframework.boot</groupId>
103             <artifactId>spring-boot-starter-test</artifactId>
104             <scope>test</scope>
105         </dependency>
106         <dependency>
107             <groupId>org.jetbrains.kotlin</groupId>
108             <artifactId>kotlin-test-junit</artifactId>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>io.projectreactor</groupId>
113             <artifactId>reactor-test</artifactId>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.yaml</groupId>
118             <artifactId>snakeyaml</artifactId>
119             <scope>test</scope>
120         </dependency>
121         <dependency>
122             <groupId>com.nhaarman.mockitokotlin2</groupId>
123             <artifactId>mockito-kotlin</artifactId>
124             <version>2.1.0</version>
125             <scope>test</scope>
126         </dependency>
127         <dependency>
128             <groupId>ch.qos.logback</groupId>
129             <artifactId>logback-classic</artifactId>
130             <scope>test</scope>
131         </dependency>
132     </dependencies>
133     <build>
134         <resources>
135             <resource>
136                 <!--config and resource files -->
137                 <directory>${basedir}/etc</directory>
138                 <targetPath>${basedir}/target/etc</targetPath>
139                 <filtering>true</filtering>
140                 <includes>
141                     <include>**/*</include>
142                 </includes>
143             </resource>
144             <resource>
145                 <!--config and resource files -->
146                 <directory>${basedir}/src/main/resources</directory>
147                 <targetPath>${basedir}/target/src/main/resources</targetPath>
148                 <filtering>true</filtering>
149                 <includes>
150                     <include>**/*</include>
151                 </includes>
152             </resource>
153             <resource>
154                 <directory>src/main/resources</directory>
155                 <includes>
156                     <include>**/*</include>
157                 </includes>
158                 <filtering>true</filtering>
159             </resource>
160         </resources>
161         <plugins>
162             <plugin>
163                 <artifactId>maven-resources-plugin</artifactId>
164                 <version>2.6</version>
165                 <executions>
166                     <execution>
167                         <id>copy-dockerfile</id>
168                         <goals>
169                             <goal>copy-resources</goal>
170                         </goals><!-- here the phase you need -->
171                         <phase>validate</phase>
172                         <configuration>
173                             <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
174                             <resources>
175                                 <resource>
176                                     <directory>src/main/docker</directory>
177                                     <includes>
178                                         <include>*</include>
179                                     </includes>
180                                     <filtering>true</filtering>
181                                 </resource>
182                             </resources>
183                         </configuration>
184                     </execution>
185                 </executions>
186             </plugin>
187             <plugin>
188                 <groupId>org.apache.maven.plugins</groupId>
189                 <artifactId>maven-antrun-plugin</artifactId>
190                 <executions>
191                     <execution>
192                         <id>ant-test</id>
193                         <phase>package</phase>
194                         <configuration>
195                             <tasks>
196                                 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
197                             </tasks>
198                         </configuration>
199                         <goals>
200                             <goal>run</goal>
201                         </goals>
202                     </execution>
203                 </executions>
204             </plugin>
205             <plugin>
206                 <artifactId>maven-compiler-plugin</artifactId>
207                 <version>3.1</version>
208                 <configuration>
209                     <source>1.8</source>
210                     <target>1.8</target>
211                 </configuration>
212             </plugin>
213         </plugins>
214     </build>
215 </project>