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