Plugin Descriptor File

The plugins file is used for defining the organisation database each custom project will run on.

Attributes

NameDescriptionValue
name Your custom project's directory name.A valid custom project directory name.
descriptionThe plugin descriptionAny string
enabledDefines if the plugin will be enabled or not. The default value is false.true, false
vendorThe plugin vendor.Any string
versionThe plugin version.Any string
artifactsA list of the plugin projects the plugin consists of.A list of artifact ids as they where specified during the creation of the Java projects.
organisationsA list of the organisation databases that the plugin will run on.A list of <organisationid> elements containing the organisation(data source) name as defined on your Websphere/Wildfly server.

Examples


plugins.xml
<pluginconfig>
    <plugins>
        <plugin>
            <name>example-plugin</name>
            <description>Example plugin for getting started</description>
            <enabled>true</enabled>
            <vendor>CRM.COM</vendor>
            <version>1.0.0</version>
            <artifacts>
                <artifactid>example-ejb-plugin</artifactid>
                <artifactid>example-web-plugin</artifactid>
            </artifacts>
            <organisations>
                <organisationid>SUBSCRIPTIONS_DB</organisationid>
                <organisationid>ADMIN_DB</organisationid>
            </organisations>
        </plugin>
    </plugins>
</pluginconfig>

Related pages