Thread ShrinkWrap load libraries from POM for JavaArchive
ShrinkWrap load libraries from POM for JavaArchiveHallo, I am new to this community. I am working on multi maven module project. And I am writing unit tests using Arquillian. Till now every thing is fine, as I am adding dependencies in my test class from my modul...
Thread No way to add classes or packages to ResourceAdapterArchive
No way to add classes or packages to ResourceAdapterArchiveI have a Maven project for my resource adapter that builds a RAR archive that contains classes, libraries as JAR files and the resource adapter class. I want to use Arquillian to unit test my project but it see...
ShrinkWrapSkip the Build! Shrinkwrap provides a simple API to assemble archives like JARs, WARs, and EARs in Java. Introduction Packaging specifications such as Java Archives (JAR) and Enterprise Archives (EAR) are standard mec...
Thread Shrinkwrap addAsLibrary() adds library to a wrong path
Shrinkwrap addAsLibrary() adds library to a wrong pathHi all, I am currently writing some integration tests with Arquillian. The archive for the deployment I create with ShrinkWarp Now I'm stuck at a strange problem: I have a .war archive and want to add a .jar li...
Thread How to add a package-info.class to an archive?
How to add a package-info.class to an archive?I have a package with serveral classes. But for my test case I need only one normal class Service.class and the package-info.class. The package-info.class contains some annotations used by Service.class. How c...
Thread ArchiveExportException: File could not be created
ArchiveExportException: File could not be createdHello, Sorry if this is not the correct place to post this kind of discussion, but I'm becoming a bit desperate . This exception has started happening when testing with Arquillian 1.1.1.Final and Glass...
Add src/main/java to webarchiveHi, I have created a webarchive by adding the packages under the src/main/java directory: @Deployment public static WebArchive createDeployment() { WebArchive war = ShrinkWrap &...
Thread Wrong built WebArchive using Shrinkwrap Classpath resolution
Wrong built WebArchive using Shrinkwrap Classpath resolutionHi, I have defined a simple war project and setup an arquillian test using shrinkwrap 2.0.0, that - as a test - just resolves the web archive via classpath resolution: @RunWith(Arquillian.class)
public ...
Thread ConcurrentModificationException on Archive.delete()
ConcurrentModificationException on Archive.delete()Hi, I'm trying to use Shrinkwrap to delete a folder in a JavaArchive (jar). My jar is quite simple, it contains only one folder named resources and this folder contains two files : myJavaArchive.jar: ...
Hash of ArchiveHi I have a file (apk file to be precise). I make a hash of this file by some technique. Then I create a JavaArchive via good old Shrinkwrap.createFromZipFile(). Now, I have the Archive<?>. The question ...
Thread MavenImporter doesn't process war overlays?
MavenImporter doesn't process war overlays?Hi, As far as I can tell, the new MavenImporter doesn't process war overlays as part of the Maven 'build' that it does. I do something like this: {code} WebArchive result = ShrinkWrap.create(M...
Thread MavenImporter: how to exclude test-scoped dependencies?
MavenImporter: how to exclude test-scoped dependencies?Hi, I've just started using the new MavenImporter in 2.0.0-beta-1 and it looks pretty awesome! I'm building a WAR for some Arquillian client-only tests, so the WAR doesn't need any of the test-scoped d...
Thread How to convert a maven-resolved EAR (with libraries and EJB moduls) into an archive supported by Arquillians enbedded OpenEJB container adapter?