Add junit coverage to TimedOutException class
[appc.git] / appc-common / pom.xml
index e234e89..4999401 100644 (file)
@@ -1,13 +1,35 @@
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 Amdocs
+  ================================================================================
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ============LICENSE_END=========================================================
+  ECOMP is a trademark and service mark of AT&T Intellectual Property.
+  -->
 <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">
   <modelVersion>4.0.0</modelVersion>
   <parent>
-    <groupId>org.openecomp.appc</groupId>
+    <groupId>org.onap.appc</groupId>
     <artifactId>appc</artifactId>
-               <version>1.0.0</version>
-       </parent>
-       <artifactId>appc-common</artifactId>
-       <name>APP-C Common</name>
-       <description>Common library shared across all modules</description>
+               <version>1.3.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>appc-common</artifactId>
+  <name>APP-C Common</name>
+  <packaging>bundle</packaging>
+  <description>Common library shared across all modules</description>
 
 <!-- <packaging>bundle</packaging> -->
 
@@ -63,7 +85,7 @@
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
       <artifactId>httpclient</artifactId>
-      <version>4.5.1</version>
+      <version>4.5.3</version>
     </dependency>
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-annotations</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.onap.ccsdk.sli.core</groupId>
+      <artifactId>dblib-provider</artifactId>
+      </dependency>
+  <dependency>
+    <groupId>org.mockito</groupId>
+    <artifactId>mockito-core</artifactId>
+    <scope>test</scope>
+  </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-reflect</artifactId>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-module-junit4</artifactId>
+      </dependency>
+      <dependency>
+          <groupId>org.powermock</groupId>
+          <artifactId>powermock-api-mockito</artifactId>
+      </dependency>
 
   </dependencies>
 
         <configuration>
           <instructions>
             <Bundle-SymbolicName>appc-common</Bundle-SymbolicName>
-            <!-- <Export-Package>org.openecomp.appc.provider</Export-Package> -->
-            <Import-Package>!com.att,!javax.crypto.*, *</Import-Package>
-            <Embed-Dependency>eelf-core, jasypt</Embed-Dependency>
+            <Export-Package>
+              org.onap.appc.*, com.att.eelf.*, ch.qos.logback.*, org.jasypt.*
+            </Export-Package>
+            <Import-Package>*;resolution:=optional</Import-Package>
+            <Embed-Dependency>eelf-core, logback-core, logback-classic, jasypt</Embed-Dependency>
             <Embed-Transitive>true</Embed-Transitive>
           </instructions>
         </configuration>
       <plugin>
         <groupId>com.att.eelf</groupId>
         <artifactId>eelf-maven-plugin</artifactId>
-        <version>${eelf.maven.plugin.version}</version>
+        <version>1.0.0</version>
         <executions>
           <execution>
             <id>validation</id>
             <configuration>
               <resources>
                 <resource>
-                  <messageClass>org.openecomp.appc.i18n.Msg</messageClass>
+                  <messageClass>org.onap.appc.i18n.Msg</messageClass>
                 </resource>
               </resources>
             </configuration>
               <outputFile>messages.html</outputFile>
               <resources>
                 <resource>
-                  <messageClass>org.openecomp.appc.i18n.Msg</messageClass>
+                  <messageClass>org.onap.appc.i18n.Msg</messageClass>
                   <header><![CDATA[<p> <ac:macro ac:name="toc" /> </p>]]></header>
                 </resource>
               </resources>
         </executions>
         <dependencies>
           <dependency>
-            <groupId>org.openecomp.appc</groupId>
+            <groupId>org.onap.appc</groupId>
             <artifactId>appc-common</artifactId>
             <version>${project.version}</version>
           </dependency>