<!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>JBoss Central, based on <a class="jive-link-external-small" href="http://wiki.eclipse.org/Mylyn/Discovery" rel="nofollow">Mylyn Discovery</a>, is in part a UI for installing new features into Eclipse or JBDS. It provider a richer, yet simpler UI than what Eclipse's p2 Install Manager provides out of the box. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 12pt;"><strong>The Software/Update tab in Central is backed by three levels of metadata:</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </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><br/><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><br/><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;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 12pt;"><span><strong>There are two simple rules to follow when writing your discovery plugin.xml:</strong></span></span></p><ul><li><span>connector</span><span>ID</span><span>s</span><span> must be stable - </span><span>should not </span><span>change between rel</span><span>e</span><span>ases</span></li><br/><li><span>Where </span><span>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;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 12pt;"><strong>How about some working examples?</strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><ul><li style="text-align: start;"><strong>JBoss Tools 3.3</strong><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">jbosstools-directory.xml</a><span>)</span><ul><li style="text-align: start;">Contains both Core and SOA - points at the following jars:<ul><li style="text-align: start;">org.jboss.tools.central.discovery_.*.jar (Source: <a class="jive-link-external-small" href="https://anonsvn.jboss.org/repos/jbosstools/branches/jbosstools-3.3.x/central/plugins/org.jboss.tools.central.discovery/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a>)</li><li style="text-align: start;">org.jboss.tools.central.discovery.soa-tooling_*.jar (Source: <a class="jive-link-external-small" href="https://anonsvn.jboss.org/repos/jbosstools/branches/jbosstools-3.3.x/build/aggregate/soa-site/plugins/org.jboss.tools.central.discovery.soa-tooling/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a>)</li></ul></li><li style="text-align: start;">Each jar's plugin.xml then lists a number of connectors, which are groups of features wrapped by a simpler UI than what Eclipse's p2 Install Manager provides out of the box.</li></ul></li></ul></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><ul><li style="text-align: start;"><strong>JBoss Developer Studio 5.0</strong><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">devstudio-directory.xml</a><span>)</span><ul><li>Contains both Core and SOA - points at the following jars:<ul><li>com.jboss.jbds.central.discovery_*.jar (Source: <a class="jive-link-external-small" href="https://svn.jboss.org/repos/devstudio/branches/devstudio-5.0.x/product/plugins/com.jboss.jbds.central.discovery/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a>)</li><li>com.jboss.jbds.central.discovery.soa-tooling_*.jar (Source: <a class="jive-link-external-small active_link" href="https://svn.jboss.org/repos/devstudio/branches/devstudio-5.0.x/product-soa/plugins/com.jboss.jbds.central.discovery.soa-tooling/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a>)</li></ul></li><li>Each jar's plugin.xml then lists a number of connectors. </li></ul></li></ul></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><ul><li style="text-align: start;"><strong>JBoss Tools 4.0</strong><ul><li style="text-align: start;"><a class="jive-link-external-small" href="http://download.jboss.org/jbosstools/updates/stable/juno/jbosstools-directory.xml" rel="nofollow" target="_blank">http://download.jboss.org/jbosstools/updates/stable/juno/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/juno/jbosstools-directory.xml" rel="nofollow" target="_blank">jbosstools-directory.xml</a><span>)</span><ul><li style="text-align: start;">Contains both Core and SOA - points at the following jars:<ul><li style="text-align: start;">org.jboss.tools.central.discovery_.*.jar (Source: <a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-central/blob/jbosstools-4.0.x/central/plugins/org.jboss.tools.central.discovery/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a>)</li><li style="text-align: start;">org.jboss.tools.central.discovery.soa-tooling_*.jar (Source: <a class="jive-link-external-small" href="https://github.com/jbosstools/jbosstools-build-sites/blob/jbosstools-4.0.x/aggregate/soa-site/plugins/org.jboss.tools.central.discovery.soa-tooling/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a> - <em><strong>SUBJECT TO CHANGE</strong></em>)</li></ul></li><li style="text-align: start;">Each jar's plugin.xml then lists a number of connectors.</li></ul></li></ul></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><ul><li style="text-align: start;"><strong>JBoss Developer Studio 6.0</strong><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/6.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/6.0/devstudio-directory.xml" rel="nofollow" target="_blank">devstudio-directory.xml</a><span>)</span><ul><li>Contains both Core and SOA - points at the following jars:<ul><li>com.jboss.jbds.central.discovery_*.jar (Source: <a class="jive-link-external-small" href="https://svn.jboss.org/repos/devstudio/branches/devstudio-6.0.x/product/plugins/com.jboss.jbds.central.discovery/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a>)</li><li>com.jboss.jbds.central.discovery.soa-tooling_*.jar (Source: <a class="jive-link-external-small active_link" href="https://svn.jboss.org/repos/devstudio/branches/devstudio-6.0.x/product-soa/plugins/com.jboss.jbds.central.discovery.soa-tooling/plugin.xml" rel="nofollow" target="_blank">plugin.xml</a> - <em><strong>SUBJECT TO CHANGE</strong></em>)</li></ul></li><li>Each jar's plugin.xml then lists a number of connectors.</li><li>In JBDS 6, these connectors (feature groups) are now labelled as "Tested" or "Supported".</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>