Migrate ccsdk/apps to ccsdk/cds
[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.4.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         <dependency>
35             <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
36             <artifactId>blueprint-core</artifactId>
37         </dependency>
38         <dependency>
39             <groupId>org.springframework.boot</groupId>
40             <artifactId>spring-boot-devtools</artifactId>
41             <scope>runtime</scope>
42         </dependency>
43         <dependency>
44             <groupId>org.springframework.boot</groupId>
45             <artifactId>spring-boot-starter-security</artifactId>
46         </dependency>
47
48         <!-- North Bound -->
49         <dependency>
50             <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
51             <artifactId>resource-api</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
55             <artifactId>python-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</groupId>
67             <artifactId>selfservice-api</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>com.h2database</groupId>
71             <artifactId>h2</artifactId>
72         </dependency>
73         <dependency>
74             <groupId>org.powermock</groupId>
75             <artifactId>powermock-api-mockito2</artifactId>
76             <scope>test</scope>
77         </dependency>
78         <dependency>
79             <groupId>org.springframework.boot</groupId>
80             <artifactId>spring-boot-starter-test</artifactId>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.jetbrains.kotlin</groupId>
85             <artifactId>kotlin-test-junit</artifactId>
86             <scope>test</scope>
87         </dependency>
88         <dependency>
89             <groupId>io.projectreactor</groupId>
90             <artifactId>reactor-test</artifactId>
91             <scope>test</scope>
92         </dependency>
93     </dependencies>
94     <build>
95         <resources>
96             <resource>
97                 <!--config and resource files -->
98                 <directory>${basedir}/etc</directory>
99                 <targetPath>${basedir}/target/etc</targetPath>
100                 <filtering>true</filtering>
101                 <includes>
102                     <include>**/*</include>
103                 </includes>
104             </resource>
105             <resource>
106                 <!--config and resource files -->
107                 <directory>${basedir}/src/main/resources</directory>
108                 <targetPath>${basedir}/target/src/main/resources</targetPath>
109                 <filtering>true</filtering>
110                 <includes>
111                     <include>**/*</include>
112                 </includes>
113             </resource>
114             <resource>
115                 <directory>src/main/resources</directory>
116                 <includes>
117                     <include>**/*</include>
118                 </includes>
119                 <filtering>true</filtering>
120             </resource>
121         </resources>
122         <plugins>
123             <plugin>
124                 <groupId>org.springframework.boot</groupId>
125                 <artifactId>spring-boot-maven-plugin</artifactId>
126             </plugin>
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>