<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JBoss Central - How Does It Work?
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="https://community.jboss.org/people/nickboldt">Nick Boldt</a> in <i>JBoss Tools Development</i> - <a href="https://community.jboss.org/docs/DOC-48297">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><strong>Central consists of three levels of metadata:</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li style="text-align: start;">directory.xml file listing 1 or more discovery plugins (eg., 1 for the Core features, 1 for the Integration Stack (formerly SOA Tooling) features)</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li style="text-align: start;">discovery plugin(s), which define groups of features ("Connectors") to be installed. This amounts to little more than a plugin.xml and some icons.</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li style="text-align: start;">update site(s) referenced by the discovery plugin(s), which host the features to be installed. Sites can be 3rd party vendors' sites, or can be mirrored on download.jboss.org / devstudio.jboss.com for better guarantee of performance / version. Each connector can only define a SINGLE URL for that group of features, however. But that single URL can be a composite site, which in turn points to more than 1 site.</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z b"><strong>There are two simple rules to follow when writing your d</strong></span><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z b"><strong>iscovery plugin.xml:</strong></span></p><p><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z b"><strong><br/></strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"><span class="ace-line" id="magicdomid683"></span>&#160;</p><ul><li><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z">connector</span><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z">ID</span><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z">s</span><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z"> must be stable - </span><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z">should not </span><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z">change between rel</span><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z">e</span><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z">ases</span></li></ul><p><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z"><br/></span></p><ul><li><span class="author-a-rhfgxz76zfz67zz90zuz74zbz78zz88zez83z">Where </span><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z">license terms permit, 3rd party content should be mirrored first onto download.jboss.org and/or devstudio.jboss.com, so that the site content can be more easily controlled / guaranteed</span></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="author-a-4qz82zz70zz69zz67zg9z69zz66z8q5z75zcz122z"><strong>How about some working examples?</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>JBoss Tools 3.3:</p><ul><li style="text-align: start;"><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/updates/stable/indigo/jbosstools-directory.xml" rel="nofollow" target="_blank">http://download.jboss.org/jbosstools/updates/stable/indigo/jbosstools-directory.xml</a><span> (Source: </span><a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-download.jboss.org/blob/master/jbosstools/updates/stable/indigo/jbosstools-directory.xml" rel="nofollow" target="_blank">https://github.com/jbosstools/jbosstools-download.jboss.org/blob/master/jbosstools/updates/stable/indigo/jbosstools-directory.xml</a><span> )</span><ul><li style="text-align: start;">Contains both Core and SOA - point at the following jars:<ul><li style="text-align: start;">org.jboss.tools.central.discovery_1.0.1.v20130112-0624-H128-Final.jar</li><li style="text-align: start;">org.jboss.tools.central.discovery.soa-tooling_1.0.0.v20121025-2148-H3-GA.jar</li><li style="text-align: start;">Each jar contains a plugin.xml file:<ul><li style="text-align: start;">Source: <a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-central/blob/master/central/plugins/org.jboss.tools.central.discovery/plugin.xml" rel="nofollow" target="_blank">https://github.com/jbosstools/jbosstools-central/blob/master/central/plugins/org.jboss.tools.central.discovery/plugin.xml</a></li><li style="text-align: start;">Source:<a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregate/soa-site/plugins/org.jboss.tools.central.discovery.soa-tooling/plugin.xml" rel="nofollow" target="_blank">https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregate/soa-site/plugins/org.jboss.tools.central.discovery.soa-tooling/plugin.xml</a></li></ul></li></ul></li></ul></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>JBoss Developer Studio 5.0:</p><ul><li><a class="jive-link-external-small" href="https://devstudio.jboss.com/updates/5.0/devstudio-directory.xml" rel="nofollow" target="_blank">https://devstudio.jboss.com/updates/5.0/devstudio-directory.xml</a><span> (Source: </span><a class="jive-link-external-small" href="http://svn.jboss.org/repos/devstudio/trunk/devstudio.jboss.com/updates/5.0/devstudio-directory.xml" rel="nofollow" target="_blank">http://svn.jboss.org/repos/devstudio/trunk/devstudio.jboss.com/updates/5.0/devstudio-directory.xml</a><span> )</span><ul><li>Contains both Core and SOA - point at the following jars:<ul><li><p>com.jboss.jbds.central.discovery_1.0.1.v20130119-0035-H249-GA.jar</p></li><li><p>com.jboss.jbds.central.discovery.soa-tooling_1.0.2.v20121213-1115-H6-GA.jar</p></li><li>Each jar contains a plugin.xml file:<ul><li>Source:<a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-central/blob/master/central/plugins/org.jboss.tools.central.discovery/plugin.xml" rel="nofollow" target="_blank">http://svn.jboss.org/repos/devstudio/trunk/product/plugins/com.jboss.jbds.central.discovery/plugin.xml</a></li><li>Source: <a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregate/soa-site/plugins/org.jboss.tools.central.discovery.soa-tooling/plugin.xml" rel="nofollow" target="_blank">http://svn.jboss.org/repos/devstudio/trunk/product-soa/plugins/com.jboss.jbds.central.discovery.soa-tooling/plugin.xml</a></li></ul></li></ul></li></ul></li></ul></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="https://community.jboss.org/docs/DOC-48297">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss Tools Development at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2129">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>