biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | |
| 6 | <!-- This is the Maven project object model (POM) file for the open-source |
| 7 | SDK web app. This is NOT the Portal - but it is developed and supported by |
| 8 | the Portal team. --> |
| 9 | <groupId>org.onap.vid</groupId> |
| 10 | <artifactId>epsdk-app-onap</artifactId> |
| 11 | <version>4.0.0-SNAPSHOT</version> |
| 12 | <packaging>war</packaging> |
| 13 | <name>ECOMP SDK Webapp for OpenSource</name> |
| 14 | <description>ECOMP SDK Web Application for public release</description> |
| 15 | |
Ittay Stern | 9f9e9b2 | 2019-02-28 12:09:45 +0200 | [diff] [blame] | 16 | <parent> |
| 17 | <groupId>org.onap.oparent</groupId> |
| 18 | <artifactId>oparent</artifactId> |
| 19 | <version>1.2.3</version> |
| 20 | <relativePath/> |
| 21 | </parent> |
| 22 | |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 23 | <properties> |
| 24 | <encoding>UTF-8</encoding> |
| 25 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 26 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 27 | <epsdk.version>2.4.0</epsdk.version> |
Ittay Stern | 9f9e9b2 | 2019-02-28 12:09:45 +0200 | [diff] [blame] | 28 | <jackson.version>2.9.8</jackson.version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 29 | <springframework.version>4.2.9.RELEASE</springframework.version> |
| 30 | <hibernate.version>4.3.11.Final</hibernate.version> |
| 31 | <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. --> |
| 32 | <skipassembly>true</skipassembly> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 33 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 34 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 35 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 36 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 37 | <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath> |
| 38 | |
| 39 | <!-- SONAR --> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 40 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
Ittay Stern | 67a23ab | 2019-02-25 19:21:32 +0200 | [diff] [blame] | 41 | <sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 42 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
Ittay Stern | 67a23ab | 2019-02-25 19:21:32 +0200 | [diff] [blame] | 43 | <!-- ignore all .js files on sonar coverage report --> |
Ittay Stern | eda8140 | 2019-02-26 06:32:43 +0200 | [diff] [blame] | 44 | <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 45 | </properties> |
| 46 | |
| 47 | <repositories> |
| 48 | <repository> |
| 49 | <id>ecomp-releases</id> |
| 50 | <name>VID Release Repository</name> |
| 51 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 52 | </repository> |
| 53 | <repository> |
| 54 | <id>ecomp-snapshots</id> |
| 55 | <name>VID Snapshot Repository</name> |
| 56 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 57 | </repository> |
| 58 | <repository> |
| 59 | <id>ecomp-staging</id> |
| 60 | <name>VID Staging Repository</name> |
| 61 | <url>${nexusproxy}${stagingNexusPath}</url> |
| 62 | </repository> |
| 63 | <repository> |
| 64 | <!-- Snapshots repository has ECOMP snapshot artifacts --> |
| 65 | <id>oss-snapshots</id> |
| 66 | <name>oss Central - Snapshots</name> |
| 67 | <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url> |
| 68 | </repository> |
| 69 | </repositories> |
| 70 | <distributionManagement> |
| 71 | <repository> |
| 72 | <id>ecomp-releases</id> |
| 73 | <name>VID Release Repository</name> |
| 74 | <url>${nexusproxy}/${releaseNexusPath}</url> |
| 75 | </repository> |
| 76 | <snapshotRepository> |
| 77 | <id>ecomp-snapshots</id> |
| 78 | <name>VID Snapshot Repository</name> |
| 79 | <url>${nexusproxy}/${snapshotNexusPath}</url> |
| 80 | </snapshotRepository> |
| 81 | <!-- added for javadoc --> |
| 82 | <site> |
| 83 | <id>ecomp-site</id> |
| 84 | <url>dav:${nexusproxy}${sitePath}</url> |
| 85 | </site> |
| 86 | </distributionManagement> |
| 87 | |
| 88 | <profiles> |
| 89 | <!-- disable doclint, a new feature in Java 8, when generating javadoc --> |
| 90 | <profile> |
| 91 | <id>doclint-java8-disable</id> |
| 92 | <activation> |
| 93 | <jdk>[1.8,)</jdk> |
| 94 | </activation> |
| 95 | <build> |
| 96 | <plugins> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-javadoc-plugin</artifactId> |
| 100 | <version>2.10.4</version> |
| 101 | <configuration> |
| 102 | <additionalparam>-Xdoclint:none</additionalparam> |
| 103 | </configuration> |
| 104 | </plugin> |
| 105 | </plugins> |
| 106 | </build> |
| 107 | </profile> |
| 108 | </profiles> |
| 109 | |
| 110 | <build> |
| 111 | <finalName>vid</finalName> |
| 112 | <plugins> |
| 113 | <plugin> |
| 114 | <groupId>org.sonatype.plugins</groupId> |
| 115 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 116 | <version>1.6.7</version> |
| 117 | <extensions>true</extensions> |
| 118 | <configuration> |
| 119 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 120 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 121 | <serverId>ecomp-staging</serverId> |
| 122 | </configuration> |
| 123 | </plugin> |
| 124 | |
| 125 | <!-- Compile to Java 1.8 class output format --> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.maven.plugins</groupId> |
| 128 | <artifactId>maven-compiler-plugin</artifactId> |
| 129 | <version>3.1</version> |
| 130 | <configuration> |
| 131 | <source>1.8</source> |
| 132 | <target>1.8</target> |
| 133 | </configuration> |
| 134 | </plugin> |
| 135 | |
| 136 | <plugin> |
| 137 | <groupId>org.apache.maven.plugins</groupId> |
| 138 | <artifactId>maven-surefire-plugin</artifactId> |
Ittay Stern | 6ad41e3 | 2018-12-31 17:21:27 +0200 | [diff] [blame] | 139 | <version>2.22.1</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 140 | <configuration> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 141 | <includes> |
| 142 | <include>**/Test*.java</include> |
| 143 | <include>**/*Test.java</include> |
| 144 | <include>**/*TestCase.java</include> |
| 145 | </includes> |
| 146 | <additionalClasspathElements> |
| 147 | <additionalClasspathElement>${basedir}/war</additionalClasspathElement> |
| 148 | </additionalClasspathElements> |
| 149 | <systemPropertyVariables> |
| 150 | <container.classpath>classpath:</container.classpath> |
| 151 | </systemPropertyVariables> |
| 152 | <useSystemClassLoader>false</useSystemClassLoader> |
| 153 | </configuration> |
| 154 | </plugin> |
| 155 | |
| 156 | <!-- add version number to manifest --> |
| 157 | <plugin> |
| 158 | <groupId>org.apache.maven.plugins</groupId> |
| 159 | <artifactId>maven-war-plugin</artifactId> |
| 160 | <version>2.0.2</version> |
| 161 | <configuration> |
| 162 | <archive> |
| 163 | <manifest> |
| 164 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| 165 | </manifest> |
| 166 | <manifestEntries> |
| 167 | <Build-Number>${project.version}</Build-Number> |
| 168 | <Build-Time>${maven.build.timestamp}</Build-Time> |
| 169 | </manifestEntries> |
| 170 | </archive> |
| 171 | <overlays> |
| 172 | <overlay> |
| 173 | <groupId>org.onap.vid</groupId> |
| 174 | <artifactId>vid-app-common</artifactId> |
| 175 | </overlay> |
| 176 | <overlay> |
| 177 | <groupId>org.onap.portal.sdk</groupId> |
| 178 | <artifactId>epsdk-app-overlay</artifactId> |
| 179 | </overlay> |
| 180 | </overlays> |
| 181 | </configuration> |
| 182 | </plugin> |
| 183 | |
| 184 | <plugin> |
| 185 | <groupId>org.apache.maven.plugins</groupId> |
| 186 | <artifactId>maven-assembly-plugin</artifactId> |
| 187 | <version>3.0.0</version> |
| 188 | <configuration> |
| 189 | <skipAssembly>${skipassembly}</skipAssembly> |
| 190 | <descriptors> |
| 191 | <descriptor>${basedir}/distribution.xml</descriptor> |
| 192 | </descriptors> |
| 193 | </configuration> |
| 194 | <executions> |
| 195 | <execution> |
| 196 | <id>make-assembly</id> |
| 197 | <phase>package</phase> |
| 198 | <goals> |
| 199 | <goal>single</goal> |
| 200 | </goals> |
| 201 | </execution> |
| 202 | </executions> |
| 203 | </plugin> |
| 204 | <plugin> |
| 205 | <groupId>org.apache.maven.plugins</groupId> |
| 206 | <artifactId>maven-site-plugin</artifactId> |
| 207 | <version>3.6</version> |
| 208 | <dependencies> |
| 209 | <dependency> |
| 210 | <groupId>org.apache.maven.wagon</groupId> |
| 211 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 212 | <version>2.10</version> |
| 213 | </dependency> |
| 214 | </dependencies> |
| 215 | </plugin> |
| 216 | <plugin> |
Ittay Stern | 350c530 | 2019-02-13 17:50:59 +0200 | [diff] [blame] | 217 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 218 | <artifactId>sonar-maven-plugin</artifactId> |
Ittay Stern | 67a23ab | 2019-02-25 19:21:32 +0200 | [diff] [blame] | 219 | <version>3.6.0.1398</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 220 | </plugin> |
| 221 | <plugin> |
| 222 | <groupId>org.jacoco</groupId> |
| 223 | <artifactId>jacoco-maven-plugin</artifactId> |
Ittay Stern | 67a23ab | 2019-02-25 19:21:32 +0200 | [diff] [blame] | 224 | <version>0.8.3</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 225 | <executions> |
| 226 | <execution> |
| 227 | <id>default-prepare-agent</id> |
| 228 | <goals> |
| 229 | <goal>prepare-agent</goal> |
| 230 | </goals> |
| 231 | </execution> |
| 232 | <execution> |
| 233 | <id>default-report</id> |
| 234 | <goals> |
| 235 | <goal>report</goal> |
| 236 | </goals> |
| 237 | </execution> |
| 238 | </executions> |
| 239 | </plugin> |
| 240 | |
| 241 | </plugins> |
| 242 | </build> |
| 243 | |
| 244 | <reporting> |
| 245 | <plugins> |
| 246 | <plugin> |
| 247 | <groupId>org.apache.maven.plugins</groupId> |
| 248 | <artifactId>maven-javadoc-plugin</artifactId> |
| 249 | <version>2.10.4</version> |
| 250 | <configuration> |
| 251 | <failOnError>false</failOnError> |
| 252 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 253 | <docletArtifact> |
| 254 | <groupId>org.umlgraph</groupId> |
| 255 | <artifactId>umlgraph</artifactId> |
| 256 | <version>5.6</version> |
| 257 | </docletArtifact> |
| 258 | <additionalparam>-views</additionalparam> |
| 259 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 260 | </configuration> |
| 261 | </plugin> |
| 262 | </plugins> |
| 263 | </reporting> |
| 264 | <dependencies> |
| 265 | <!-- SDK overlay war --> |
| 266 | <dependency> |
| 267 | <groupId>org.onap.portal.sdk</groupId> |
| 268 | <artifactId>epsdk-app-overlay</artifactId> |
| 269 | <version>${epsdk.version}</version> |
| 270 | <type>war</type> |
| 271 | </dependency> |
| 272 | <dependency> |
| 273 | <groupId>org.onap.portal.sdk</groupId> |
| 274 | <artifactId>epsdk-app-common</artifactId> |
| 275 | <version>${epsdk.version}</version> |
| 276 | <type>jar</type> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 277 | </dependency> |
| 278 | <dependency> |
| 279 | <groupId>org.onap.vid</groupId> |
| 280 | <artifactId>vid-app-common</artifactId> |
| 281 | <version>${project.version}</version> |
| 282 | <type>war</type> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 283 | </dependency> |
| 284 | <dependency> |
| 285 | <groupId>org.onap.vid</groupId> |
| 286 | <artifactId>vid-app-common</artifactId> |
| 287 | <version>${project.version}</version> |
| 288 | <type>jar</type> |
| 289 | <classifier>classes</classifier> |
| 290 | </dependency> |
| 291 | <!-- SDK components --> |
| 292 | <dependency> |
| 293 | <groupId>org.onap.portal.sdk</groupId> |
| 294 | <artifactId>epsdk-core</artifactId> |
| 295 | <version>${epsdk.version}</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 296 | </dependency> |
| 297 | <dependency> |
| 298 | <groupId>org.onap.portal.sdk</groupId> |
| 299 | <artifactId>epsdk-analytics</artifactId> |
| 300 | <version>${epsdk.version}</version> |
| 301 | <exclusions> |
| 302 | <exclusion> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 303 | <groupId>com.lowagie</groupId> |
| 304 | <artifactId>itext</artifactId> |
| 305 | </exclusion> |
| 306 | </exclusions> |
| 307 | </dependency> |
| 308 | <dependency> |
| 309 | <groupId>org.onap.portal.sdk</groupId> |
| 310 | <artifactId>epsdk-workflow</artifactId> |
| 311 | <version>${epsdk.version}</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 312 | </dependency> |
| 313 | <dependency> |
| 314 | <groupId>com.att.eelf</groupId> |
| 315 | <artifactId>eelf-core</artifactId> |
| 316 | <version>1.0.0</version> |
| 317 | </dependency> |
| 318 | <!-- Mapper --> |
| 319 | <dependency> |
| 320 | <groupId>com.fasterxml.jackson.core</groupId> |
| 321 | <artifactId>jackson-annotations</artifactId> |
Ittay Stern | 350c530 | 2019-02-13 17:50:59 +0200 | [diff] [blame] | 322 | <version>${jackson.version}</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 323 | </dependency> |
| 324 | <dependency> |
| 325 | <groupId>com.fasterxml.jackson.core</groupId> |
| 326 | <artifactId>jackson-core</artifactId> |
Ittay Stern | 350c530 | 2019-02-13 17:50:59 +0200 | [diff] [blame] | 327 | <version>${jackson.version}</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 328 | </dependency> |
| 329 | <dependency> |
| 330 | <groupId>com.fasterxml.jackson.core</groupId> |
| 331 | <artifactId>jackson-databind</artifactId> |
Ittay Stern | 350c530 | 2019-02-13 17:50:59 +0200 | [diff] [blame] | 332 | <version>${jackson.version}</version> |
| 333 | </dependency> |
| 334 | <!-- jackson-dataformat-* are to override elasticsearch-2.2.0 deps hell --> |
| 335 | <!-- (elasticsearch is an epsdk-app-common-2.4.0 dep) --> |
| 336 | <dependency> |
| 337 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 338 | <artifactId>jackson-dataformat-smile</artifactId> |
| 339 | <version>${jackson.version}</version> |
| 340 | </dependency> |
| 341 | <dependency> |
| 342 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 343 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 344 | <version>${jackson.version}</version> |
| 345 | </dependency> |
| 346 | <dependency> |
| 347 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 348 | <artifactId>jackson-dataformat-cbor</artifactId> |
| 349 | <version>${jackson.version}</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 350 | </dependency> |
Ittay Stern | 2687d31 | 2019-02-21 17:26:33 +0200 | [diff] [blame] | 351 | <!-- c3p0 is to override epsdk-app-common's c3p0 0.9.5.2 vulnerability --> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 352 | <dependency> |
| 353 | <groupId>com.mchange</groupId> |
| 354 | <artifactId>c3p0</artifactId> |
Ittay Stern | 2687d31 | 2019-02-21 17:26:33 +0200 | [diff] [blame] | 355 | <version>0.9.5.3</version> |
biniek | 6f2b208 | 2018-12-17 11:18:05 +0100 | [diff] [blame] | 356 | </dependency> |
| 357 | <dependency> |
| 358 | <groupId>io.searchbox</groupId> |
| 359 | <artifactId>jest</artifactId> |
| 360 | <version>2.0.0</version> |
| 361 | <exclusions> |
| 362 | <exclusion> |
| 363 | <groupId>commons-logging</groupId> |
| 364 | <artifactId>commons-logging</artifactId> |
| 365 | </exclusion> |
| 366 | </exclusions> |
| 367 | </dependency> |
| 368 | <dependency> |
| 369 | <groupId>javax.servlet</groupId> |
| 370 | <artifactId>javax.servlet-api</artifactId> |
| 371 | <version>3.1.0</version> |
| 372 | </dependency> |
| 373 | <dependency> |
| 374 | <groupId>junit</groupId> |
| 375 | <artifactId>junit</artifactId> |
| 376 | <version>4.12</version> |
| 377 | </dependency> |
| 378 | <dependency> |
| 379 | <groupId>org.json</groupId> |
| 380 | <artifactId>json</artifactId> |
| 381 | <version>20160212</version> |
| 382 | </dependency> |
| 383 | <dependency> |
| 384 | <groupId>org.quartz-scheduler</groupId> |
| 385 | <artifactId>quartz</artifactId> |
| 386 | <version>2.2.1</version> |
| 387 | <exclusions> |
| 388 | <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 --> |
| 389 | <exclusion> |
| 390 | <groupId>c3p0</groupId> |
| 391 | <artifactId>c3p0</artifactId> |
| 392 | </exclusion> |
| 393 | </exclusions> |
| 394 | </dependency> |
| 395 | <!-- bridge to implement commons-logging using slf4j --> |
| 396 | <dependency> |
| 397 | <groupId>org.slf4j</groupId> |
| 398 | <artifactId>jcl-over-slf4j</artifactId> |
| 399 | <version>1.7.12</version> |
| 400 | </dependency> |
| 401 | <dependency> |
| 402 | <groupId>org.springframework</groupId> |
| 403 | <artifactId>spring-context-support</artifactId> |
| 404 | <version>${springframework.version}</version> |
| 405 | </dependency> |
| 406 | <dependency> |
| 407 | <groupId>org.springframework</groupId> |
| 408 | <artifactId>spring-core</artifactId> |
| 409 | <version>${springframework.version}</version> |
| 410 | <exclusions> |
| 411 | <exclusion> |
| 412 | <groupId>commons-logging</groupId> |
| 413 | <artifactId>commons-logging</artifactId> |
| 414 | </exclusion> |
| 415 | </exclusions> |
| 416 | </dependency> |
| 417 | <dependency> |
| 418 | <groupId>org.springframework</groupId> |
| 419 | <artifactId>spring-aop</artifactId> |
| 420 | <version>${springframework.version}</version> |
| 421 | </dependency> |
| 422 | <dependency> |
| 423 | <groupId>org.springframework</groupId> |
| 424 | <artifactId>spring-test</artifactId> |
| 425 | <version>${springframework.version}</version> |
| 426 | </dependency> |
| 427 | <dependency> |
| 428 | <groupId>org.springframework</groupId> |
| 429 | <artifactId>spring-tx</artifactId> |
| 430 | <version>${springframework.version}</version> |
| 431 | </dependency> |
| 432 | <dependency> |
| 433 | <groupId>org.springframework</groupId> |
| 434 | <artifactId>spring-web</artifactId> |
| 435 | <version>${springframework.version}</version> |
| 436 | </dependency> |
| 437 | <dependency> |
| 438 | <groupId>org.springframework</groupId> |
| 439 | <artifactId>spring-webmvc</artifactId> |
| 440 | <version>${springframework.version}</version> |
| 441 | </dependency> |
| 442 | </dependencies> |
| 443 | </project> |