Migrate servlet libraries 76/102776/1
authorTschaen, Brendan <ctschaen@att.com>
Mon, 2 Mar 2020 20:52:00 +0000 (15:52 -0500)
committerTschaen, Brendan <ctschaen@att.com>
Mon, 2 Mar 2020 20:53:31 +0000 (15:53 -0500)
music-core does not need these libraries, only music-rest does.
Therefore, the dependencies should be in music-rest pom

Issue-ID: MUSIC-574
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Change-Id: I4479bb158b7a1b498f4abb5ca52450ee2e5245bf

music-core/pom.xml
music-rest/pom.xml

index 687ec74..cd1930e 100755 (executable)
         <java.version>1.8</java.version>
         <jaxrs.version>2.0.1</jaxrs.version>
         <cassandra.version>3.6.0</cassandra.version>
-        <!--nexus -->
-<!--
-        <nexusproxy>https://nexus.onap.org</nexusproxy>
-        <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
-        <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
-        <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
-        <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
-        <sitePath>/content/sites/site/org/onap/music/${project.version}</sitePath>
--->
-        <!--maven -->
-<!--
-        <timestamp>${maven.build.timestamp}</timestamp>
-        <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
--->
-        <!--skip checkstyle -->
-<!--
-        <maven.check.skip>false</maven.check.skip>
--->
-        <!--docker -->
-<!--
-        <docker.tag>${project.version}-${timestamp}</docker.tag>
-        <docker.latest.tag>${project.version}-latest</docker.latest.tag>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <maven.compiler.target>1.8</maven.compiler.target>
--->
     </properties>
 
     <repositories>
             <testResource>
                 <directory>${project.basedir}/src/test/resources</directory>
             </testResource>
-            <!-- <testResource>
-                <directory>${project.basedir}/src/main/resources</directory>
-            </testResource> -->
         </testResources>
         <plugins>
-<!--
-            <plugin>
-                <artifactId>maven-war-plugin</artifactId>
-                <version>2.4</version>
-                <configuration>
-                    <warSourceDirectory>WebContent</warSourceDirectory>
-                    <failOnMissingWebXml>false</failOnMissingWebXml>
-                </configuration>
-            </plugin>
--->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>
                         </goals>
                         <configuration>
                             <excludes>
-                                <!--<exclude>**/*.xml</exclude>
-                                <exclude>**/*.properties</exclude>-->
                                 <exclude>**/Sample*</exclude>
                             </excludes>
                         </configuration>
     </build>
 
     <dependencies>
-        <!-- Development -->
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <version>2.4</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>javax.servlet-api</artifactId>
-            <version>3.0.1</version>
-            <scope>provided</scope>
-        </dependency>
-        <!-- /Development -->
         <!-- Logging -->
         <dependency>
             <groupId>ch.qos.logback</groupId>
             <groupId>com.datastax.cassandra</groupId>
             <artifactId>cassandra-driver-extras</artifactId>
             <version>${cassandra.version}</version>
-        </dependency>        <!-- /Cassandra -->
+        </dependency>
+        <!-- /Cassandra -->
         <dependency>
             <groupId>org.apache.commons</groupId>
             <artifactId>commons-jcs-core</artifactId>
index f949ae5..9a5ad21 100755 (executable)
     </dependencyManagement>
 
     <dependencies>
+        <!-- Development -->
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>javax.servlet-api</artifactId>
+            <version>4.0.1</version>
+        </dependency>
         <!-- Springboot -->
         <dependency>
             <groupId>org.springframework.boot</groupId>