@Deployment
 @Dependencies({
   @AddonDependency(name = "org.jboss.forge.addon:scaffold-spi"),
   @AddonDependency(name = "org.jboss.forge.addon:javaee"),
   @AddonDependency(name = "org.jboss.forge.addon:templates"),
   @AddonDependency(name = "org.jboss.forge.addon:text"),
   @AddonDependency(name = "org.jboss.forge.addon:convert"),
   @AddonDependency(name = "org.jboss.forge.addon:parser-java")
 })
 public static ForgeArchive getDeployment() {
   return Deployments.getDeployment();
 }
 @Deployment(name = "LoginTest")
 @OverProtocol("Servlet 3.0")
 public static Archive<?> createDeployment() {
   return Deployments.bookingDeployment();
 }
Ejemplo n.º 3
0
 @Deployment(testable = false)
 public static WebArchive createTestDeployment1() {
   return Deployments.createDeployment();
 }
Ejemplo n.º 4
0
 @Deployment(testable = false)
 public static Archive<?> createDeployment() {
   return Deployments.rest();
 }