From e71ad4704a4a16874be65f40713009e13ce4eabf Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Tue, 11 Dec 2018 19:59:13 +0530 Subject: added files to convert project to spring boot also made changes to pom to add required dependencies. fix junit cases, upgrading to mockito 2.x Issue-ID: MUSIC-212 Change-Id: Ieeeaa6d62e03e962534182183aae8ae838d93eba Signed-off-by: Sandeep J --- pom.xml | 947 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 496 insertions(+), 451 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 7be084f9..2c90b00d 100755 --- a/pom.xml +++ b/pom.xml @@ -1,464 +1,509 @@ - + + - 4.0.0 - org.onap.music - dev-MUSIC-cassandra - jar - 3.2.1-SNAPSHOT - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + org.onap.music + dev-MUSIC-cassandra + war + 3.2.1-SNAPSHOT + This is the MUSIC REST interface, packaged as a war file. - - UTF-8 - 1.19 - 2.25.1 - 2.0.1 - 3.4.0 - 3.4.11 + + org.springframework.boot + spring-boot-starter-parent + 2.1.0.RELEASE + + - UTF-8 - UTF-8 - - https://nexus.onap.org - /content/repositories/snapshots/ - /content/repositories/releases/ - /content/repositories/staging/ - /content/sites/site/org/onap/music/${project.version} - - ${maven.build.timestamp} - yyyy.MM.dd.HH.mm - - ${project.version}-${timestamp} - ${project.version}-latest - + + UTF-8 + 1.19 + 2.25.1 + 2.0.1 + 3.4.0 + 3.4.11 - - - ecomp-releases - ECOMP Release Repository - ${onap.nexus.url}/${releaseNexusPath} - - - ecomp-snapshots - Snapshot Repository - ${nexusproxy}/${snapshotNexusPath} - - - ecomp-staging - Staging Repository - ${nexusproxy}/${stagingNexusPath} - - + UTF-8 + UTF-8 + + https://nexus.onap.org + /content/repositories/snapshots/ + /content/repositories/releases/ + /content/repositories/staging/ + /content/sites/site/org/onap/music/${project.version} + + ${maven.build.timestamp} + yyyy.MM.dd.HH.mm + + ${project.version}-${timestamp} + ${project.version}-latest + - - dev-MUSIC-cassandra - src/main/java - src/main/webapp/WEB-INF/classes - src/test/java - target/test-classes - validate - - - src/main/resources - true - - - - - maven-eclipse-plugin - 2.9 - - - org.springframework.ide.eclipse.core.springnature - - - org.springframework.ide.eclipse.core.springbuilder - - true - true - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - 1.7 - 1.7 - - jar/** - - - - - maven-war-plugin - 2.4 - - WebContent - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - make-a-jar - compile - - jar - - - - **/*.xml - **/*.properties - **/Sample* - - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.4 - - - install - - install-file - - - jar - ${project.artifactId} - ${project.groupId} - ${project.version} - ${project.build.directory}/${project.artifactId}.jar - - - - - - + + + ecomp-releases + ECOMP Release Repository + ${onap.nexus.url}/${releaseNexusPath} + + + ecomp-snapshots + Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} + + + ecomp-staging + Staging Repository + ${nexusproxy}/${stagingNexusPath} + + - - - - javax.servlet - servlet-api - 2.4 - provided - - - javax.servlet - javax.servlet-api - 3.0.1 - provided - - - - - - ch.qos.logback - logback-core - 1.2.3 - - - org.slf4j - slf4j-log4j12 - - - - - ch.qos.logback - logback-classic - 1.2.3 - - - org.slf4j - slf4j-log4j12 - - - - - com.att.eelf - eelf-core - 1.0.1-oss - - - - - - com.datastax.cassandra - cassandra-driver-core - ${cassandra.version} - - - - - - org.apache.zookeeper - zookeeper - ${zookeeper.version} - - - org.slf4j - slf4j-log4j12 - - - - - - - - com.sun.jersey - jersey-client - ${jersey1.version} - - - com.sun.jersey - jersey-server - ${jersey1.version} - - - com.sun.jersey - jersey-json - ${jersey1.version} - - - com.sun.jersey - jersey-servlet - ${jersey1.version} - - + + dev-MUSIC-cassandra + src/main/java + src/main/webapp/WEB-INF/classes + src/test/java + target/test-classes + validate + + + src/main/resources + true + + + + + maven-eclipse-plugin + 2.9 + + + org.springframework.ide.eclipse.core.springnature + + + org.springframework.ide.eclipse.core.springbuilder + + true + true + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 + + 1.7 + 1.7 + + jar/** + + + + + maven-war-plugin + 2.4 + + WebContent + false + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + make-a-jar + compile + + jar + + + + **/*.xml + **/*.properties + **/Sample* + + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.4 + + + install + + install-file + + + jar + ${project.artifactId} + ${project.groupId} + ${project.version} + ${project.build.directory}/${project.artifactId}.jar + + + + + + - - org.apache.commons - commons-jcs-core - 2.2 - - - commons-codec - commons-codec - 1.11 - + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + javax.servlet + servlet-api + 2.4 + provided + + + javax.servlet + javax.servlet-api + 3.0.1 + provided + + + + + + + io.springfox + springfox-swagger2 + 2.4.0 + + + io.springfox + springfox-swagger-ui + 2.4.0 + + + + + ch.qos.logback + logback-core + 1.2.3 + + + org.slf4j + slf4j-log4j12 + + + + + ch.qos.logback + logback-classic + 1.2.3 + + + org.slf4j + slf4j-log4j12 + + + + + com.att.eelf + eelf-core + 1.0.1-oss + + + + + com.datastax.cassandra + cassandra-driver-core + ${cassandra.version} + + + io.dropwizard.metrics + metrics-core + 3.1.0 + + + + org.springframework.boot + spring-boot-starter-data-cassandra + + + + org.apache.zookeeper + zookeeper + ${zookeeper.version} + + + org.slf4j + slf4j-log4j12 + + + + + + + com.sun.jersey + jersey-client + ${jersey1.version} + + + com.sun.jersey + jersey-server + ${jersey1.version} + + + com.sun.jersey + jersey-json + ${jersey1.version} + + + com.sun.jersey + jersey-servlet + ${jersey1.version} + + + + + org.apache.commons + commons-jcs-core + 2.2 + + + commons-codec + commons-codec + 1.11 + + + + + junit + junit + 4.12 + test + + + org.cassandraunit + cassandra-unit + 3.3.0.2 + test + + + org.apache.curator + curator-test + 2.3.0 + + + org.apache.zookeeper + zookeeper + + + org.slf4j + slf4j-log4j12 + + + test + + + + io.netty + netty-handler + 4.1.30.Final + + + com.fasterxml.jackson.core + jackson-databind + 2.9.4 + + + org.apache.httpcomponents + httpclient + 4.5.3 + + + io.swagger + swagger-jersey-jaxrs + 1.5.18 + + + com.google.guava + guava + 18.0 + + + org.mindrot + jbcrypt + 0.4 + + + io.netty + netty-buffer + 4.1.30.Final + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + true + true + true + + https://docs.oracle.com/javase/7/docs/api/ + https://tomcat.apache.org/tomcat-7.0-doc/jspapi/ + http://docs.oracle.com/javaee/7/api/ + + + + + + + + docker + + + + io.fabric8 + docker-maven-plugin + 0.19.1 + + true + 1.23 + nexus3.onap.org:10003 + + + + onap/music/music + docker_music + + true + + ${docker.tag} + ${docker.latest.tag} + + ${project.basedir} + + artifact + + + + + + onap/music/cassandra_3_11 + docker_cassandra_sec + + true + + ${docker.tag} + ${docker.latest.tag} + + ${project.basedir}/distribution/cassandra + + + + + onap/music/cassandra_job + docker_cassandra_job + + true + + ${docker.tag} + ${docker.latest.tag} + + ${project.basedir}/distribution/cassandra_job + + + + + + + + + + + clean-images + pre-clean + + remove + + + true + music + + + + generate-images + package + + build + + + + push-images + deploy + + push + + + onap/music/music + + + + + + + + + + + ecomp-releases + Release Repository + ${nexusproxy}/${releaseNexusPath} + + + ecomp-snapshots + Snapshot Repository + ${nexusproxy}/${snapshotNexusPath} + + + + ecomp-site + dav:${nexusproxy}${sitePath} + + - - - junit - junit - 4.12 - test - - - org.cassandraunit - cassandra-unit - 3.3.0.2 - test - - - - org.apache.curator - curator-test - 2.3.0 - - - org.apache.zookeeper - zookeeper - - - org.slf4j - slf4j-log4j12 - - - test - - - org.mockito - mockito-all - 1.9.0 - test - - - - io.netty - netty-handler - 4.0.56.Final - - - com.fasterxml.jackson.core - jackson-databind - 2.9.4 - - - org.apache.httpcomponents - httpclient - 4.5.3 - - - io.swagger - swagger-jersey-jaxrs - 1.5.18 - - - com.google.guava - guava - 19.0 - - - org.mindrot - jbcrypt - 0.4 - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.3 - - true - true - true - - https://docs.oracle.com/javase/7/docs/api/ - https://tomcat.apache.org/tomcat-7.0-doc/jspapi/ - http://docs.oracle.com/javaee/7/api/ - - - - - - - - docker - - - - io.fabric8 - docker-maven-plugin - 0.19.1 - - true - 1.23 - nexus3.onap.org:10003 - - - - onap/music/music - docker_music - - true - - ${docker.tag} - ${docker.latest.tag} - - ${project.basedir} - - artifact - - - - - - onap/music/cassandra_music - docker_cassandra - - true - - 3.0-${timestamp} - 3.0-latest - - ${project.basedir}/distribution/cassandra - - - - - - - - - - - clean-images - pre-clean - - remove - - - true - music - - - - generate-images - package - - build - - - - push-images - deploy - - push - - - onap/music/music - - - - - - - - - - - ecomp-releases - Release Repository - ${nexusproxy}/${releaseNexusPath} - - - ecomp-snapshots - Snapshot Repository - ${nexusproxy}/${snapshotNexusPath} - - - - ecomp-site - dav:${nexusproxy}${sitePath} - - -- cgit 1.2.3-korg