diff --git a/ccm-core/pom.xml b/ccm-core/pom.xml
index 3f9c3cc5c..33c099f6b 100644
--- a/ccm-core/pom.xml
+++ b/ccm-core/pom.xml
@@ -42,20 +42,24 @@
org.hibernate
hibernate-entitymanager
+ provided
org.hibernate
hibernate-envers
+ provided
org.hibernate
hibernate-validator
+ provided
org.hibernate
hibernate-validator-cdi
+ provided
diff --git a/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java b/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java
index 07a1de47b..d28b0c6c7 100644
--- a/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java
+++ b/ccm-docrepo/src/test/java/org/libreccm/docrepo/portation/FilePortationTest.java
@@ -36,21 +36,13 @@ import org.junit.runner.RunWith;
import org.libreccm.docrepo.File;
import org.libreccm.docrepo.FileMarshaller;
import org.libreccm.docrepo.FileRepository;
-import org.libreccm.portation.Format;
import org.libreccm.portation.Marshals;
import org.libreccm.tests.categories.IntegrationTest;
import javax.inject.Inject;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.util.Collections;
-import java.util.Date;
-import java.util.List;
-
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
/**
*
@@ -160,6 +152,8 @@ public class FilePortationTest {
.getPackage())
.addAsLibraries(libs)
.addAsLibraries(coreLibs)
+ .addAsResource("META-INF/jboss-deployment-structure.xml",
+ "META-INF/jboss-deployment-structure.xml")
.addAsResource("test-persistence.xml", "META-INF/persistence.xml")
.addAsWebInfResource("test-web.xml", "WEB-INF/web.xml")
.addAsWebInfResource(EmptyAsset.INSTANCE, "WEB-INF/beans.xml");
diff --git a/ccm-docrepo/src/test/resources/META-INF/jboss-deployment-structure.xml b/ccm-docrepo/src/test/resources/META-INF/jboss-deployment-structure.xml
new file mode 100644
index 000000000..0bf993dff
--- /dev/null
+++ b/ccm-docrepo/src/test/resources/META-INF/jboss-deployment-structure.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+