@@ -0,0 +1,1682 @@
+package org.example;%0A%0Aimport javax.inject.Inject;%0A%0Aimport org.jboss.arquillian.container.test.api.Deployment;%0Aimport org.jboss.arquillian.junit.Arquillian;%0Aimport org.jboss.forge.arquillian.archive.ForgeArchive;%0Aimport org.jboss.forge.container.ContainerControl;%0Aimport org.jboss.forge.container.Status;%0Aimport org.jboss.shrinkwrap.api.ArchivePaths;%0Aimport org.jboss.shrinkwrap.api.ShrinkWrap;%0Aimport org.jboss.shrinkwrap.api.asset.StringAsset;%0Aimport org.jboss.shrinkwrap.api.spec.JavaArchive;%0Aimport org.jboss.shrinkwrap.resolver.api.DependencyResolvers;%0Aimport org.jboss.shrinkwrap.resolver.api.maven.MavenDependencyResolver;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0A/**%0A * @author %3Ca href=%22mailto:lincolnbaxter@gmail.com%22%3ELincoln Baxter, III%3C/a%3E%0A */%0A@RunWith(Arquillian.class)%0Apublic class AddonIncludingJARsTest%0A%7B%0A   @Deployment%0A   public static ForgeArchive getDeployment()%0A   %7B%0A      ForgeArchive archive = ShrinkWrap%0A               .create(ForgeArchive.class)%0A               .addAsLibraries(%0A                        DependencyResolvers.use(MavenDependencyResolver.class).loadMetadataFromPom(%22pom.xml%22)%0A                                 .artifact(%22javax.enterprise:cdi-api:1.0%22).resolveAs(JavaArchive.class))%0A               .addAsManifestResource(new StringAsset(%22%22), ArchivePaths.create(%22beans.xml%22))%0A               .setAsForgeXML(new StringAsset(%22%3Caddon/%3E%22));%0A%0A      return archive;%0A   %7D%0A%0A   @Inject%0A   private ContainerControl control;%0A%0A   @Test%0A   public void testContainerInjectionWorksWithConflictingCDIDependency()%0A   %7B%0A      Assert.assertNotNull(control);%0A      Assert.assertEquals(Status.STARTED, control.getStatus());%0A   %7D%0A%0A%7D

Test container functionality with conflicting JARs from core impl