This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git


The following commit(s) were added to refs/heads/master by this push:
     new 3cea66769 get rid of warp/drone/graphene we dont use any features, not 
active maintened, no chance to support htmlunit3 with those old versions and we 
dont even use real features of graphene... we just inject a WebDriver via drone
3cea66769 is described below

commit 3cea66769cdf4623f58d1c4d199fa9c226c01c66
Author: Thomas Andraschko <[email protected]>
AuthorDate: Wed Feb 28 14:28:34 2024 +0100

    get rid of warp/drone/graphene
    we dont use any features, not active maintened, no chance to support 
htmlunit3 with those old versions and we dont even use real features of 
graphene... we just inject a WebDriver via drone
---
 .../deltaspike/test/jsf/impl/util/ArchiveUtils.java  | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git 
a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/util/ArchiveUtils.java
 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/util/ArchiveUtils.java
index 7fd50e9de..82d2027e5 100644
--- 
a/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/util/ArchiveUtils.java
+++ 
b/deltaspike/modules/jsf/impl/src/test/java/org/apache/deltaspike/test/jsf/impl/util/ArchiveUtils.java
@@ -18,17 +18,11 @@
  */
 package org.apache.deltaspike.test.jsf.impl.util;
 
-import org.apache.deltaspike.test.category.WebProfileCategory;
 import org.apache.deltaspike.test.utils.ShrinkWrapArchiveUtil;
-import org.jboss.shrinkwrap.api.ShrinkWrap;
 import org.jboss.shrinkwrap.api.asset.Asset;
 import org.jboss.shrinkwrap.api.asset.StringAsset;
 import org.jboss.shrinkwrap.api.spec.JavaArchive;
 
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
 /**
  * This class contains helpers for building frequently used archives
  */
@@ -45,16 +39,6 @@ public class ArchiveUtils
 
         excludedFiles = new String[]{"META-INF.apache-deltaspike.properties"};
 
-        // we also need quite some internal Arquillian classes on the client 
side
-        // this JAR has NO beans.xml to prevent class scanning!
-        JavaArchive grapheneJar = ShrinkWrap
-                .create(JavaArchive.class, "deltaspikeUtils.jar")
-                .addClass(ArchiveUtils.class)
-                .addPackages(true, "org.jboss.arquillian.graphene")
-                .addPackages(true, "org.jboss.arquillian.ajocado")
-                .addPackages(true, "org.openqa.selenium")
-                .addPackage(WebProfileCategory.class.getPackage());
-
         JavaArchive[] coreArchives = ShrinkWrapArchiveUtil.getArchives(null
                 , "META-INF/beans.xml"
                 , new String[]{ "org.apache.deltaspike.core",
@@ -63,9 +47,7 @@ public class ArchiveUtils
                 , excludedFiles,
                 "ds-core_proxy_jsf");
 
-        List<JavaArchive> archives = new 
ArrayList<JavaArchive>(Arrays.asList(coreArchives));
-        archives.add(grapheneJar);
-        return archives.toArray(new JavaArchive[archives.size()]);
+        return coreArchives;
     }
 
     public static JavaArchive[] getDeltaSpikeSecurityArchive()

Reply via email to