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