Exclude jackson dependency 69/27169/1 v1.0.0
authorSripad <sg481n@att.com>
Fri, 29 Dec 2017 19:34:01 +0000 (19:34 +0000)
committerSripad <sg481n@att.com>
Fri, 29 Dec 2017 19:34:07 +0000 (19:34 +0000)
exclude the jackson-mapper dependency which is causing license
issue.

Issue-ID: AAF-90
Change-Id: I821e24ad579fe31c3ea1a4a1f0acd4591e2871cc
Signed-off-by: Sripad <sg481n@att.com>
cass/pom.xml

index cc7e24a..eae576b 100644 (file)
@@ -1,26 +1,18 @@
-<!--\r
-  ============LICENSE_START====================================================\r
-  * org.onap.aaf\r
-  * ===========================================================================\r
-  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
-  * ===========================================================================\r
-  * Licensed under the Apache License, Version 2.0 (the "License");\r
-  * you may not use this file except in compliance with the License.\r
-  * You may obtain a copy of the License at\r
-  * \r
-   *      http://www.apache.org/licenses/LICENSE-2.0\r
-  * \r
-   * Unless required by applicable law or agreed to in writing, software\r
-  * distributed under the License is distributed on an "AS IS" BASIS,\r
-  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-  * See the License for the specific language governing permissions and\r
-  * limitations under the License.\r
-  * ============LICENSE_END====================================================\r
-  *\r
-  * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
-  *\r
--->\r
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
+<!-- ============LICENSE_START==================================================== \r
+       * org.onap.aaf * =========================================================================== \r
+       * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * =========================================================================== \r
+       * Licensed under the Apache License, Version 2.0 (the "License"); * you may \r
+       not use this file except in compliance with the License. * You may obtain \r
+       a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * \r
+       * Unless required by applicable law or agreed to in writing, software * distributed \r
+       under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES \r
+       OR CONDITIONS OF ANY KIND, either express or implied. * See the License for \r
+       the specific language governing permissions and * limitations under the License. \r
+       * ============LICENSE_END==================================================== \r
+       * * ECOMP is a trademark and service mark of AT&T Intellectual Property. \r
+       * -->\r
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
        <parent>\r
                <groupId>org.onap.aaf.cadi</groupId>\r
                <artifactId>parent</artifactId>\r
        <url>https://github.com/att/AAF</url>\r
        <description>CADI</description>\r
        <artifactId>cadi-cass</artifactId>\r
-<properties>\r
+       <properties>\r
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
                <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
-               <!--  SONAR  -->\r
+               <!-- SONAR -->\r
                <sonar.skip>true</sonar.skip>\r
-                <jacoco.version>0.7.7.201606060606</jacoco.version>\r
-           <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>\r
-           <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>\r
-           <!-- Default Sonar configuration -->\r
-           <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
-           <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>\r
-           <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->\r
-           <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>\r
-        <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+               <jacoco.version>0.7.7.201606060606</jacoco.version>\r
+               <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>\r
+               <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>\r
+               <!-- Default Sonar configuration -->\r
+               <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
+               <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>\r
+               <!-- Note: This list should match jacoco-maven-plugin's exclusion list \r
+                       below -->\r
+               <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>\r
+               <nexusproxy>https://nexus.onap.org</nexusproxy>\r
                <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
                <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
                <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
                <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>\r
        </properties>\r
        <dependencies>\r
-       <dependency>\r
-                       <groupId>org.mockito</groupId>\r
-                       <artifactId>mockito-all</artifactId>\r
-                       <version>1.9.5</version>\r
-                       <scope>test</scope>\r
-                       </dependency>\r
+               <dependency>\r
+                       <groupId>ch.qos.logback</groupId>\r
+                       <artifactId>logback-classic</artifactId>\r
+                       <version>1.2.0</version>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>org.apache.httpcomponents</groupId>\r
+                       <artifactId>httpclient</artifactId>\r
+                       <version>4.5.3</version>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>io.netty</groupId>\r
+                       <artifactId>netty-all</artifactId>\r
+                       <version>4.0.37.Final</version>\r
+               </dependency>\r
+               <dependency>\r
+                       <groupId>org.mockito</groupId>\r
+                       <artifactId>mockito-all</artifactId>\r
+                       <version>1.9.5</version>\r
+                       <scope>test</scope>\r
+               </dependency>\r
                <dependency>\r
                        <groupId>org.onap.aaf.cadi</groupId>\r
                        <artifactId>cadi-aaf</artifactId>\r
                </dependency>\r
