Examples of ArchetypeCatalogFactory


Examples of org.jboss.forge.addon.maven.archetype.ArchetypeCatalogFactory

         public Iterable<Archetype> call() throws Exception
         {
            Set<Archetype> result = new LinkedHashSet<>();
            if (catalog.hasValue())
            {
               ArchetypeCatalogFactory catalogFactory = catalog.getValue();
               ArchetypeCatalog archetypes = catalogFactory.getArchetypeCatalog();
               if (archetypes != null)
               {
                  result.addAll(archetypes.getArchetypes());
               }
            }
View Full Code Here

Examples of org.jboss.forge.addon.maven.archetype.ArchetypeCatalogFactory

            out.println(key + " = " + catalog);
         }
      }
      else
      {
         ArchetypeCatalogFactory archetypeCatalogFactory = archetypeRegistry.getArchetypeCatalogFactory(name);
         if (archetypeCatalogFactory != null)
         {
            ArchetypeCatalog archetypeCatalog = archetypeCatalogFactory.getArchetypeCatalog();
            if (archetypeCatalog != null)
            {
               for (Archetype archetype : archetypeCatalog.getArchetypes())
               {
                  out.println(archetype);
View Full Code Here

Examples of org.jboss.forge.addon.maven.archetype.ArchetypeCatalogFactory

         public Iterable<Archetype> call() throws Exception
         {
            Set<Archetype> result = new LinkedHashSet<>();
            if (catalog.hasValue())
            {
               ArchetypeCatalogFactory catalogFactory = catalog.getValue();
               ArchetypeCatalog archetypes = catalogFactory.getArchetypeCatalog();
               if (archetypes != null)
               {
                  result.addAll(archetypes.getArchetypes());
               }
            }
View Full Code Here

Examples of org.jboss.forge.addon.maven.archetype.ArchetypeCatalogFactory

            out.println(key + " = " + catalog);
         }
      }
      else
      {
         ArchetypeCatalogFactory archetypeCatalogFactory = archetypeRegistry.getArchetypeCatalogFactory(name);
         if (archetypeCatalogFactory != null)
         {
            ArchetypeCatalog archetypeCatalog = archetypeCatalogFactory.getArchetypeCatalog();
            if (archetypeCatalog != null)
            {
               for (Archetype archetype : archetypeCatalog.getArchetypes())
               {
                  out.println(archetype);
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.