Creating a module profile¶
Profiles are the parent of the extensions, therefore we need one profile to declare the stereotypes.
A profile is declared in module.xml file. Edit the template module.xml file, replace prepared field name and leave the field uid empty.
- uid value is a unique identifier. It is very important that the value shouldn’t be copied from another object (don’t copy the id from the example), nor modified after module delivery. If you are using a Maven project, this identifier is automatically generated during the module packaging.
- id value is the name of the profile. By convention it should end with Profile.
A profile is not associated to a Java class.
For organization concern of extensions, several profiles can be declared in the module but they can’t be nested.