Clean up unused imports and duplicate version 53/11153/1
authorPamela Dragosh <pdragosh@research.att.com>
Fri, 8 Sep 2017 15:58:04 +0000 (11:58 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Fri, 8 Sep 2017 15:58:52 +0000 (11:58 -0400)
Seems oparent sets the version resulting in Eclipse generating warnings for the pom.
Also cleaned up unused imports.

Issue-ID: POLICY-216
Change-Id: I634025f67aa8847d1c2b6c76b0c8c09336886594
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
integrity-audit/src/test/java/org/onap/policy/common/ia/test/DbAuditTest.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/DbDAOTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementEntityTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateManagementTest.java
integrity-monitor/src/test/java/org/onap/policy/common/im/test/StateTransitionTest.java
pom.xml

index e05ae28..0ee0a72 100644 (file)
@@ -41,7 +41,6 @@ import javax.persistence.Query;
 //import org.apache.commons.logging.LogFactory;
 import org.junit.After;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import org.onap.policy.common.ia.DbAudit;
index e781972..326ada5 100644 (file)
@@ -46,7 +46,6 @@ import javax.persistence.criteria.Root;
 
 import org.junit.After;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import org.onap.policy.common.ia.DbDAO;
index 8a59a26..743fd26 100644 (file)
@@ -38,12 +38,7 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
-//import org.apache.commons.logging.Log;
-//import org.apache.commons.logging.LogFactory;
-
-
 
 import org.onap.policy.common.im.IntegrityMonitor;
 import org.onap.policy.common.im.IntegrityMonitorProperties;
index b61c6b7..68e53db 100644 (file)
@@ -33,7 +33,6 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 //import org.apache.commons.logging.Log;
 //import org.apache.commons.logging.LogFactory;
index 52f359f..53e0825 100644 (file)
@@ -27,7 +27,6 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.onap.policy.common.im.StateManagement;
 import org.onap.policy.common.im.StandbyStatusException; 
index 29ec5e4..ee8ea10 100644 (file)
@@ -26,10 +26,7 @@ import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
-import org.junit.Ignore;
 import org.junit.Test;
-//import org.apache.commons.logging.Log;
-//import org.apache.commons.logging.LogFactory;
 
 import org.onap.policy.common.im.StateTransition;
 import org.onap.policy.common.im.StateElement;
diff --git a/pom.xml b/pom.xml
index d212971..56fb446 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -69,7 +69,6 @@
                        <plugin>
                                <groupId>org.sonatype.plugins</groupId>
                                <artifactId>nexus-staging-maven-plugin</artifactId>
-                               <version>1.6.7</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <nexusUrl>${nexusproxy}</nexusUrl>
@@ -80,7 +79,6 @@
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-deploy-plugin</artifactId>
-                               <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
                                <configuration>
                                        <skip />
                                </configuration>
@@ -88,7 +86,6 @@
                        <plugin>
                          <groupId>org.apache.maven.plugins</groupId>
                          <artifactId>maven-site-plugin</artifactId>
-                         <version>3.6</version>
                          <dependencies>
                            <dependency>
                              <groupId>org.apache.maven.wagon</groupId>