Examples of PackagingFacet


Examples of org.jboss.forge.project.facets.PackagingFacet

                        "JBoss AS7 instance not running or handle to process was lost. Might need to shut things down manually.");
   }

   public FileResource<?> getFinalArtifact()
   {
      PackagingFacet packaging = project.getFacet(PackagingFacet.class);
      FileResource<?> finalArtifact = (FileResource<?>) packaging.getFinalArtifact();
      if (!finalArtifact.exists())
      {
         throw new RuntimeException("Project final artifact not found. Did you 'build' it?");
      }
      return finalArtifact;
View Full Code Here

Examples of org.jboss.forge.projects.facets.PackagingFacet

      Project project = new MavenProject(dir);

      MavenFacet mavenFacet = factory.create(MavenFacet.class, project);
      MavenPluginFacet mavenPluginFacet = factory.create(MavenPluginFacet.class, project);
      MetadataFacet metadataFacet = factory.create(MavenMetadataFacet.class, project);
      PackagingFacet packagingFacet = factory.create(MavenPackagingFacet.class, project);
      DependencyFacet dependencyFacet = factory.create(MavenDependencyFacet.class, project);
      ResourceFacet resourceFacet = factory.create(MavenResourceFacet.class, project);

      if (!(project.install(mavenFacet)
               && project.install(metadataFacet)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.