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>
|
| 20 | <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>
|
| 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>
|
| 32 | </properties>
|
| 33 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 34 | <repositories>
|
| 35 | <repository>
|
| 36 | <id>ecomp-releases</id>
|
| 37 | <name>VID Release Repository</name>
|
| 38 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 39 | </repository>
|
| 40 | <repository>
|
| 41 | <id>ecomp-snapshots</id>
|
| 42 | <name>VID Snapshot Repository</name>
|
| 43 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 44 | </repository>
|
| 45 | <repository>
|
| 46 | <id>ecomp-staging</id>
|
| 47 | <name>VID Staging Repository</name>
|
| 48 | <url>${nexusproxy}${stagingNexusPath}</url>
|
| 49 | </repository>
|
| 50 | <repository>
|
| 51 | <!-- Snapshots repository has ECOMP snapshot artifacts -->
|
| 52 | <id>oss-snapshots</id>
|
| 53 | <name>oss Central - Snapshots</name>
|
| 54 | <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
|
| 55 | </repository>
|
| 56 | </repositories>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame] | 57 | <distributionManagement>
|
| 58 | <repository>
|
| 59 | <id>ecomp-releases</id>
|
| 60 | <name>VID Release Repository</name>
|
| 61 | <url>${nexusproxy}/${releaseNexusPath}</url>
|
| 62 | </repository>
|
| 63 | <snapshotRepository>
|
| 64 | <id>ecomp-snapshots</id>
|
| 65 | <name>VID Snapshot Repository</name>
|
| 66 | <url>${nexusproxy}/${snapshotNexusPath}</url>
|
| 67 | </snapshotRepository>
|
| 68 | <!-- added for javadoc -->
|
| 69 | <site>
|
| 70 | <id>ecomp-site</id>
|
| 71 | <url>dav:${nexusproxy}${sitePath}</url>
|
| 72 | </site>
|
| 73 | </distributionManagement>
|
jimmydot | 97bd252 | 2017-05-08 08:38:14 -0400 | [diff] [blame] | 74 |
|
| 75 | <profiles>
|
| 76 | <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
|
| 77 | <profile>
|
| 78 | <id>doclint-java8-disable</id>
|
| 79 | <activation>
|
| 80 | <jdk>[1.8,)</jdk>
|
| 81 | </activation>
|
| 82 | <build>
|
| 83 | <plugins>
|
| 84 | <plugin>
|
| 85 | <groupId>org.apache.maven.plugins</groupId>
|
| 86 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 87 | <version>2.10.4</version>
|
| 88 | <configuration>
|
| 89 | <additionalparam>-Xdoclint:none</additionalparam>
|
| 90 | </configuration>
|
| 91 | </plugin>
|
| 92 | </plugins>
|
| 93 | </build>
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 94 | </profile>
|
| 95 | </profiles>
|
| 96 |
|
| 97 | <build>
|
| 98 | <finalName>vid</finalName>
|
| 99 | <plugins>
|
jimmydot | f88fada | 2017-05-07 19:42:59 -0400 | [diff] [blame] | 100 | <plugin>
|
| 101 | <groupId>org.codehaus.mojo</groupId>
|
| 102 | <artifactId>versions-maven-plugin</artifactId>
|
| 103 | <version>1.3.1</version>
|
| 104 | </plugin>
|
| 105 | <plugin>
|
| 106 | <groupId>org.sonatype.plugins</groupId>
|
| 107 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 108 | <version>1.6.7</version>
|
| 109 | <extensions>true</extensions>
|
| 110 | <configuration>
|
| 111 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 112 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 113 | <serverId>ecomp-staging</serverId>
|
| 114 | </configuration>
|
| 115 | </plugin>
|
| 116 |
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 117 | <!-- Compile to Java 1.8 class output format -->
|
| 118 | <plugin>
|
| 119 | <groupId>org.apache.maven.plugins</groupId>
|
| 120 | <artifactId>maven-compiler-plugin</artifactId>
|
| 121 | <version>3.1</version>
|
| 122 | <configuration>
|
| 123 | <source>1.8</source>
|
| 124 | <target>1.8</target>
|
| 125 | </configuration>
|
| 126 | </plugin>
|
| 127 |
|
| 128 | <plugin>
|
| 129 | <groupId>org.apache.maven.plugins</groupId>
|
| 130 | <artifactId>maven-surefire-plugin</artifactId>
|
| 131 | <version>2.19.1</version>
|
| 132 | <configuration>
|
| 133 | <skipTests>${skiptests}</skipTests>
|
| 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 | </configuration>
|
| 146 | </plugin>
|
| 147 |
|
| 148 | <!-- add version number to manifest -->
|
| 149 | <plugin>
|
| 150 | <groupId>org.apache.maven.plugins</groupId>
|
| 151 | <artifactId>maven-war-plugin</artifactId>
|
| 152 | <version>2.0.2</version>
|
| 153 | <configuration>
|
| 154 | <archive>
|
| 155 | <manifest>
|
| 156 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
| 157 | </manifest>
|
| 158 | <manifestEntries>
|
| 159 | <Build-Number>${project.version}</Build-Number>
|
| 160 | <Build-Time>${maven.build.timestamp}</Build-Time>
|
| 161 | </manifestEntries>
|
| 162 | </archive>
|
| 163 | <overlays>
|
| 164 | <overlay>
|
| 165 | <groupId>org.openecomp.vid</groupId>
|
| 166 | <artifactId>vid-app-common</artifactId>
|
| 167 | </overlay>
|
| 168 | <overlay>
|
| 169 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 170 | <artifactId>epsdk-app-overlay</artifactId>
|
| 171 | </overlay>
|
| 172 | </overlays>
|
| 173 | </configuration>
|
| 174 | </plugin>
|
| 175 |
|
| 176 | <plugin>
|
| 177 | <groupId>org.apache.maven.plugins</groupId>
|
| 178 | <artifactId>maven-assembly-plugin</artifactId>
|
| 179 | <version>3.0.0</version>
|
| 180 | <configuration>
|
| 181 | <skipAssembly>${skipassembly}</skipAssembly>
|
| 182 | <descriptors>
|
| 183 | <descriptor>${basedir}/distribution.xml</descriptor>
|
| 184 | </descriptors>
|
| 185 | </configuration>
|
| 186 | <executions>
|
| 187 | <execution>
|
| 188 | <id>make-assembly</id>
|
| 189 | <phase>package</phase>
|
| 190 | <goals>
|
| 191 | <goal>single</goal>
|
| 192 | </goals>
|
| 193 | </execution>
|
| 194 | </executions>
|
| 195 | </plugin>
|
| 196 | </plugins>
|
| 197 | </build>
|
| 198 |
|
| 199 | <dependencies>
|
| 200 | <!-- SDK overlay war -->
|
| 201 | <dependency>
|
| 202 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 203 | <artifactId>epsdk-app-overlay</artifactId>
|
| 204 | <version>${epsdk.version}</version>
|
| 205 | <type>war</type>
|
| 206 | </dependency>
|
| 207 | <dependency>
|
| 208 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 209 | <artifactId>epsdk-app-common</artifactId>
|
| 210 | <version>${epsdk.version}</version>
|
| 211 | <type>jar</type>
|
| 212 | </dependency>
|
| 213 | <dependency>
|
| 214 | <groupId>org.openecomp.vid</groupId>
|
| 215 | <artifactId>vid-app-common</artifactId>
|
| 216 | <version>${project.version}</version>
|
| 217 | <type>war</type>
|
| 218 | </dependency>
|
| 219 | <dependency>
|
| 220 | <groupId>org.openecomp.vid</groupId>
|
| 221 | <artifactId>vid-app-common</artifactId>
|
| 222 | <version>${project.version}</version>
|
| 223 | <type>jar</type>
|
| 224 | <classifier>classes</classifier>
|
| 225 | </dependency>
|
| 226 | <!-- SDK components -->
|
| 227 | <dependency>
|
| 228 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 229 | <artifactId>epsdk-core</artifactId>
|
| 230 | <version>${epsdk.version}</version>
|
| 231 | </dependency>
|
| 232 | <dependency>
|
| 233 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 234 | <artifactId>epsdk-analytics</artifactId>
|
| 235 | <version>${epsdk.version}</version>
|
| 236 | </dependency>
|
| 237 | <dependency>
|
| 238 | <groupId>org.openecomp.ecompsdkos</groupId>
|
| 239 | <artifactId>epsdk-workflow</artifactId>
|
| 240 | <version>${epsdk.version}</version>
|
| 241 | </dependency>
|
| 242 | <dependency>
|
| 243 | <groupId>com.att.eelf</groupId>
|
| 244 | <artifactId>eelf-core</artifactId>
|
| 245 | <version>1.0.0</version>
|
| 246 | </dependency>
|
| 247 | <dependency>
|
| 248 | <groupId>org.openecomp.vid</groupId>
|
| 249 | <artifactId>vid-app-common</artifactId>
|
| 250 | <version>${version}</version>
|
| 251 | <type>war</type>
|
| 252 | </dependency>
|
| 253 | <dependency>
|
| 254 | <groupId>org.openecomp.vid</groupId>
|
| 255 | <artifactId>vid-app-common</artifactId>
|
| 256 | <version>${version}</version>
|
| 257 | <type>jar</type>
|
| 258 | <classifier>classes</classifier>
|
| 259 | </dependency>
|
| 260 | <!-- Mapper -->
|
| 261 | <dependency>
|
| 262 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 263 | <artifactId>jackson-annotations</artifactId>
|
| 264 | <version>2.6.3</version>
|
| 265 | </dependency>
|
| 266 | <dependency>
|
| 267 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 268 | <artifactId>jackson-core</artifactId>
|
| 269 | <version>2.6.3</version>
|
| 270 | </dependency>
|
| 271 | <dependency>
|
| 272 | <groupId>com.fasterxml.jackson.core</groupId>
|
| 273 | <artifactId>jackson-databind</artifactId>
|
| 274 | <version>2.6.3</version>
|
| 275 | </dependency>
|
| 276 | <dependency>
|
| 277 | <groupId>com.mchange</groupId>
|
| 278 | <artifactId>c3p0</artifactId>
|
| 279 | <version>0.9.5.2</version>
|
| 280 | </dependency>
|
| 281 | <dependency>
|
| 282 | <groupId>io.searchbox</groupId>
|
| 283 | <artifactId>jest</artifactId>
|
| 284 | <version>2.0.0</version>
|
| 285 | <exclusions>
|
| 286 | <exclusion>
|
| 287 | <groupId>commons-logging</groupId>
|
| 288 | <artifactId>commons-logging</artifactId>
|
| 289 | </exclusion>
|
| 290 | </exclusions>
|
| 291 | </dependency>
|
| 292 | <dependency>
|
| 293 | <groupId>javax.servlet</groupId>
|
| 294 | <artifactId>javax.servlet-api</artifactId>
|
| 295 | <version>3.1.0</version>
|
| 296 | </dependency>
|
| 297 | <dependency>
|
| 298 | <groupId>junit</groupId>
|
| 299 | <artifactId>junit</artifactId>
|
| 300 | <version>4.12</version>
|
| 301 | </dependency>
|
| 302 | <!-- Elastic Search -->
|
| 303 | <!-- <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId>
|
| 304 | <version>2.2.0</version> </dependency> -->
|
| 305 | <dependency>
|
| 306 | <groupId>org.json</groupId>
|
| 307 | <artifactId>json</artifactId>
|
| 308 | <version>20160212</version>
|
| 309 | </dependency>
|
| 310 | <dependency>
|
| 311 | <groupId>org.quartz-scheduler</groupId>
|
| 312 | <artifactId>quartz</artifactId>
|
| 313 | <version>2.2.1</version>
|
| 314 | <exclusions>
|
| 315 | <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
|
| 316 | <exclusion>
|
| 317 | <groupId>c3p0</groupId>
|
| 318 | <artifactId>c3p0</artifactId>
|
| 319 | </exclusion>
|
| 320 | </exclusions>
|
| 321 | </dependency>
|
| 322 | <!-- bridge to implement commons-logging using slf4j -->
|
| 323 | <dependency>
|
| 324 | <groupId>org.slf4j</groupId>
|
| 325 | <artifactId>jcl-over-slf4j</artifactId>
|
| 326 | <version>1.7.12</version>
|
| 327 | </dependency>
|
| 328 | <dependency>
|
| 329 | <groupId>org.springframework</groupId>
|
| 330 | <artifactId>spring-context-support</artifactId>
|
| 331 | <version>${springframework.version}</version>
|
| 332 | </dependency>
|
| 333 | <dependency>
|
| 334 | <groupId>org.springframework</groupId>
|
| 335 | <artifactId>spring-core</artifactId>
|
| 336 | <version>${springframework.version}</version>
|
| 337 | <exclusions>
|
| 338 | <exclusion>
|
| 339 | <groupId>commons-logging</groupId>
|
| 340 | <artifactId>commons-logging</artifactId>
|
| 341 | </exclusion>
|
| 342 | </exclusions>
|
| 343 | </dependency>
|
| 344 | <dependency>
|
| 345 | <groupId>org.springframework</groupId>
|
| 346 | <artifactId>spring-test</artifactId>
|
| 347 | <version>${springframework.version}</version>
|
| 348 | </dependency>
|
| 349 | <dependency>
|
| 350 | <groupId>org.springframework</groupId>
|
| 351 | <artifactId>spring-tx</artifactId>
|
| 352 | <version>${springframework.version}</version>
|
| 353 | </dependency>
|
| 354 | <dependency>
|
| 355 | <groupId>org.springframework</groupId>
|
| 356 | <artifactId>spring-web</artifactId>
|
| 357 | <version>${springframework.version}</version>
|
| 358 | </dependency>
|
| 359 | <dependency>
|
| 360 | <groupId>org.springframework</groupId>
|
| 361 | <artifactId>spring-webmvc</artifactId>
|
| 362 | <version>${springframework.version}</version>
|
| 363 | </dependency>
|
| 364 | </dependencies>
|
| 365 | </project>
|