deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject deltaspike git commit: DELTASPIKE-999 add quartz to the test-deployment-archive to avoid issues with containers which don't support optional classes
Date Fri, 09 Oct 2015 18:41:51 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 6c476043e -> c7555daae


DELTASPIKE-999 add quartz to the test-deployment-archive to avoid issues with containers which
don't support optional classes


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

Branch: refs/heads/master
Commit: c7555daae221f06c325b2366376982a4c78f2a3b
Parents: 6c47604
Author: gpetracek <gpetracek@apache.org>
Authored: Fri Oct 9 20:40:54 2015 +0200
Committer: gpetracek <gpetracek@apache.org>
Committed: Fri Oct 9 20:40:54 2015 +0200

----------------------------------------------------------------------
 .../deltaspike/test/scheduler/custom/ScopeNotStartedTest.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/c7555daa/deltaspike/modules/scheduler/impl/src/test/java/org/apache/deltaspike/test/scheduler/custom/ScopeNotStartedTest.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/scheduler/impl/src/test/java/org/apache/deltaspike/test/scheduler/custom/ScopeNotStartedTest.java
b/deltaspike/modules/scheduler/impl/src/test/java/org/apache/deltaspike/test/scheduler/custom/ScopeNotStartedTest.java
index b4b0e5f..ccd417b 100644
--- a/deltaspike/modules/scheduler/impl/src/test/java/org/apache/deltaspike/test/scheduler/custom/ScopeNotStartedTest.java
+++ b/deltaspike/modules/scheduler/impl/src/test/java/org/apache/deltaspike/test/scheduler/custom/ScopeNotStartedTest.java
@@ -29,6 +29,7 @@ import org.jboss.shrinkwrap.api.asset.EmptyAsset;
 import org.jboss.shrinkwrap.api.asset.StringAsset;
 import org.jboss.shrinkwrap.api.spec.JavaArchive;
 import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.jboss.shrinkwrap.resolver.api.maven.Maven;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.quartz.Job;
@@ -55,6 +56,10 @@ public class ScopeNotStartedTest
 
         return ShrinkWrap.create(WebArchive.class, archiveName + ".war")
                 .addAsLibraries(ArchiveUtils.getDeltaSpikeCoreAndSchedulerArchive())
+                .addAsLibraries(Maven.resolver().loadPomFromFile("pom.xml").resolve(
+                        "org.quartz-scheduler:quartz")
+                        .withTransitivity()
+                        .asFile())
                 .addAsLibraries(testJar)
                 .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml");
     }


Mime
View raw message