blob: dee0b2d94ecd46ccea8bf25750a98148297fe6b4 [file] [log] [blame]
wasala7b0c16b2018-11-14 12:07:35 +01001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
8 <version>1.2.1</version>
9 <relativePath/>
10 </parent>
11
12 <groupId>org.onap.dcaegen2.services</groupId>
13 <artifactId>sdk</artifactId>
14 <version>1.0.0-SNAPSHOT</version>
15
16 <name>dcaegen2-services-sdk</name>
17 <description>Common SDK repo for all DCAE Services (R4)</description>
18 <packaging>pom</packaging>
19
20 <licenses>
21 <license>
22 <name>The Apache Software License, Version 2.0</name>
23 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24 </license>
25 </licenses>
26
27 <properties>
28 <java.version>8</java.version>
29 <junit-jupiter.version>5.3.1</junit-jupiter.version>
30 <junit-vintage.version>5.3.1</junit-vintage.version>
31 <junit-platform.version>1.3.1</junit-platform.version>
wasalaec06ba42018-11-16 15:08:25 +010032 <immutables.version>2.7.3</immutables.version>
33 <spring.version>5.1.2.RELEASE</spring.version>
34 <slf4j.version>1.7.25</slf4j.version>
wasala7b0c16b2018-11-14 12:07:35 +010035 </properties>
36
37 <modules>
38 <module>rest-services</module>
39 </modules>
40
41 <build>
42 <pluginManagement>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-resources-plugin</artifactId>
47 <version>3.1.0</version>
48 <configuration>
49 <encoding>${project.build.sourceEncoding}</encoding>
50 </configuration>
51 </plugin>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-compiler-plugin</artifactId>
55 <version>3.8.0</version>
56 <configuration>
57 <source>${java.version}</source>
58 <target>${java.version}</target>
59 <encoding>${project.build.sourceEncoding}</encoding>
60 <showWarnings>true</showWarnings>
61 <showDeprecation>true</showDeprecation>
62 </configuration>
63 </plugin>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-surefire-plugin</artifactId>
67 <version>2.22.1</version>
68 <dependencies>
69 <dependency>
70 <groupId>org.junit.platform</groupId>
71 <artifactId>junit-platform-surefire-provider</artifactId>
72 <version>${junit-platform.version}</version>
73 </dependency>
74 </dependencies>
75 </plugin>
76 <plugin>
77 <artifactId>maven-javadoc-plugin</artifactId>
78 <version>3.0.1</version>
79 </plugin>
80 <plugin>
wasalaec06ba42018-11-16 15:08:25 +010081 <artifactId>maven-shade-plugin</artifactId>
82 <version>3.2.0</version>
wasala7b0c16b2018-11-14 12:07:35 +010083 </plugin>
84 <plugin>
85 <artifactId>maven-project-info-reports-plugin</artifactId>
86 <version>2.9</version>
87 </plugin>
88 </plugins>
89 </pluginManagement>
90 <plugins>
91 <plugin>
92 <artifactId>maven-javadoc-plugin</artifactId>
93 <configuration>
94 <!-- minimize console output messages -->
95 <quiet>true</quiet>
96 <verbose>false</verbose>
97 <useStandardDocletOptions>false</useStandardDocletOptions>
98 </configuration>
99 <executions>
100 <execution>
101 <id>aggregate</id>
102 <phase>site</phase>
103 <goals>
104 <goal>aggregate</goal>
105 </goals>
106 </execution>
107 <execution>
108 <id>attach-javadoc</id>
109 <goals>
110 <goal>jar</goal>
111 </goals>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
wasalaec06ba42018-11-16 15:08:25 +0100116 <artifactId>maven-shade-plugin</artifactId>
wasala7b0c16b2018-11-14 12:07:35 +0100117 <configuration>
wasalaec06ba42018-11-16 15:08:25 +0100118 <filters>
119 <filter>
120 <artifact>*:*</artifact>
121 <excludes>
122 <exclude>META-INF/*.SF</exclude>
123 <exclude>META-INF/*.DSA</exclude>
124 <exclude>META-INF/*.RSA</exclude>
125 </excludes>
126 </filter>
127 </filters>
wasala7b0c16b2018-11-14 12:07:35 +0100128 </configuration>
wasalaec06ba42018-11-16 15:08:25 +0100129 <executions>
130 <execution>
131 <phase>package</phase>
132 <goals>
133 <goal>shade</goal>
134 </goals>
135 </execution>
136 </executions>
wasala7b0c16b2018-11-14 12:07:35 +0100137 </plugin>
138 </plugins>
139 </build>
140 <reporting>
141 <plugins>
142 <plugin>
143 <artifactId>maven-project-info-reports-plugin</artifactId>
144 <reportSets>
145 <reportSet>
146 <reports>
147 <report>dependencies</report>
148 <report>license</report>
149 </reports>
150 </reportSet>
151 </reportSets>
152 </plugin>
153 </plugins>
154 </reporting>
155
156 <dependencyManagement>
157 <dependencies>
158 <dependency>
wasalaec06ba42018-11-16 15:08:25 +0100159 <groupId>org.springframework</groupId>
160 <artifactId>spring-webflux</artifactId>
161 <version>${spring.version}</version>
162 </dependency>
163 <dependency>
164 <groupId>org.springframework</groupId>
165 <artifactId>spring-context</artifactId>
166 <version>${spring.version}</version>
167 </dependency>
168 <dependency>
169 <groupId>org.immutables</groupId>
170 <artifactId>value</artifactId>
171 <version>${immutables.version}</version>
172 <scope>provided</scope>
173 </dependency>
174 <dependency>
175 <groupId>org.immutables</groupId>
176 <artifactId>gson</artifactId>
177 <version>${immutables.version}</version>
178 </dependency>
179 <dependency>
180 <groupId>ch.qos.logback</groupId>
181 <artifactId>logback-classic</artifactId>
182 <scope>provided</scope>
183 <version>1.2.3</version>
184 </dependency>
185 <dependency>
186 <groupId>org.slf4j</groupId>
187 <artifactId>jul-to-slf4j</artifactId>
188 <version>${slf4j.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.slf4j</groupId>
192 <artifactId>log4j-over-slf4j</artifactId>
193 <version>${slf4j.version}</version>
194 </dependency>
195 <dependency>
wasala7b0c16b2018-11-14 12:07:35 +0100196 <groupId>org.mockito</groupId>
197 <artifactId>mockito-core</artifactId>
198 <version>2.23.0</version>
199 <scope>test</scope>
200 </dependency>
201 <dependency>
202 <groupId>org.junit.platform</groupId>
203 <artifactId>junit-platform-launcher</artifactId>
204 <version>${junit-platform.version}</version>
205 <scope>test</scope>
206 </dependency>
207 <dependency>
208 <groupId>org.junit.jupiter</groupId>
209 <artifactId>junit-jupiter-api</artifactId>
210 <version>${junit-jupiter.version}</version>
211 <scope>test</scope>
212 </dependency>
213 <dependency>
214 <groupId>org.junit.jupiter</groupId>
215 <artifactId>junit-jupiter-engine</artifactId>
216 <version>${junit-jupiter.version}</version>
217 <scope>test</scope>
218 </dependency>
219 <dependency>
220 <groupId>org.junit.vintage</groupId>
221 <artifactId>junit-vintage-engine</artifactId>
222 <version>${junit-vintage.version}</version>
223 <scope>test</scope>
224 </dependency>
wasalaec06ba42018-11-16 15:08:25 +0100225 <dependency>
226 <groupId>io.projectreactor</groupId>
227 <artifactId>reactor-bom</artifactId>
228 <version>Californium-SR2</version>
229 <type>pom</type>
230 <scope>import</scope>
231 </dependency>
wasala7b0c16b2018-11-14 12:07:35 +0100232 </dependencies>
233 </dependencyManagement>
234</project>