jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [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. -->
|
jimmydot | d8d45ec | 2017-05-08 11:20:53 -0400 | [diff] [blame] | 9 | <groupId>org.openecomp.vid</groupId>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 10 | <artifactId>epsdk-app-onap</artifactId>
|
| 11 | <version>1.1.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>
|
Krzysztof Kwiecien | 4c1fe21 | 2017-07-21 11:37:05 +0200 | [diff] [blame] | 20 | <epsdk.version>1.3.0-SNAPSHOT</epsdk.version>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 21 | <springframework.version>4.2.0.RELEASE</springframework.version>
|
| 22 | <hibernate.version>4.3.11.Final</hibernate.version>
|
| 23 | <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
|
| 24 | <skipassembly>true</skipassembly>
|
| 25 | <!-- Tests usually require some setup that maven cannot do, so skip. -->
|
| 26 | <skiptests>true</skiptests>
|
| 27 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 28 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
|
| 29 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
|
| 30 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
|
| 31 | <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
|
Ofir Sonsino | 60fcc81 | 2017-09-11 15:21:09 +0300 | [diff] [blame] | 32 |
|
| 33 | <!-- SONAR -->
|
| 34 | <sonar.language>java</sonar.language>
|
| 35 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
| 36 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
|
| 37 | <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
|
| 38 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
|
| 39 | <sonar.projectVersion>${project.version}</sonar.projectVersion>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 40 | </properties>
|
| 41 |
|
jimmydot | 15eae84 | 2017-05-09 11:03:39 -0400 | [diff] [blame] | 42 | <repositories>
|
| 43 | <repository>
|
| 44 | <id>ecomp-releases</id>
|
| 45 | <name>VID Release Repository</name>
|
| 46 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 47 | </repository>
|
| 48 | <repository>
|
| 49 | <id>ecomp-snapshots</id>
|
| 50 | <name>VID Snapshot Repository</name>
|
| 51 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 52 | </repository>
|
| 53 | <repository>
|
| 54 | <id>ecomp-staging</id>
|
| 55 | <name>VID Staging Repository</name>
|
| 56 | <url>${nexusproxy}${stagingNexusPath}</url>
|
| 57 | </repository>
|
| 58 | <repository>
|
| 59 | <!-- Snapshots repository has ECOMP snapshot artifacts -->
|
| 60 | <id>oss-snapshots</id>
|
| 61 | <name>oss Central - Snapshots</name>
|
| 62 | <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
|
| 63 | </repository>
|
| 64 | </repositories>
|
| 65 | <distributionManagement>
|
| 66 | <repository>
|
| 67 | <id>ecomp-releases</id>
|
| 68 | <name>VID Release Repository</name>
|
| 69 | <url>${nexusproxy}/${releaseNexusPath}</url>
|
| 70 | </repository>
|
| 71 | <snapshotRepository>
|
| 72 | <id>ecomp-snapshots</id>
|
| 73 | <name>VID Snapshot Repository</name>
|
| 74 | <url>${nexusproxy}/${snapshotNexusPath}</url>
|
| 75 | </snapshotRepository>
|
| 76 | <!-- added for javadoc -->
|
| 77 | <site>
|
| 78 | <id>ecomp-site</id>
|
| 79 | <url>dav:${nexusproxy}${sitePath}</url>
|
| 80 | </site>
|
| 81 | </distributionManagement>
|
jimmydot | 97bd252 | 2017-05-08 08:38:14 -0400 | [diff] [blame] | 82 |
|
| 83 | <profiles>
|
| 84 | <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
|
| 85 | <profile>
|
| 86 | <id>doclint-java8-disable</id>
|
| 87 | <activation>
|
| 88 | <jdk>[1.8,)</jdk>
|
| 89 | </activation>
|
| 90 | <build>
|
| 91 | <plugins>
|
| 92 | <plugin>
|
| 93 | <groupId>org.apache.maven.plugins</groupId>
|
| 94 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 95 | <version>2.10.4</version>
|
| 96 | <configuration>
|
| 97 | <additionalparam>-Xdoclint:none</additionalparam>
|
| 98 | </configuration>
|
| 99 | </plugin>
|
| 100 | </plugins>
|
| 101 | </build>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 102 | </profile>
|
| 103 | </profiles>
|
| 104 |
|
| 105 | <build>
|
| 106 | <finalName>vid</finalName>
|
| 107 | <plugins>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame] | 108 | <plugin>
|
| 109 | <groupId>org.codehaus.mojo</groupId>
|
| 110 | <artifactId>versions-maven-plugin</artifactId>
|
| 111 | <version>1.3.1</version>
|
| 112 | </plugin>
|
| 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 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 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>
|
| 139 | <version>2.19.1</version>
|
| 140 | <configuration>
|
| 141 | <skipTests>${skiptests}</skipTests>
|
| 142 | <includes>
|
| 143 | <include>**/Test*.java</include>
|
| 144 | <include>**/*Test.java</include>
|
| 145 | <include>**/*TestCase.java</include>
|
| 146 | </includes>
|
| 147 | <additionalClasspathElements>
|
| 148 | <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
|
| 149 | </additionalClasspathElements>
|
| 150 | <systemPropertyVariables>
|
| 151 | <container.classpath>classpath:</container.classpath>
|
| 152 | </systemPropertyVariables>
|
| 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.openecomp.vid</groupId>
|
| 174 | <artifactId>vid-app-common</artifactId>
|
| 175 | </overlay>
|
| 176 | <overlay>
|
| 177 | <groupId>org.openecomp.ecompsdkos</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>
|
jimmydot | 15eae84 | 2017-05-09 11:03:39 -0400 | [diff] [blame] | 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>
|
Ofir Sonsino | 60fcc81 | 2017-09-11 15:21:09 +0300 | [diff] [blame] | 216 |
|
| 217 | <plugin>
|
| 218 | <artifactId>maven-surefire-plugin</artifactId>
|
| 219 | <version>2.17</version>
|
| 220 | </plugin>
|
| 221 | <plugin>
|
| 222 | <groupId>org.sonarsource.scanner.maven</groupId>
|
| 223 | <artifactId>sonar-maven-plugin</artifactId>
|
| 224 | <version>3.2</version>
|
| 225 | </plugin>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 226 | </plugins>
|
| 227 | </build>
|
| 228 |
|
jimmydot | 15eae84 | 2017-05-09 11:03:39 -0400 | [diff] [blame] | 229 | <reporting>
|
| 230 | <plugins>
|
| 231 | <plugin>
|
| 232 | <groupId>org.apache.maven.plugins</groupId>
|
| 233 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 234 | <version>2.10.4</version>
|
| 235 | <configuration>
|
| 236 | <failOnError>false</failOnError>
|
| 237 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
|
| 238 | <docletArtifact>
|
| 239 | <groupId>org.umlgraph</groupId>
|
| 240 | <artifactId>umlgraph</artifactId>
|
| 241 | <version>5.6</version>
|
| 242 | </docletArtifact>
|
| 243 | <additionalparam>-views</additionalparam>
|
| 244 | <useStandardDocletOptions>true</useStandardDocletOptions>
|
| 245 | </configuration>
|
| 246 | </plugin>
|
| 247 | </plugins>
|
| 248 | </reporting>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 249 | <dependencies>
|
| 250 | <!-- SDK overlay war -->
|
| 251 | <dependency>
|
| 252 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 253 | <artifactId>epsdk-app-overlay</artifactId>
|
| 254 | <version>${epsdk.version}</version>
|
| 255 | <type>war</type>
|
| 256 | </dependency>
|
| 257 | <dependency>
|
| 258 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 259 | <artifactId>epsdk-app-common</artifactId>
|
| 260 | <version>${epsdk.version}</version>
|
| 261 | <type>jar</type>
|
| 262 | </dependency>
|
| 263 | <dependency>
|
| 264 | <groupId>org.openecomp.vid</groupId>
|
| 265 | <artifactId>vid-app-common</artifactId>
|
| 266 | <version>${project.version}</version>
|
| 267 | <type>war</type>
|
| 268 | </dependency>
|
| 269 | <dependency>
|
| 270 | <groupId>org.openecomp.vid</groupId>
|
| 271 | <artifactId>vid-app-common</artifactId>
|
| 272 | <version>${project.version}</version>
|
| 273 | <type>jar</type>
|
| 274 | <classifier>classes</classifier>
|
| 275 | </dependency>
|
| 276 | <!-- SDK components -->
|
| 277 | <dependency>
|
| 278 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 279 | <artifactId>epsdk-core</artifactId>
|
| 280 | <version>${epsdk.version}</version>
|
| 281 | </dependency>
|
| 282 | <dependency>
|
| 283 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 284 | <artifactId>epsdk-analytics</artifactId>
|
| 285 | <version>${epsdk.version}</version>
|
| 286 | </dependency>
|
| 287 | <dependency>
|
| 288 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 289 | <artifactId>epsdk-workflow</artifactId>
|
| 290 | <version>${epsdk.version}</version>
|
| 291 | </dependency>
|
| 292 | <dependency>
|
| 293 | <groupId>com.att.eelf</groupId>
|
| 294 | <artifactId>eelf-core</artifactId>
|
| 295 | <version>1.0.0</version>
|
| 296 | </dependency>
|
| 297 | <dependency>
|
| 298 | <groupId>org.openecomp.vid</groupId>
|
| 299 | <artifactId>vid-app-common</artifactId>
|
| 300 | <version>${version}</version>
|
| 301 | <type>war</type>
|
| 302 | </dependency>
|
| 303 | <dependency>
|
| 304 | <groupId>org.openecomp.vid</groupId>
|
| 305 | <artifactId>vid-app-common</artifactId>
|
| 306 | <version>${version}</version>
|
| 307 | <type>jar</type>
|
| 308 | <classifier>classes</classifier>
|
| 309 | </dependency>
|
| 310 | <!-- Mapper -->
|
| 311 | <dependency>
|
| 312 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 313 | <artifactId>jackson-annotations</artifactId>
|
| 314 | <version>2.6.3</version>
|
| 315 | </dependency>
|
| 316 | <dependency>
|
| 317 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 318 | <artifactId>jackson-core</artifactId>
|
| 319 | <version>2.6.3</version>
|
| 320 | </dependency>
|
| 321 | <dependency>
|
| 322 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 323 | <artifactId>jackson-databind</artifactId>
|
| 324 | <version>2.6.3</version>
|
| 325 | </dependency>
|
| 326 | <dependency>
|
| 327 | <groupId>com.mchange</groupId>
|
| 328 | <artifactId>c3p0</artifactId>
|
| 329 | <version>0.9.5.2</version>
|
| 330 | </dependency>
|
| 331 | <dependency>
|
| 332 | <groupId>io.searchbox</groupId>
|
| 333 | <artifactId>jest</artifactId>
|
| 334 | <version>2.0.0</version>
|
| 335 | <exclusions>
|
| 336 | <exclusion>
|
| 337 | <groupId>commons-logging</groupId>
|
| 338 | <artifactId>commons-logging</artifactId>
|
| 339 | </exclusion>
|
| 340 | </exclusions>
|
| 341 | </dependency>
|
| 342 | <dependency>
|
| 343 | <groupId>javax.servlet</groupId>
|
| 344 | <artifactId>javax.servlet-api</artifactId>
|
| 345 | <version>3.1.0</version>
|
| 346 | </dependency>
|
| 347 | <dependency>
|
| 348 | <groupId>junit</groupId>
|
| 349 | <artifactId>junit</artifactId>
|
| 350 | <version>4.12</version>
|
| 351 | </dependency>
|
| 352 | <!-- Elastic Search -->
|
| 353 | <!-- <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId>
|
| 354 | <version>2.2.0</version> </dependency> -->
|
| 355 | <dependency>
|
| 356 | <groupId>org.json</groupId>
|
| 357 | <artifactId>json</artifactId>
|
| 358 | <version>20160212</version>
|
| 359 | </dependency>
|
| 360 | <dependency>
|
| 361 | <groupId>org.quartz-scheduler</groupId>
|
| 362 | <artifactId>quartz</artifactId>
|
| 363 | <version>2.2.1</version>
|
| 364 | <exclusions>
|
| 365 | <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
|
| 366 | <exclusion>
|
| 367 | <groupId>c3p0</groupId>
|
| 368 | <artifactId>c3p0</artifactId>
|
| 369 | </exclusion>
|
| 370 | </exclusions>
|
| 371 | </dependency>
|
| 372 | <!-- bridge to implement commons-logging using slf4j -->
|
| 373 | <dependency>
|
| 374 | <groupId>org.slf4j</groupId>
|
| 375 | <artifactId>jcl-over-slf4j</artifactId>
|
| 376 | <version>1.7.12</version>
|
| 377 | </dependency>
|
| 378 | <dependency>
|
| 379 | <groupId>org.springframework</groupId>
|
| 380 | <artifactId>spring-context-support</artifactId>
|
| 381 | <version>${springframework.version}</version>
|
| 382 | </dependency>
|
| 383 | <dependency>
|
| 384 | <groupId>org.springframework</groupId>
|
| 385 | <artifactId>spring-core</artifactId>
|
| 386 | <version>${springframework.version}</version>
|
| 387 | <exclusions>
|
| 388 | <exclusion>
|
| 389 | <groupId>commons-logging</groupId>
|
| 390 | <artifactId>commons-logging</artifactId>
|
| 391 | </exclusion>
|
| 392 | </exclusions>
|
| 393 | </dependency>
|
| 394 | <dependency>
|
| 395 | <groupId>org.springframework</groupId>
|
| 396 | <artifactId>spring-test</artifactId>
|
| 397 | <version>${springframework.version}</version>
|
| 398 | </dependency>
|
| 399 | <dependency>
|
| 400 | <groupId>org.springframework</groupId>
|
| 401 | <artifactId>spring-tx</artifactId>
|
| 402 | <version>${springframework.version}</version>
|
| 403 | </dependency>
|
| 404 | <dependency>
|
| 405 | <groupId>org.springframework</groupId>
|
| 406 | <artifactId>spring-web</artifactId>
|
| 407 | <version>${springframework.version}</version>
|
| 408 | </dependency>
|
| 409 | <dependency>
|
| 410 | <groupId>org.springframework</groupId>
|
| 411 | <artifactId>spring-webmvc</artifactId>
|
| 412 | <version>${springframework.version}</version>
|
| 413 | </dependency>
|
| 414 | </dependencies>
|
| 415 | </project>
|