Examples of ArchetypeRegistry


Examples of org.apache.maven.archetype.registry.ArchetypeRegistry

            filteredExtensions.addAll( Arrays.asList( StringUtils.split( archetypeFilteredExtentions, "," ) ) );
        }

        try
        {
            ArchetypeRegistry registry = readArchetypeRegistry( archetypeRegistryFile );

            filteredExtensions.addAll( registry.getFilteredExtensions() );
        }
        catch ( IOException e )
        {
            getLogger().warn( "Cannot read ~/.m2/archetype.xml" );
        }
View Full Code Here

Examples of org.apache.maven.archetype.registry.ArchetypeRegistry

            languages.addAll( Arrays.asList( StringUtils.split( archetypeLanguages, "," ) ) );
        }

        try
        {
            ArchetypeRegistry registry = readArchetypeRegistry( archetypeRegistryFile );

            languages.addAll( registry.getLanguages() );
        }
        catch ( IOException e )
        {
            getLogger().warn( "Can not read ~/.m2/archetype.xml" );
        }
View Full Code Here

Examples of org.apache.maven.archetype.registry.ArchetypeRegistry

                                                                   snapshotsPolicy, releasesPolicy );
    }

    public ArchetypeRegistry getDefaultArchetypeRegistry()
    {
        ArchetypeRegistry registry = new ArchetypeRegistry();

        registry.getLanguages().addAll( Constants.DEFAULT_LANGUAGES );

        registry.getFilteredExtensions().addAll( Constants.DEFAULT_FILTERED_EXTENSIONS );

        return registry;
    }
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.