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