activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: update osgi bundle and make postgres dependency optional
Date Fri, 03 Jun 2016 21:40:00 GMT
update osgi bundle and make postgres dependency optional


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/eaeba6f8
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/eaeba6f8
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/eaeba6f8

Branch: refs/heads/master
Commit: eaeba6f809752ec3356adc991b95a6ac94b5e21a
Parents: a3efafd
Author: Dejan Bosanac <dejan@nighttale.net>
Authored: Fri Jun 3 18:59:41 2016 +0200
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Fri Jun 3 17:39:49 2016 -0400

----------------------------------------------------------------------
 artemis-server-osgi/pom.xml                                      | 4 ++++
 .../artemis/tests/integration/karaf/ArtemisFeatureTest.java      | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/eaeba6f8/artemis-server-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/artemis-server-osgi/pom.xml b/artemis-server-osgi/pom.xml
index 2ab3fda..50e43fd 100644
--- a/artemis-server-osgi/pom.xml
+++ b/artemis-server-osgi/pom.xml
@@ -116,6 +116,10 @@
 				<configuration>
 					<instructions>
 						<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
+            <Import-Package>
+              org.postgresql*;resolution:=optional,
+              *
+            </Import-Package>
 						<_exportcontents>*</_exportcontents>
 					</instructions>
 				</configuration>

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/eaeba6f8/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java
index 134dd9a..75a12a8 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/karaf/ArtemisFeatureTest.java
@@ -16,13 +16,13 @@
  */
 package org.apache.activemq.artemis.tests.integration.karaf;
 
+import org.apache.activemq.artemis.tests.util.ActiveMQTestBase;
 import org.apache.karaf.jaas.boot.principal.RolePrincipal;
 import org.apache.karaf.jaas.boot.principal.UserPrincipal;
 import org.apache.karaf.shell.api.console.Session;
 import org.apache.karaf.shell.api.console.SessionFactory;
 import org.apache.log4j.Logger;
 import org.apache.qpid.jms.JmsConnectionFactory;
-import org.junit.Assert;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Configuration;
@@ -66,7 +66,7 @@ import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.karafDist
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.logLevel;
 
 @RunWith(PaxExam.class)
-public class ArtemisFeatureTest extends Assert {
+public class ArtemisFeatureTest extends ActiveMQTestBase {
 
    private static Logger LOG = Logger.getLogger(ArtemisFeatureTest.class.getName());
 


Mime
View raw message