The <resource> element is a child of the <component> element. It specifies a resource file name and location in the JAR file. A resource is always checked in as a simple file-typed resource. The component that contains the <resource> element must be a simple component whose <resourceRef> element refers to the resource created by the <resource> element.
The <resource> element has three attributes:
jarPath – The location of the resource file, relative to the root of the plug-in JAR file. Leading / or . characters are not permitted.
majorVersion (optional) – Determines whether to check in the resource as a new major version. The default is false.
name (optional) – The name of the resource. If not specified, the name will default to the absolute jarPath, which is converted to absolute if specified as relative