Examples of MetadataFacet


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

         artifact = pluginProject.getFacet(PackagingFacet.class).getFinalArtifact();
      }
      // However, get only the necessary plugin artifact
      if ((artifact != null) && artifact.exists())
      {
         MetadataFacet meta = rootProject.getFacet(MetadataFacet.class);
         Dependency dep = meta.getOutputDependency();

         ShellMessages.info(shell, "Installing plugin artifact.");

         // TODO Figure out a better plugin versioning strategy than random numbers, also see if unloading is
         // possible to avoid this entirely.
View Full Code Here

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

            project = projectFactory.createProject(targetDir);
         }

         if (project != null)
         {
            MetadataFacet metadataFacet = project.getFacet(MetadataFacet.class);
            metadataFacet.setProjectName(named.getValue());
            metadataFacet.setTopLevelPackage(topLevelPackage.getValue());

            context.setAttribute(Project.class, project);
         }
         else
            result = Results.fail("Could not create project of type: [" + value + "]");
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.