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