The plugin-descriptor.xml defines the sample plug-in. Look at the following items in the example below:
Most attributes to the <plugin> element use standard values. The two exceptions are the name and version attributes.
The <dependencyList> element tells you that the system plug-in, version 1.0 is required for the sample plug-in to work correctly. The system plug-in is a core part of the N1 Grid Service Provisioning System software and should always exist.
The <folder> element creates a folder in which Linux objects can be stored.
The <component> element defines a component type whose backing component is 1.0/components/com/sun/linux/RPM CT.xml.
<?xml version="1.0" encoding="UTF-8"?> <plugin xmlns="http://www.sun.com/schema/SPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sun.com/schema/SPS ../plugin.xsd" name="com.sun.linux" vendor="Sun Microsystems" version="1.1" schemaVersion="5.0"> <dependencyList> <pluginRef name="system" version="1.0"/> </dependencyList> <memberList> <!-- Folders --> <folder name="/com/sun/linux" description="contains linux plugin objects"/> <!-- Components --> <component jarPath="1.0/components/com/sun/linux/RPM CT.xml"> <componentType name="rpm file" description="the active component type for rpm files" group="any UNIX" order="000700-000100-000200" indentLevel="1"/> </component> </memberList> </plugin>