archetype:add-extensions

Adds one or more filtered extensions in the registry. The registered filtered extensions are used to discriminate text files from binary files based on their file extension during create-from-project.

Mojo Attributes :

    Optional Parameters

    Name Type Description
    archetypeRegistryFile File The location of the registry file.
    archetypeRegistryManager ArchetypeRegistryManager No description.
    extension String The filtered extension to add to the registry.

    This option is mutually exclusive with extensions.
    extensions String The filtered extensions to add to the registry: ext1,ext2,...

    This option is mutually exclusive with extension.

    Parameter Details

    archetypeRegistryFile

    The location of the registry file.

    • Type : java.io.File
    • Required : No
    • Expression : ${user.home}/.m2/archetype.xml

    archetypeRegistryManager

    No Description.

    • Type : org.apache.maven.archetype.common.ArchetypeRegistryManager
    • Required : No

    extension

    The filtered extension to add to the registry.

    This option is mutually exclusive with extensions.

    • Type : java.lang.String
    • Required : No
    • Expression : ${extension}

    extensions

    The filtered extensions to add to the registry: ext1,ext2,...

    This option is mutually exclusive with extension.

    • Type : java.lang.String
    • Required : No
    • Expression : ${extensions}