-               \r
+\r
                <dependency>\r
-               <groupId>org.apache.cassandra</groupId>\r
-               <artifactId>cassandra-all</artifactId>\r
-               <version>2.1.14</version>\r
-               <scope>compile</scope>\r
-               <exclusions>\r
-                     <exclusion> \r
-                       <groupId>org.slf4j</groupId>\r
-                       <artifactId>slf4j-log4j12</artifactId>\r
-                     </exclusion>\r
-                     <exclusion> \r
-                       <groupId>log4j</groupId>\r
-                       <artifactId>log4j</artifactId>\r
-                     </exclusion>\r
-                   </exclusions> \r
+                       <groupId>org.apache.cassandra</groupId>\r
+                       <artifactId>cassandra-all</artifactId>\r
+                       <version>2.1.14</version>\r
+                       <scope>compile</scope>\r
+                       <exclusions>\r
+                               <exclusion>\r
+                                       <groupId>org.slf4j</groupId>\r
+                                       <artifactId>slf4j-log4j12</artifactId>\r
+                               </exclusion>\r
+                               <exclusion>\r
+                                       <groupId>log4j</groupId>\r
+                                       <artifactId>log4j</artifactId>\r
+                               </exclusion>\r
+                               <exclusion>\r
+                                       <groupId>org.codehaus.jackson</groupId>\r
+                                       <artifactId>jackson-mapper-asl</artifactId>\r
+                               </exclusion>\r
+                       </exclusions>\r
                </dependency>\r
-               \r
+\r
        </dependencies>\r
        <build>\r
                <plugins>\r
                                <groupId>org.apache.maven.plugins</groupId>\r
                                <artifactId>maven-jarsigner-plugin</artifactId>\r
                        </plugin>\r
-               \r
-               <plugin>\r
-                       <groupId>org.apache.maven.plugins</groupId>\r
-                       <artifactId>maven-javadoc-plugin</artifactId>\r
-                       <version>2.10.4</version>\r
-                       <configuration>\r
-                       <failOnError>false</failOnError>\r
-                       </configuration>\r
-                       <executions>\r
-                               <execution>\r
-                                       <id>attach-javadocs</id>\r
-                                       <goals>\r
-                                               <goal>jar</goal>\r
-                                       </goals>\r
-                               </execution>\r
-                       </executions>\r
-               </plugin> \r
-          \r
-          \r
-              <plugin>\r
-                     <groupId>org.apache.maven.plugins</groupId>\r
-                     <artifactId>maven-source-plugin</artifactId>\r
-                     <version>2.2.1</version>\r
-                     <executions>\r
-                       <execution>\r
-                         <id>attach-sources</id>\r
-                         <goals>\r
-                           <goal>jar-no-fork</goal>\r
-                         </goals>\r
-                       </execution>\r
-                     </executions>\r
-                   </plugin>\r
-  <plugin>\r
+\r
+                       <plugin>\r
+                               <groupId>org.apache.maven.plugins</groupId>\r
+                               <artifactId>maven-javadoc-plugin</artifactId>\r
+                               <version>2.10.4</version>\r
+                               <configuration>\r
+                                       <failOnError>false</failOnError>\r
+                               </configuration>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>attach-javadocs</id>\r
+                                               <goals>\r
+                                                       <goal>jar</goal>\r
+                                               </goals>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+\r
+\r
+                       <plugin>\r
+                               <groupId>org.apache.maven.plugins</groupId>\r
+                               <artifactId>maven-source-plugin</artifactId>\r
+                               <version>2.2.1</version>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>attach-sources</id>\r
+                                               <goals>\r
+                                                       <goal>jar-no-fork</goal>\r
+                                               </goals>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+                       <plugin>\r
                                <groupId>org.sonatype.plugins</groupId>\r
                                <artifactId>nexus-staging-maven-plugin</artifactId>\r
                                <version>1.6.7</version>\r
                                        <stagingProfileId>176c31dfe190a</stagingProfileId>\r
                                        <serverId>ecomp-staging</serverId>\r
                                </configuration>\r
