I want to override the group schema definition with my own attribute with the Nuxeo default one.
I create with Nuxeo IDE a "Nuxeo plugin Project".
I add this component xml file into my eclipse project into the src/main/resources/OSGI-INF/myproject-schema-contrib.xml file:
<component name="fr.mycompanyname.myproject.schema.contribution">
<!-- to be sure to deployed after the Nuxeo default contributions>
<require>org.nuxeo.ecm.directory.types</require>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="group" src="directoryschema/group.xsd"/>
</extension>
</component>
I add my specific group.xsd definition into src/main/resources/directoryschema/ directory into my eclipse project.
I add this following line into the src/main/resources/META-INF/MANIFEST.**** file:
Nuxeo-Component: OSGI-INF/myproject-schema-contrib.xml
The schema group deployed is always the default one.