jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?>
|
| 2 | <project
|
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
| 4 | xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
| 5 | <modelVersion>4.0.0</modelVersion>
|
| 6 |
|
| 7 | <!-- This is the Maven project object model (POM) file for VID web application
|
| 8 | based on the ECOMP SDK distribution. This file stands alone; it does not
|
| 9 | inherit from a parent maven module. -->
|
| 10 | <groupId>org.openecomp.vid</groupId>
|
| 11 | <artifactId>vid-app-common</artifactId>
|
| 12 | <version>1.1.0-SNAPSHOT</version>
|
| 13 | <packaging>war</packaging>
|
| 14 | <name>VID Common</name>
|
| 15 | <description>VID Common code for opensource version</description>
|
| 16 |
|
| 17 | <properties>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 18 | <encoding>UTF-8</encoding>
|
| 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 20 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
| 21 | <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>
|
| 22 | <springframework.version>4.2.0.RELEASE</springframework.version>
|
| 23 | <hibernate.version>4.3.11.Final</hibernate.version>
|
| 24 | <!-- Skip assembling the zip by default -->
|
| 25 | <skipassembly>true</skipassembly>
|
| 26 | <!-- Tests usually require some setup that maven cannot do, so skip. -->
|
| 27 | <skiptests>true</skiptests>
|
| 28 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 29 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
|
| 30 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
|
| 31 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
|
| 32 | <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 33 | </properties>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 34 |
|
| 35 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 36 | <!-- this should be commented for local debugging -->
|
| 37 | <!-- <deployenv>local</deployenv> -->
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 38 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 39 | <repositories>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 40 | <repository>
|
| 41 | <id>ecomp-releases</id>
|
| 42 | <name>VID Release Repository</name>
|
| 43 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 44 | </repository>
|
| 45 | <repository>
|
| 46 | <id>ecomp-snapshots</id>
|
| 47 | <name>VID Snapshot Repository</name>
|
| 48 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 49 | </repository>
|
| 50 | <repository>
|
| 51 | <id>ecomp-staging</id>
|
| 52 | <name>VID Staging Repository</name>
|
| 53 | <url>${nexusproxy}${stagingNexusPath}</url>
|
| 54 | </repository>
|
| 55 | <repository>
|
| 56 | <!-- Snapshots repository has ECOMP snapshot artifacts -->
|
| 57 | <id>oss-snapshots</id>
|
| 58 | <name>oss Central - Snapshots</name>
|
| 59 | <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
|
| 60 | </repository>
|
| 61 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 62 | </repositories>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 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 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 81 | <build>
|
| 82 | <finalName>vid-common</finalName>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 83 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 84 | <plugins>
|
| 85 | <plugin>
|
| 86 | <groupId>org.codehaus.mojo</groupId>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 87 | <artifactId>versions-maven-plugin</artifactId>
|
| 88 | <version>1.3.1</version>
|
| 89 | </plugin>
|
| 90 | <plugin>
|
| 91 | <groupId>org.sonatype.plugins</groupId>
|
| 92 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 93 | <version>1.6.7</version>
|
| 94 | <extensions>true</extensions>
|
| 95 | <configuration>
|
| 96 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 97 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 98 | <serverId>ecomp-staging</serverId>
|
| 99 | </configuration>
|
| 100 | </plugin>
|
| 101 | <plugin>
|
| 102 | <groupId>org.codehaus.mojo</groupId>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 103 | <artifactId>cobertura-maven-plugin</artifactId>
|
| 104 | <version>2.7</version>
|
| 105 | <configuration>
|
| 106 | <formats>
|
| 107 | <format>xml</format>
|
| 108 | </formats>
|
| 109 | </configuration>
|
| 110 | <executions>
|
| 111 | <execution>
|
| 112 | <phase>package</phase>
|
| 113 | <goals>
|
| 114 | <goal>cobertura</goal>
|
| 115 | </goals>
|
| 116 | </execution>
|
| 117 | </executions>
|
| 118 | </plugin>
|
| 119 | <plugin>
|
| 120 | <groupId>org.apache.tomcat.maven</groupId>
|
| 121 | <artifactId>tomcat6-maven-plugin</artifactId>
|
| 122 | <version>2.2</version>
|
| 123 | </plugin>
|
| 124 | <plugin>
|
| 125 | <groupId>org.apache.tomcat.maven</groupId>
|
| 126 | <artifactId>tomcat7-maven-plugin</artifactId>
|
| 127 | <version>2.2</version>
|
| 128 | </plugin>
|
| 129 |
|
| 130 | <!-- Generate POJOs from MSO json schema -->
|
| 131 | <plugin>
|
| 132 | <groupId>org.jsonschema2pojo</groupId>
|
| 133 | <artifactId>jsonschema2pojo-maven-plugin</artifactId>
|
| 134 | <version>0.4.23</version>
|
| 135 | <configuration>
|
| 136 | <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
|
| 137 | <targetPackage>org.openecomp.vid.domain.mso</targetPackage>
|
| 138 | <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
|
| 139 | </configuration>
|
| 140 | <executions>
|
| 141 | <execution>
|
| 142 | <goals>
|
| 143 | <goal>generate</goal>
|
| 144 | </goals>
|
| 145 | </execution>
|
| 146 | </executions>
|
| 147 | </plugin>
|
| 148 |
|
| 149 | <plugin>
|
| 150 | <groupId>org.apache.maven.plugins</groupId>
|
| 151 | <artifactId>maven-compiler-plugin</artifactId>
|
| 152 | <version>3.1</version>
|
| 153 | <configuration>
|
| 154 | <source>1.8</source>
|
| 155 | <target>1.8</target>
|
| 156 | </configuration>
|
| 157 | </plugin>
|
| 158 |
|
| 159 | <plugin>
|
| 160 | <groupId>org.apache.maven.plugins</groupId>
|
| 161 | <artifactId>maven-surefire-plugin</artifactId>
|
| 162 | <version>2.19.1</version>
|
| 163 | <configuration>
|
| 164 | <skipTests>${skiptests}</skipTests>
|
| 165 | <includes>
|
| 166 | <include>**/Test*.java</include>
|
| 167 | <include>**/*Test.java</include>
|
| 168 | <include>**/*TestCase.java</include>
|
| 169 | </includes>
|
| 170 | <excludes>
|
| 171 | <exclude>**/selenium/*.java</exclude>
|
| 172 | </excludes>
|
| 173 | <additionalClasspathElements>
|
| 174 | <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
|
| 175 | </additionalClasspathElements>
|
| 176 | <systemPropertyVariables>
|
| 177 | <container.classpath>classpath:</container.classpath>
|
| 178 | </systemPropertyVariables>
|
| 179 | </configuration>
|
| 180 | </plugin>
|
| 181 |
|
| 182 | <plugin>
|
| 183 | <artifactId>maven-assembly-plugin</artifactId>
|
| 184 | <configuration>
|
| 185 | <skipAssembly>${skipassembly}</skipAssembly>
|
| 186 | <descriptors>
|
| 187 | <descriptor>${basedir}/distribution.xml</descriptor>
|
| 188 | </descriptors>
|
| 189 | </configuration>
|
| 190 | <executions>
|
| 191 | <execution>
|
| 192 | <id>make-assembly</id>
|
| 193 | <phase>package</phase>
|
| 194 | <goals>
|
| 195 | <goal>single</goal>
|
| 196 | </goals>
|
| 197 | </execution>
|
| 198 | </executions>
|
| 199 | </plugin>
|
| 200 |
|
| 201 |
|
| 202 | <plugin>
|
| 203 | <groupId>org.apache.maven.plugins</groupId>
|
| 204 | <artifactId>maven-war-plugin</artifactId>
|
| 205 | <version>3.0.0</version>
|
| 206 | <configuration>
|
| 207 | <!-- Build a jar with all the Java classes -->
|
| 208 | <attachClasses>true</attachClasses>
|
| 209 | <!-- Do not put any jars in the war -->
|
| 210 | <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
|
| 211 | </configuration>
|
| 212 | </plugin>
|
| 213 |
|
| 214 | </plugins>
|
| 215 |
|
| 216 |
|
| 217 | </build>
|
| 218 |
|
| 219 | <dependencies>
|
| 220 | <!-- SDK overlay war -->
|
| 221 |
|
| 222 | <dependency>
|
| 223 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 224 | <artifactId>epsdk-app-overlay</artifactId>
|
| 225 | <version>${epsdk.version}</version>
|
| 226 | <type>war</type>
|
| 227 | </dependency>
|
| 228 | <dependency>
|
| 229 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 230 | <artifactId>epsdk-app-common</artifactId>
|
| 231 | <version>${epsdk.version}</version>
|
| 232 | <type>jar</type>
|
| 233 | </dependency>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame^] | 234 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 235 | <dependency>
|
| 236 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 237 | <artifactId>epsdk-core</artifactId>
|
| 238 | <version>${epsdk.version}</version>
|
| 239 | </dependency>
|
| 240 | <dependency>
|
| 241 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 242 | <artifactId>epsdk-analytics</artifactId>
|
| 243 | <version>${epsdk.version}</version>
|
| 244 | </dependency>
|
| 245 | <dependency>
|
| 246 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 247 | <artifactId>epsdk-workflow</artifactId>
|
| 248 | <version>${epsdk.version}</version>
|
| 249 | </dependency>
|
| 250 | <dependency>
|
| 251 | <groupId>com.att.eelf</groupId>
|
| 252 | <artifactId>eelf-core</artifactId>
|
| 253 | <version>1.0.0</version>
|
| 254 | </dependency>
|
| 255 |
|
| 256 | <!-- Mapper -->
|
| 257 | <dependency>
|
| 258 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 259 | <artifactId>jackson-annotations</artifactId>
|
| 260 | <version>2.6.3</version>
|
| 261 | </dependency>
|
| 262 | <dependency>
|
| 263 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 264 | <artifactId>jackson-core</artifactId>
|
| 265 | <version>2.6.3</version>
|
| 266 | </dependency>
|
| 267 | <dependency>
|
| 268 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 269 | <artifactId>jackson-databind</artifactId>
|
| 270 | <version>2.6.3</version>
|
| 271 | </dependency>
|
| 272 | <dependency>
|
| 273 | <groupId>org.codehaus.jackson</groupId>
|
| 274 | <artifactId>jackson-mapper-asl</artifactId>
|
| 275 | <version>1.9.13</version>
|
| 276 | </dependency>
|
| 277 | <dependency>
|
| 278 | <groupId>com.mchange</groupId>
|
| 279 | <artifactId>c3p0</artifactId>
|
| 280 | <version>0.9.5.2</version>
|
| 281 | </dependency>
|
| 282 | <dependency>
|
| 283 | <groupId>io.searchbox</groupId>
|
| 284 | <artifactId>jest</artifactId>
|
| 285 | <version>2.0.0</version>
|
| 286 | <exclusions>
|
| 287 | <exclusion>
|
| 288 | <groupId>commons-logging</groupId>
|
| 289 | <artifactId>commons-logging</artifactId>
|
| 290 | </exclusion>
|
| 291 | </exclusions>
|
| 292 | </dependency>
|
| 293 | <dependency>
|
| 294 | <groupId>javax.servlet</groupId>
|
| 295 | <artifactId>javax.servlet-api</artifactId>
|
| 296 | <version>3.1.0</version>
|
| 297 | <scope>provided</scope>
|
| 298 | </dependency>
|
| 299 | <dependency>
|
| 300 | <groupId>junit</groupId>
|
| 301 | <artifactId>junit</artifactId>
|
| 302 | <version>4.12</version>
|
| 303 | </dependency>
|
| 304 | <dependency>
|
| 305 | <groupId>org.json</groupId>
|
| 306 | <artifactId>json</artifactId>
|
| 307 | <version>20160212</version>
|
| 308 | </dependency>
|
| 309 | <dependency>
|
| 310 | <groupId>org.quartz-scheduler</groupId>
|
| 311 | <artifactId>quartz</artifactId>
|
| 312 | <version>2.2.1</version>
|
| 313 | <exclusions>
|
| 314 | <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
|
| 315 | <exclusion>
|
| 316 | <groupId>c3p0</groupId>
|
| 317 | <artifactId>c3p0</artifactId>
|
| 318 | </exclusion>
|
| 319 | </exclusions>
|
| 320 | </dependency>
|
| 321 | <!-- bridge to implement commons-logging using slf4j -->
|
| 322 | <dependency>
|
| 323 | <groupId>org.slf4j</groupId>
|
| 324 | <artifactId>jcl-over-slf4j</artifactId>
|
| 325 | <version>1.7.12</version>
|
| 326 | </dependency>
|
| 327 | <dependency>
|
| 328 | <groupId>org.springframework</groupId>
|
| 329 | <artifactId>spring-context-support</artifactId>
|
| 330 | <version>${springframework.version}</version>
|
| 331 | </dependency>
|
| 332 | <dependency>
|
| 333 | <groupId>org.springframework</groupId>
|
| 334 | <artifactId>spring-core</artifactId>
|
| 335 | <version>${springframework.version}</version>
|
| 336 | <exclusions>
|
| 337 | <exclusion>
|
| 338 | <groupId>commons-logging</groupId>
|
| 339 | <artifactId>commons-logging</artifactId>
|
| 340 | </exclusion>
|
| 341 | </exclusions>
|
| 342 | </dependency>
|
| 343 | <dependency>
|
| 344 | <groupId>org.springframework</groupId>
|
| 345 | <artifactId>spring-test</artifactId>
|
| 346 | <version>${springframework.version}</version>
|
| 347 | </dependency>
|
| 348 | <dependency>
|
| 349 | <groupId>org.springframework</groupId>
|
| 350 | <artifactId>spring-tx</artifactId>
|
| 351 | <version>${springframework.version}</version>
|
| 352 | </dependency>
|
| 353 | <dependency>
|
| 354 | <groupId>org.springframework</groupId>
|
| 355 | <artifactId>spring-web</artifactId>
|
| 356 | <version>${springframework.version}</version>
|
| 357 | </dependency>
|
| 358 | <dependency>
|
| 359 | <groupId>org.springframework</groupId>
|
| 360 | <artifactId>spring-webmvc</artifactId>
|
| 361 | <version>${springframework.version}</version>
|
| 362 | </dependency>
|
| 363 | <dependency>
|
| 364 | <groupId>org.glassfish.jersey.core</groupId>
|
| 365 | <artifactId>jersey-client</artifactId>
|
| 366 | <version>2.23.1</version>
|
| 367 | </dependency>
|
| 368 | <dependency>
|
| 369 | <groupId>org.glassfish.jersey.connectors</groupId>
|
| 370 | <artifactId>jersey-jetty-connector</artifactId>
|
| 371 | <version>2.23.1</version>
|
| 372 | </dependency>
|
| 373 | <dependency>
|
| 374 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
| 375 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
| 376 | <version>2.6.3</version>
|
| 377 | </dependency>
|
| 378 | <dependency>
|
| 379 | <groupId>commons-beanutils</groupId>
|
| 380 | <artifactId>commons-beanutils</artifactId>
|
| 381 | <version>1.9.3</version>
|
| 382 | </dependency>
|
| 383 | <dependency>
|
| 384 | <groupId>com.googlecode.json-simple</groupId>
|
| 385 | <artifactId>json-simple</artifactId>
|
| 386 | <version>1.1.1</version>
|
| 387 | </dependency>
|
| 388 | <dependency>
|
| 389 | <groupId>org.seleniumhq.selenium</groupId>
|
| 390 | <artifactId>selenium-java</artifactId>
|
| 391 | <version>2.53.1</version>
|
| 392 | <scope>test</scope>
|
| 393 | </dependency>
|
| 394 | <dependency>
|
| 395 | <groupId>org.seleniumhq.selenium</groupId>
|
| 396 | <artifactId>selenium-api</artifactId>
|
| 397 | <version>2.53.1</version>
|
| 398 | <scope>test</scope>
|
| 399 | </dependency>
|
| 400 | <dependency>
|
| 401 | <groupId>org.testng</groupId>
|
| 402 | <artifactId>testng</artifactId>
|
| 403 | <version>6.8</version>
|
| 404 | <scope>test</scope>
|
| 405 | </dependency>
|
| 406 | <dependency>
|
| 407 | <groupId>org.seleniumhq.selenium</groupId>
|
| 408 | <artifactId>selenium-firefox-driver</artifactId>
|
| 409 | <version>2.53.1</version>
|
| 410 | </dependency>
|
| 411 | <dependency>
|
| 412 | <groupId>xml-apis</groupId>
|
| 413 | <artifactId>xml-apis</artifactId>
|
| 414 | <version>1.4.01</version>
|
| 415 | </dependency>
|
| 416 | <dependency>
|
| 417 | <groupId>org.mariadb.jdbc</groupId>
|
| 418 | <artifactId>mariadb-java-client</artifactId>
|
| 419 | <version>1.4.6</version>
|
| 420 | </dependency>
|
| 421 | <dependency>
|
| 422 | <groupId>org.yaml</groupId>
|
| 423 | <artifactId>snakeyaml</artifactId>
|
| 424 | <version>1.16</version>
|
| 425 | </dependency>
|
| 426 | </dependencies>
|
| 427 | </project>
|