blob: f42cdfadec924066e52d82329fb35b7ff3d5a41a [file] [log] [blame]
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright © 2017-2018 AT&T Intellectual Property.
4 ~
Brinda Santhafbc1522018-08-23 23:34:05 -04005 ~ Modifications Copyright © 2018 IBM.
Steve Alphonse Siania5f9b6f2019-01-21 11:55:48 -05006 ~ Modifications Copyright © 2019 Bell Canada.
Brinda Santhafbc1522018-08-23 23:34:05 -04007 ~
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +00008 ~ 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 -->
Alexis de Talhouëte4a1f832019-03-04 21:37:27 -050020<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">
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000022 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
25 <artifactId>parent</artifactId>
Timoney, Dan (dt5972)d7d47b42019-01-04 10:43:33 -050026 <version>0.4.1-SNAPSHOT</version>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000027 <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>
Steve Alphonse Siania5f9b6f2019-01-21 11:55:48 -050036 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
Muthuramalingam, Brinda Santh2ecd4e72019-02-07 14:51:50 -050037 <artifactId>blueprint-core</artifactId>
Steve Alphonse Siania5f9b6f2019-01-21 11:55:48 -050038 </dependency>
39 <dependency>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000040 <groupId>org.springframework.boot</groupId>
41 <artifactId>spring-boot-devtools</artifactId>
42 <scope>runtime</scope>
43 </dependency>
Alexis de Talhouëte4a1f832019-03-04 21:37:27 -050044 <dependency>
45 <groupId>org.springframework.boot</groupId>
46 <artifactId>spring-boot-starter-security</artifactId>
47 </dependency>
48
Muthuramalingam, Brinda Santh(bs2796)2e942322018-11-15 08:36:28 -050049 <!-- North Bound -->
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000050 <dependency>
51 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
52 <artifactId>resource-api</artifactId>
53 </dependency>
54 <dependency>
Alexis de Talhouët7aa5df82019-02-11 17:23:48 -050055 <groupId>org.onap.ccsdk.apps.blueprintsprocessor.functions</groupId>
56 <artifactId>python-executor</artifactId>
57 </dependency>
58 <dependency>
Alexis de Talhouëtc55160e2019-02-12 23:05:01 -050059 <groupId>org.onap.ccsdk.apps.blueprintsprocessor.functions</groupId>
60 <artifactId>netconf-executor</artifactId>
61 </dependency>
62 <dependency>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000063 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
64 <artifactId>selfservice-api</artifactId>
65 </dependency>
Brinda Santhafbc1522018-08-23 23:34:05 -040066 <dependency>
Muthuramalingam, Brinda Santh(bs2796)99b20422018-12-06 16:46:19 -050067 <groupId>com.h2database</groupId>
68 <artifactId>h2</artifactId>
69 </dependency>
70 <dependency>
Brinda Santhafbc1522018-08-23 23:34:05 -040071 <groupId>org.powermock</groupId>
72 <artifactId>powermock-api-mockito2</artifactId>
73 <scope>test</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.springframework.boot</groupId>
77 <artifactId>spring-boot-starter-test</artifactId>
78 <scope>test</scope>
79 </dependency>
80 <dependency>
81 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)c6ffd3c2018-11-10 11:54:05 -050082 <artifactId>kotlin-test-junit</artifactId>
Brinda Santhafbc1522018-08-23 23:34:05 -040083 <scope>test</scope>
84 </dependency>
85 <dependency>
86 <groupId>io.projectreactor</groupId>
87 <artifactId>reactor-test</artifactId>
88 <scope>test</scope>
89 </dependency>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000090 </dependencies>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +000091 <build>
Steve Alphonse Siania5f9b6f2019-01-21 11:55:48 -050092 <resources>
93 <resource>
94 <!--config and resource files -->
95 <directory>${basedir}/etc</directory>
96 <targetPath>${basedir}/target/etc</targetPath>
97 <filtering>true</filtering>
98 <includes>
99 <include>**/*</include>
100 </includes>
101 </resource>
102 <resource>
103 <!--config and resource files -->
104 <directory>${basedir}/src/main/resources</directory>
105 <targetPath>${basedir}/target/src/main/resources</targetPath>
106 <filtering>true</filtering>
107 <includes>
108 <include>**/*</include>
109 </includes>
110 </resource>
111 <resource>
112 <directory>src/main/resources</directory>
113 <includes>
114 <include>**/*</include>
115 </includes>
116 <filtering>true</filtering>
117 </resource>
118 </resources>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +0000119 <plugins>
120 <plugin>
121 <groupId>org.springframework.boot</groupId>
122 <artifactId>spring-boot-maven-plugin</artifactId>
123 </plugin>
Steve Alphonse Siania5f9b6f2019-01-21 11:55:48 -0500124 <plugin>
125 <artifactId>maven-resources-plugin</artifactId>
126 <version>2.6</version>
127 <executions>
128 <execution>
129 <id>copy-dockerfile</id>
130 <goals>
131 <goal>copy-resources</goal>
132 </goals><!-- here the phase you need -->
133 <phase>validate</phase>
134 <configuration>
135 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
136 <resources>
137 <resource>
138 <directory>src/main/docker</directory>
139 <includes>
140 <include>*</include>
141 </includes>
142 <filtering>true</filtering>
143 </resource>
144 </resources>
145 </configuration>
146 </execution>
147 </executions>
148 </plugin>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-antrun-plugin</artifactId>
152 <executions>
153 <execution>
154 <id>ant-test</id>
155 <phase>package</phase>
156 <configuration>
157 <tasks>
158 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
159 </tasks>
160 </configuration>
161 <goals>
162 <goal>run</goal>
163 </goals>
164 </execution>
165 </executions>
166 </plugin>
167 <plugin>
168 <artifactId>maven-compiler-plugin</artifactId>
169 <version>3.1</version>
170 <configuration>
171 <!-- <skip>${skip.compile}</skip>-->
172 <source>1.8</source>
173 <target>1.8</target>
174 </configuration>
175 </plugin>
Muthuramalingam, Brinda Santh(bs2796)4b3c8a02018-08-15 21:31:10 +0000176 </plugins>
177 </build>
178</project>