Controller Blueprints MS
[ccsdk/cds.git] / ms / controllerblueprints / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright © 2017-2018 AT&T Intellectual Property.
4   ~
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17
18 <project
19         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
20         xmlns="http://maven.apache.org/POM/4.0.0"
21         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
22     <modelVersion>4.0.0</modelVersion>
23     <groupId>org.onap.ccsdk.apps</groupId>
24     <artifactId>controllerblueprints-parent</artifactId>
25     <name>Controller Blueprints Parent</name>
26     <version>0.3.0-SNAPSHOT</version>
27     <packaging>pom</packaging>
28     <properties>
29         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
30         <maven.compiler.target>1.8</maven.compiler.target>
31         <maven.compiler.source>1.8</maven.compiler.source>
32         <kotlin.version>1.2.51</kotlin.version>
33         <ajsc.version>200.4.2-RELEASE</ajsc.version>
34         <common.version>2.4.2-RELEASE</common.version>
35         <cadi.aaf.version>1.4.2</cadi.aaf.version>
36         <spring.boot.version>1.5.7.RELEASE</spring.boot.version>
37         <sdnc.config.version>20.0.1-SNAPSHOT</sdnc.config.version>
38     </properties>
39     <dependencyManagement>
40         <dependencies>
41             <dependency>
42                 <groupId>org.springframework.boot</groupId>
43                 <artifactId>spring-boot-dependencies</artifactId>
44                 <version>${spring.boot.version}</version>
45                 <type>pom</type>
46                 <scope>import</scope>
47             </dependency>
48
49             <dependency>
50                 <groupId>org.apache.commons</groupId>
51                 <artifactId>commons-lang3</artifactId>
52                 <version>3.2.1</version>
53             </dependency>
54             <dependency>
55                 <groupId>commons-collections</groupId>
56                 <artifactId>commons-collections</artifactId>
57                 <version>3.2.2</version>
58             </dependency>
59             <dependency>
60                 <groupId>commons-io</groupId>
61                 <artifactId>commons-io</artifactId>
62                 <version>2.6</version>
63             </dependency>
64             <dependency>
65                 <groupId>org.apache.velocity</groupId>
66                 <artifactId>velocity</artifactId>
67                 <version>1.7</version>
68             </dependency>
69             <dependency>
70                 <groupId>org.json</groupId>
71                 <artifactId>json</artifactId>
72                 <version>20180130</version>
73             </dependency>
74             <dependency>
75                 <groupId>com.google.guava</groupId>
76                 <artifactId>guava</artifactId>
77                 <version>25.1-jre</version>
78             </dependency>
79
80             <dependency>
81                 <groupId>io.swagger</groupId>
82                 <artifactId>swagger-jersey2-jaxrs</artifactId>
83                 <version>1.5.20</version>
84                 <exclusions>
85                     <exclusion>
86                         <groupId>org.glassfish.jersey.containers</groupId>
87                         <artifactId>*</artifactId>
88                     </exclusion>
89                     <exclusion>
90                         <groupId>org.glassfish.jersey.core</groupId>
91                         <artifactId>*</artifactId>
92                     </exclusion>
93                 </exclusions>
94             </dependency>
95
96             <!-- Kotlin Dependencies -->
97             <dependency>
98                 <groupId>org.jetbrains.kotlin</groupId>
99                 <artifactId>kotlin-stdlib</artifactId>
100                 <version>${kotlin.version}</version>
101             </dependency>
102             <dependency>
103                 <groupId>org.jetbrains.kotlin</groupId>
104                 <artifactId>kotlin-reflect</artifactId>
105                 <version>${kotlin.version}</version>
106             </dependency>
107             <dependency>
108                 <groupId>com.fasterxml.jackson.module</groupId>
109                 <artifactId>jackson-module-kotlin</artifactId>
110                 <version>2.9.6</version>
111             </dependency>
112             <dependency>
113                 <groupId>org.jetbrains.kotlin</groupId>
114                 <artifactId>kotlin-test</artifactId>
115                 <version>${kotlin.version}</version>
116                 <scope>test</scope>
117             </dependency>
118             <dependency>
119                 <groupId>org.onap.ccsdk.apps</groupId>
120                 <artifactId>controllerblueprints-core</artifactId>
121                 <version>${project.version}</version>
122             </dependency>
123             <dependency>
124                 <groupId>org.onap.ccsdk.apps</groupId>
125                 <artifactId>controllerblueprints-service</artifactId>
126                 <version>${project.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>org.onap.ccsdk.apps</groupId>
130                 <artifactId>controllerblueprints-resource-dict</artifactId>
131                 <version>${project.version}</version>
132             </dependency>
133         </dependencies>
134     </dependencyManagement>
135
136     <dependencies>
137         <dependency>
138             <groupId>org.jetbrains.kotlin</groupId>
139             <artifactId>kotlin-stdlib</artifactId>
140         </dependency>
141     </dependencies>
142
143
144     <build>
145         <plugins>
146             <plugin>
147                 <groupId>org.apache.maven.plugins</groupId>
148                 <artifactId>maven-source-plugin</artifactId>
149                 <version>3.0.1</version>
150                 <executions>
151                     <execution>
152                         <id>attach-sources</id>
153                         <goals>
154                             <goal>jar</goal>
155                         </goals>
156                     </execution>
157                 </executions>
158             </plugin>
159
160             <plugin>
161                 <artifactId>kotlin-maven-plugin</artifactId>
162                 <groupId>org.jetbrains.kotlin</groupId>
163                 <version>${kotlin.version}</version>
164                 <executions>
165                     <execution>
166                         <id>compile</id>
167                         <goals>
168                             <goal>compile</goal>
169                         </goals>
170                         <configuration>
171                             <sourceDirs>
172                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
173                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
174                             </sourceDirs>
175                         </configuration>
176                     </execution>
177                     <execution>
178                         <id>test-compile</id>
179                         <goals>
180                             <goal>test-compile</goal>
181                         </goals>
182                         <configuration>
183                             <sourceDirs>
184                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
185                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
186                             </sourceDirs>
187                         </configuration>
188                     </execution>
189                 </executions>
190             </plugin>
191             <plugin>
192                 <groupId>org.apache.maven.plugins</groupId>
193                 <artifactId>maven-compiler-plugin</artifactId>
194                 <version>3.5.1</version>
195                 <configuration>
196                     <source>${maven.compiler.source}</source>
197                     <target>${maven.compiler.target}</target>
198                 </configuration>
199                 <executions>
200                     <!-- Replacing default-compile as it is treated specially by maven -->
201                     <execution>
202                         <id>default-compile</id>
203                         <phase>none</phase>
204                     </execution>
205                     <!-- Replacing default-testCompile as it is treated specially by maven -->
206                     <execution>
207                         <id>default-testCompile</id>
208                         <phase>none</phase>
209                     </execution>
210                     <execution>
211                         <id>java-compile</id>
212                         <phase>compile</phase>
213                         <goals>
214                             <goal>compile</goal>
215                         </goals>
216                     </execution>
217                     <execution>
218                         <id>java-test-compile</id>
219                         <phase>test-compile</phase>
220                         <goals>
221                             <goal>testCompile</goal>
222                         </goals>
223                     </execution>
224                 </executions>
225             </plugin>
226         </plugins>
227     </build>
228 </project>