ShrinkWrap Resolver 2.2.0-beta-2 Released

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

The Arquillian team is proud to announce the 2.2.0-beta-2 release of the ShrinkWrap Resolver component!

The ShrinkWrap Resolver 2.2.0-beta-2 release contain new versions of Aether and Maven, bugfixes and feature requests you’ve asked for. It is another step towards the 2.2.0 final release.

Significant additions

Upgraded to Aether 1.0.0.v20140518

Upgraded to Maven 3.2.5

We hope that you’ll enjoy our new release and look forward to hear your feedback on the community forums.

What is ShrinkWrap Resolver?

The ShrinkWrap Resolvers project provides a Java API to obtain artifacts from a repository system. This is handy to include third party libraries available in any Maven repository in your test archive. ShrinkWrap Resolvers additionally allow you to reuse all the configuration you've already specified in the Maven build file, making packaging of an application archive much easier job.

Release details

Component ShrinkWrap Resolver
Version 2.2.0-beta-2 view tag
Release date 2015-03-16
Released by Karel Piwko
Compiled against
  • JUnit – 4.11

Published artifacts org.jboss.shrinkwrap.resolver

  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-bom pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-api jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-api-gradle-embedded-archive jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-api-maven jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-depchain pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-gradle-depchain pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-impl-gradle-embedded-archive jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-impl-maven jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-api-maven-archive jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-spi-maven jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-spi-maven-archive jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-impl-maven-archive jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-spi jar javadoc pom

Release notes and resolved issues 12

Component Upgrade
  • SHRINKRES-207 - Update jboss-parent to version 15
  • SHRINKRES-225 - Upgrade Aether and remove dependency on aether-connector-wagon
Feature Request
  • SHRINKRES-213 - Support ResolvedArtifact.as(URL.class)
  • SHRINKRES-218 - Have the test output directory available through org.jboss.shrinkwrap.resolver.api.maven.pom.ParsedPomFile
Bug
  • SHRINKRES-203 - Maven Plugin cannot be compiled with Maven 3.2.3
  • SHRINKRES-209 - Remove extra debug output from ArchiveFilteringUtils
  • SHRINKRES-212 - SAXParserFactory issues with JBoss AS and EAP
  • SHRINKRES-215 - Bug in implementation of Packaging.of("type")
  • SHRINKRES-217 - FileUtil.fileFromClassLoaderResource() creates non-unique temporary file
  • SHRINKRES-219 - NPE on some metadata error due to bad checksum
  • SHRINKRES-220 - Maven resolver throws Invalid repository system session: DependencySelector is not set
  • SHRINKRES-221 - The same artifact is downloaded multiple times from different repositories.

Thanks to the following list of contributors: Matous Jobanek, Karel Piwko, Michal Matloka, John Poth, Aslak Knutsen

ShrinkWrap Descriptors 2.0.0-alpha-7 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-7 release of the ShrinkWrap Descriptors component!

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-7 view tag
Release date 2015-02-11
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 2

Bug
  • SHRINKDESC-154 - ShrinkWrap Descriptors BOM should contain ShrinkWrap Descriptors DepChains
  • SHRINKDESC-159 - Descriptors should not expose in test scope dependency fest-assert

Thanks to the following list of contributors: Aslak Knutsen, Andrew Lee Rubinger

ShrinkWrap Descriptors Docker 1.0.0-alpha-2 Released

The Arquillian team is proud to announce the 1.0.0-alpha-2 release of the ShrinkWrap Descriptors Docker component!

Usage improvements

With 1.0.0-alpha-2 we have improved the method chaining so you can write the Dockerfile in a slightly more compact syntax with the help of a few new top level shortcuts:

DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class)
        .from("jbossforge")
        .user("George");
descriptor.exportAsString();

The syntax from 1.0.0-alpha-1 is still valid:

DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class)
        .from().name("jbossforge").up()
        .user().name("George").up();
descriptor.exportAsString();

And they both produce the same output:

FROM jbossforge
USER George

What is ShrinkWrap Descriptors Docker?

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 Docker
Version 1.0.0-alpha-2 view tag
Release date 2015-02-05
Released by George Gastaldi
Compiled against

Published artifacts org.jboss.shrinkwrap.descriptors

  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-docker jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-docker jar javadoc pom

Thanks to the following list of contributors: George Gastaldi

ShrinkWrap OSGi 1.0.0-alpha-1 Released

The Arquillian team is proud to announce the 1.0.0-alpha-1 release of the ShrinkWrap OSGi component!

Shrinkwrap helpers for BND (OSGi)

This extension provides helper tools for creating Shrinkwrap archives using BND.

Currently provides the functionality needed by arquillian-deployment-generator-bnd.

How to use it?

BndProjectBuilder bndProjectBuilder = ShrinkWrap.create(BndProjectBuilder.class)
	    .setBndFile(bndFile)
	    .generateManifest(true)
	    .addProjectPropertiesFile(commonBndFile);
JavaArchive javaArchive = bndProjectBuilder.as(JavaArchive.class);

You can find examples of how to use it in BndDeploymentScenarioGenerator.

What is ShrinkWrap OSGi?

ShrinkWrap is the simplest way to create archives in Java. Using the fluent and intuitive ShrinkWrap API, developers may assemble JARs, WARs, and EARs to be deployed directly by Arquillian during testing.

Release details

Component ShrinkWrap OSGi
Version 1.0.0-alpha-1 view tag
Release date 2015-02-01
Released by Aslak Knutsen

Published artifacts org.jboss.shrinkwrap.osgi

Thanks to the following list of contributors: Carlos Sierra Andrés, Aslak Knutsen, Gregory Amerson

ShrinkWrap Descriptors Docker 1.0.0-alpha-1 Released

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

The Arquillian team is proud to announce the 1.0.0-alpha-1 release of the ShrinkWrap Descriptors Docker component!

Shrinkwrap helpers Dockers Dockerfile

This extension provide helpers for creating Dockerfiles via the ShrinkWrap Descriptors spis.

How to use it?

Add the following to your dependencies:

<!-- Docker Descriptors API -->
<dependency>
  <groupId>org.jboss.shrinkwrap.descriptors</groupId>
  <artifactId>shrinkwrap-descriptors-api-docker</artifactId>
  <version>1.0.0-alpha-1</version>
</dependency>

<!-- Docker Descriptors Implementation -->
<dependency>
  <groupId>org.jboss.shrinkwrap.descriptors</groupId>
  <artifactId>shrinkwrap-descriptors-impl-docker</artifactId>
  <version>1.0.0-alpha-1</version>
  <scope>runtime</scope>
</dependency>

Then you can use it by initializing it via the ShrinkWrap Descriptors factory:

DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class);
descriptor.from().name("jbossforge");
descriptor.user().name("George");
System.out.println(descriptor.exportAsString());

This will produce the following Dockerfile:

FROM jbossforge
USER George

Look out for support for @Deployment of Dockerfile in Arquillian Cube

What is ShrinkWrap Descriptors Docker?

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 Docker
Version 1.0.0-alpha-1 view tag
Release date 2015-02-03
Released by George Gastaldi
Compiled against

Published artifacts org.jboss.shrinkwrap.descriptors

  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-docker jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-docker jar javadoc pom

Thanks to the following list of contributors: George Gastaldi, Aslak Knutsen