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