ShrinkWrap Descriptors 2.0.0-alpha-8 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 2.0.0-alpha-8 release of the ShrinkWrap Descriptors component!

Highlights in this release

Support for JBossAS/WildFly module.xml

You can now programmatically create module.xml descriptors using the following API:

 ModuleDescriptor module = Descriptors.create(ModuleDescriptor.class)
    .addDefaultNamespaces()
    .name("some.module")
    .slot("impl")
ModuleAliasDescriptor module = Descriptors.create(ModuleAliasDescriptor.class)
    .addDefaultNamespaces()
    .name("some.module")
    .slot("impl")
    .targetName("some.other.module")
    .targetSlot("main");
ModuleAbsentDescriptor module = Descriptors.create(ModuleAbsentDescriptor.class)
    .addDefaultNamespaces()
    .name("some.module")
    .slot("impl");

These descriptors can be found in the shrinkwrap-descriptors-api-jboss module.

Support for JBossAS/WildFly jboss-deployment-structure.xml

And specially configure the deployment structure of your deployment via the jboss-deployment-structure.xml descriptor:

JBossDeploymentStructureDescriptor jbossDeployStructur = create()
    .addDefaultNamespaces()
    .earSubdeploymentsIsolated(false)
    .getOrCreateDeployment()
        .getOrCreateModuleAlias().name("name1").slot("slot1").up()
            .getOrCreateExports().createExclude().path("path1").up().up();

These descriptors can be found in the shrinkwrap-descriptors-api-jboss module.

What is ShrinkWrap Descriptors?

The Shrinkwrap Descriptor project provides an uniformed fluent API for creating and modifying Java EE deployment descriptors on the fly. Starting from the very early JEE 1.3 to the brand new Java EE 7 version, the descriptor project includes almost all official deployment descriptors. Several vendor specific deployment descriptors, mostly JBoss related, are covered as well.

Release details

Component ShrinkWrap Descriptors
Version 2.0.0-alpha-8 view tag
Release date 2015-09-29
Released by Aslak Knutsen

Published artifacts org.jboss.shrinkwrap.descriptors

  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-base jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-javaee jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-javaee-prototype jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-jboss jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-misc jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-ant jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-bom pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-depchain pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-gen jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-base jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-javaee jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-javaee-prototype jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-jboss jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-misc jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-spi jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-test jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-test-util jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-metadata-parser-test jar javadoc pom

Release notes and resolved issues 3

Feature Request
Bug
  • SHRINKDESC-161 - org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method

Thanks to the following list of contributors: Ralf Battenfeld, Aslak Knutsen, Toby Crawley