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