Gld Extension Development: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
=Extension Name=
=Extension Name=


The extension name, as described by the "[[Gld_Concepts#Extension_Name|gld Concepts - Extension Name]]" section, ''must coincide with the name of the Maven project used to develop the extension''. The POM <name> element is the authoritative source of information for extension name, and it will be inferred from it everywhere extension name is necessary.
The extension name, as described by the "[[Gld_Concepts#Extension_Name|gld Concepts - Extension Name]]" section, must be specified as the "extension.name" property in the extension project POM:
 
<pre>
<project ...>
    ...
    <properties>
 
        <extension.name>jboss-datagrid-7</extension.name>
 
        ...
    </properties>
  ...
</project>
</pre>
 
, ''must coincide with the name of the Maven project used to develop the extension''. The POM <name> element is the authoritative source of information for extension name, and it will be inferred from it everywhere extension name is necessary.

Revision as of 18:54, 21 December 2016

Internal

Overview

cd projects/gld/extensions/<extension-name>
release snapshot

The above will build the extension and install it in ${RUNTIME_DIR}/gld/extensions (see <extension-name>/.nort/project.yaml).

Extension Name

The extension name, as described by the "gld Concepts - Extension Name" section, must be specified as the "extension.name" property in the extension project POM:

<project ...>
    ...
    <properties>

        <extension.name>jboss-datagrid-7</extension.name>

        ...
    </properties>
   ...
</project>

, must coincide with the name of the Maven project used to develop the extension. The POM <name> element is the authoritative source of information for extension name, and it will be inferred from it everywhere extension name is necessary.