-                       </plugin> \r
-                       \r
-<plugin>\r
-          <groupId>org.jacoco</groupId>\r
-          <artifactId>jacoco-maven-plugin</artifactId>\r
-          <version>${jacoco.version}</version>\r
-          <configuration>\r
-            <excludes>\r
-              <exclude>**/gen/**</exclude>\r
-              <exclude>**/generated-sources/**</exclude>\r
-              <exclude>**/yang-gen/**</exclude>\r
-              <exclude>**/pax/**</exclude>\r
-            </excludes>\r
-          </configuration>\r
-          <executions>\r
-\r
-            <execution>\r
-              <id>pre-unit-test</id>\r
-              <goals>\r
-                <goal>prepare-agent</goal>\r
-              </goals>\r
-              <configuration>\r
-                <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
-                <propertyName>surefireArgLine</propertyName>\r
-              </configuration>\r
-            </execution>\r
-            \r
-       \r
-            <execution>\r
-              <id>post-unit-test</id>\r
-              <phase>test</phase>\r
-              <goals>\r
-                <goal>report</goal>\r
-              </goals>\r
-              <configuration>\r
-                <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
-                <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
-              </configuration>\r
-            </execution>\r
-            <execution>\r
-              <id>pre-integration-test</id>\r
-              <phase>pre-integration-test</phase>\r
-              <goals>\r
-                <goal>prepare-agent</goal>\r
-              </goals>\r
-              <configuration>\r
-                <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
-\r
-                <propertyName>failsafeArgLine</propertyName>\r
-              </configuration>\r
-            </execution>\r
-\r
-       \r
-            <execution>\r
-              <id>post-integration-test</id>\r
-              <phase>post-integration-test</phase>\r
-              <goals>\r
-                <goal>report</goal>\r
-              </goals>\r
-              <configuration>\r
-                <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
-                <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
-              </configuration>\r
-            </execution>\r
-          </executions>\r
-        </plugin>      \r
-\r
-                       \r
+                       </plugin>\r
+\r
+                       <plugin>\r
+                               <groupId>org.jacoco</groupId>\r
+                               <artifactId>jacoco-maven-plugin</artifactId>\r
+                               <version>${jacoco.version}</version>\r
+                               <configuration>\r
+                                       <excludes>\r
+                                               <exclude>**/gen/**</exclude>\r
+                                               <exclude>**/generated-sources/**</exclude>\r
+                                               <exclude>**/yang-gen/**</exclude>\r
+                                               <exclude>**/pax/**</exclude>\r
+                                       </excludes>\r
+                               </configuration>\r
+                               <executions>\r
+\r
+                                       <execution>\r
+                                               <id>pre-unit-test</id>\r
+                                               <goals>\r
+                                                       <goal>prepare-agent</goal>\r
+                                               </goals>\r
+                                               <configuration>\r
+                                                       <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
+                                                       <propertyName>surefireArgLine</propertyName>\r
+                                               </configuration>\r
+                                       </execution>\r
+\r
+\r
+                                       <execution>\r
+                                               <id>post-unit-test</id>\r
+                                               <phase>test</phase>\r
+                                               <goals>\r
+                                                       <goal>report</goal>\r
+                                               </goals>\r
+                                               <configuration>\r
+                                                       <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
+                                                       <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
+                                               </configuration>\r
+                                       </execution>\r
+                                       <execution>\r
+                                               <id>pre-integration-test</id>\r
+                                               <phase>pre-integration-test</phase>\r
+                                               <goals>\r
+                                                       <goal>prepare-agent</goal>\r
+                                               </goals>\r
+                                               <configuration>\r
+                                                       <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
+\r
+                                                       <propertyName>failsafeArgLine</propertyName>\r
+                                               </configuration>\r
+                                       </execution>\r
+\r
+\r
+                                       <execution>\r
+                                               <id>post-integration-test</id>\r
+                                               <phase>post-integration-test</phase>\r
+                                               <goals>\r
+                                                       <goal>report</goal>\r
+                                               </goals>\r
+                                               <configuration>\r
+                                                       <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
+                                                       <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
+                                               </configuration>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+\r
+\r
                </plugins>\r
        </build>\r
-               <distributionManagement>\r
+       <distributionManagement>\r
                <repository>\r
                        <id>ecomp-releases</id>\r
                        <name>AAF Release Repository</name>\r