Open mark1900 opened 6 years ago
This workaround does not work for me.
@kullmanp Do you still still see this exception - IOException: bad magic number
?
FYI, I was able to upgrade to org.eu.ingwar.tools:arquillian-suite-extension:1.2.0 using the same workaround of setting the org.reflections:reflections:0.9.11 dependency.
My current configuration
Eclipse Photon (4.8.0)
Wildfly 13
org.eu.ingwar.tools:arquillian-suite-extension:1.2.0 (which depends on org.reflections:reflections:0.9.11)
org.jboss.arquillian:arquillian-bom:1.4.0.Final
I had to utilize the following configuration for Wildfly 12 and 13 support - https://github.com/arquillian/arquillian-container-chameleon/pull/93/files
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
<version>2.1.1.Final</version>
<scope>test</scope>
</dependency>
To workaround a .war dependency issue I had to set the following version - https://issues.jboss.org/browse/SHRINKRES-290
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
<version>2.2.4</version>
<scope>test</scope>
</dependency>
@mark1900 yes, I still see it when I'm enabling debug logging.
@kullmanp Just a quick update. I am able to run this successfully against the latest Wildfly 17.0.1.Final release with the following properties.
Test Project pom.xml
<properties>
<arquillian.bom.version>1.4.1.Final</arquillian.bom.version>
<arquillian-suite-extension.bom.version>1.2.0</arquillian-suite-extension.bom.version>
<!-- Support for Wildfly 12 and 13 - https://github.com/arquillian/arquillian-container-chameleon/pull/93/files -->
<arquillian.wildfly-arquillian-container-managed.version>2.1.1.Final</arquillian.wildfly-arquillian-container-managed.version>
<reflections.version>0.9.10</reflections.version>
<!-- https://issues.jboss.org/browse/SHRINKRES-290 -->
<!-- https://issues.jboss.org/browse/SHRINKRES-263 -->
<shrinkwrap-resolver-impl-maven.version>2.2.4</shrinkwrap-resolver-impl-maven.version>
</properties>
Parent project pom.xml
<properties>
<!-- https://github.com/wildfly/quickstart/blob/17.x/kitchensink-ear/pom.xml -->
<!-- https://github.com/wildfly/quickstart/blob/17.x/kitchensink-ear/ejb/pom.xml -->
<!-- https://github.com/wildfly/quickstart/blob/17.x/kitchensink-ear/web/pom.xml -->
<!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wildfly.bom.version>17.0.1.Final</wildfly.bom.version>
<!-- other plugin versions -->
<clean.plugin.version>3.0.0</clean.plugin.version>
<compiler.plugin.version>3.7.0</compiler.plugin.version>
<jar.plugin.version>3.1.0</jar.plugin.version>
<war.plugin.version>3.2.2</war.plugin.version>
<ejb.plugin.version>3.0.1</ejb.plugin.version>
<ear.plugin.version>3.0.1</ear.plugin.version>
<build-helper.plugin.version>1.10</build-helper.plugin.version>
<surefire.plugin.version>2.17</surefire.plugin.version> <!-- Use a version compatible with Arquillian -->
<!-- <surefire.plugin.version>2.22.0</surefire.plugin.version> -->
<failsafe.plugin.version>2.19.1</failsafe.plugin.version>
<!-- https://winterbe.com/posts/2018/08/29/migrate-maven-projects-to-java-11-jigsaw/ -->
<!-- maven-compiler-plugin -->
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<!-- other -->
<javaee-api.version>8.0</javaee-api.version>
<org.hibernate.version>5.3.10.Final</org.hibernate.version>
<org.infinispan.version>9.4.14.Final</org.infinispan.version>
<postgresql.version>42.2.6</postgresql.version>
<commons-codec.version>1.6</commons-codec.version> <!-- 2011-12-03 -->
<gson.version>2.8.5</gson.version>
<guava.version>19.0</guava.version> <!-- 2015-12-09 -->
<javassist.version>3.23.2-GA</javassist.version> <!-- 2018-07-01 --> <!-- Matches wildfly-17.0.1.Final module -->
<!-- <javassist.version>3.23.2-GA</javassist.version> --> <!-- 2019-04-18 -->
<!-- <javassist.version>3.18.1-GA</javassist.version> --> <!-- 2013-08-30 -->
<opencsv.version>4.2</opencsv.version>
<rest-assured.version>3.3.0</rest-assured.version> <!-- 2018-08-17 -->
<slf4j.version>1.7.25</slf4j.version> <!-- 2017-03-17 -->
<log4j.version>1.2.17</log4j.version> <!-- 2012-05-13 -->
<jmockit.version>1.46</jmockit.version> <!-- 2019-03-31 -->
<!-- <jmockit.version>1.41</jmockit.version> --> <!-- 2018-07-29 --> <!-- Beware new versions require -javaagent - http://jmockit.github.io/changes.html -->
<junit.version>4.12</junit.version> <!-- 2014-12-04 -->
<versions-maven-plugin.version>2.7</versions-maven-plugin.version>
</properties>
arquillian.xml
<?xml version="1.0" ?>
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://jboss.org/schema/arquillian"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<!-- https://github.com/ingwarsw/arquillian-suite-extension/blob/master/src/test/resources/arquillian.xml -->
<defaultProtocol type="Servlet 3.0"/>
<engine>
<property name="deploymentExportPath">target/deployments</property>
</engine>
<container qualifier="wildfly-arquillian-container-managed" default="true">
<configuration>
<property name="serverConfig">standalone-full.xml</property>
<property name="jbossHome">${env.JBOSS_HOME}</property>
<property name="javaVmArguments">-Darquillian.debug=true -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n --add-modules=java.se</property>
<property name="outputToConsole">true</property>
</configuration>
</container>
<!-- http://stackoverflow.com/questions/28046537/testing-jpa-entity-classes-error-transaction-is-required/ -->
<extension qualifier="transaction">
<property name="manager">java:jboss/UserTransaction</property>
</extension>
</arquillian>
Documenting an issue I had with a downstream dependency - https://github.com/ronmamo/reflections/issues/235
I get the following exception when combining
My current workaround
This issue could be related to https://github.com/ronmamo/reflections/issues/15, https://github.com/ronmamo/reflections/issues/184.