Docker environment support

Added template for creating Docker Environment
On 11/27/2014 02:51 PM, Sebastian Łaskawiec wrote:
>
> In docker-environment-driver/src/test/java/org/jboss/pnc/environment/docker/arquillian/Deployments.java:
>
> > +import java.util.logging.Logger;
> > +
> > +/**
> > + * // TODO: Document this
> > + *
> > + * @author slaskawiec
> > + * @since 4.0
> > + */
> > +public class Deployments {
> > +
> > +    private static final Logger logger = Logger.getLogger(MethodHandles.lookup().lookupClass().getName());
> > +
> > +    public static WebArchive prepareStandardWebAppDeployment() {
> > +        logger.info("Preparing deployment");
> > +
> > +        WebArchive webArchive = ShrinkWrap.create(WebArchive.class);
>
> WAR allows embedding other jars into lib. This validates correct behavior of ClassLoaders and CDI framework (for example jars in lib should contain beans.xml to turn on CDI discovery on them etc).
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/project-ncl/pnc/pull/5/files#r20996851>.
>
If project is packed as jar the test should be too. CDI can be used also in JavaSE where are no wars, you put beans.xml in META-INF. See the tests in core.
What behaviour of ClassLoaders do you need to test/validate ?