liferay-plugin-package_7_2_0.dtd
: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES
liferay-plugin-package_7_2_0.dtd
<!DOCTYPE plugin-package PUBLIC
"-//Liferay//DTD Plugin Package 7.2.0//EN"
"http://www.liferay.com/dtd/liferay-plugin-package_7.2.0.dtd">
<plugin-package> |
Root element
|
The plugin-package element contains the declarative data of a plugin.
Element's model:(name, module-id, recommended-deployment-context?, required-deployment-contexts?, types, tags?, short-description, long-description?, change-log, page-url?, screenshots?, author, licenses, liferay-versions, deployment-settings?)
The name element contains the name of the plugin package that will be shown to
users.
The module-id element contains the full identifier of the plugin using the
Maven based syntax: groupId/artifactId/version/file-type.
Example: liferay-samples/sample-struts-portlet/7.0.0/war
The recommended-deployment-context element determines the context to which this
plugin should be deployed. Some portlet packages require this because their own
code references itself through URLs that include the context.
The required-deployment-contexts element indicates contexts which this plugin
needs to be deployed. Some plugins require this in order to rely on services and
features provided by other plugins.
Element's model:(required-deployment-context)*
The required-deployment-context element contains the name of a context that is
required by this plugin.
The types element contains a list of plugin types included in the package.
<types>'s children |
|
Name | Cardinality |
|
type | At least one |
|
Element's model:(type)+
The type element contains the type of the plugin. Valid values are: portlets,
layout-templates, and themes.
The tags element contains a list of tags to categorize the plugin.
<tags>'s children |
|
Name | Cardinality |
|
tag | Any number |
|
Element's model:(tag)*
The tag element contains a tag that categorizes the plugin.
The short-description element contains a short description of the plugin.
The long-description element contains a detailed description of the plugin. It
is recommended that installation or update instructions are provided if the
portal administrator has to perform extra steps to be able to use the plugin
after it is deployed.
Note: the text of this element might contain simple HTML formatting if encoded
within a CDATA section.
The change-log element contains an explanation of the changes made in the latest
release. It is recommended to try to offer all the information that a user
might need to decide whether to update a previous version.
Note: the text of this element might contain simple HTML formatting if encoded
within a CDATA section.
The page-url element contains the URL of the home page of the plugin.
The screenshots element contains a list of screenshots for the plugin.
<screenshots>'s children |
|
Name | Cardinality |
|
screenshot | At least one |
|
Element's model:(screenshot)+
The screenshot element contains two URLs for the thumbnail and large images
versions of the screenshot
Element's model:(thumbnail-url, large-image-url)
The thumbnail-url element contains the URL of a thumbnail screenshot of the
plugin. It is recommended that the width of the images is 120 pixels and that
the height is in the same size range.
The large-image-url element contains the URL of a large image screenshot of the
plugin.
The author element contains the name of the author of the plugin.
The licenses element contains a list of licences under which the plugin is
provided.
<licenses>'s children |
|
Name | Cardinality |
|
license | At least one |
|
Element's model:(license)+
The license element contains the name of a licence under which the plugin is
provided.
<license>'s attributes |
|
Name | Values | Default |
|
osi-approved | true, false, yes, no | | url | | |
|
The osi-approved attribute specifies if the license is open source, approved by
the Open Source Initiative (OSI). In that case it's value is true.
Possible values: true, false, yes, no - Required
The url attribute specifies a URL of a page that describes the license.
The liferay-versions element contains a list of Liferay Portal versions that
are supported by the plugin.
Element's model:(liferay-version)+
The liferay-version element contains a version of Liferay Portal that is
supported by the plugin.
The deployment-settings element contains a list of parameters that specify how
the package should be deployed.
<deployment-settings>'s children |
|
Name | Cardinality |
|
setting | At least one |
|
Element's model:(setting)+
The setting element specifies a name value pair that provides information of how
the package should be deployed.
<setting>'s attributes |
|
Name | Values | Default |
|
name | | | value | | |
|
The name attribute specifies the name of the setting.
The value attribute specifies the value of the setting.