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