<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="+1"><font face="Courier New, Courier, monospace">Hi,<br>
        <br>
        when I tried to load plugins I downloaded from github and
        compiled by "forge source-plugin" I could not load them.<br>
        I found that the API-version string of the plugins did not
        contain "SNAPSHOT" and a ConcurrentModificationException was
        thrown in Bootstrap class.<br>
        <br>
        So I (pragmatically though) changed the lines starting from 174+
        to:<br>
        <br>
      </font></font>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    thomas@happy:~/java/git/forge&gt; git difftool -y -t ctxdiff
    shell/src/main/java/org/jboss/forge/shell/Bootstrap.java<br>
    26a27<br>
    &gt; import java.util.Iterator;<br>
    173,179c174,181<br>
    &lt;             for (PluginEntry pluginEntry : incompatible) {<br>
    &lt;                if
    (pluginEntry.getApiVersion().contains("SNAPSHOT"))<br>
    &lt;                {<br>
    &lt;                   toLoad.add(pluginEntry);<br>
    &lt;                   incompatible.remove(pluginEntry);<br>
    &lt;                }<br>
    &lt;             }<br>
    ---<br>
    &gt;              Iterator&lt;PluginEntry&gt; incompIter =
    incompatible.iterator();<br>
    &gt;              while (incompIter.hasNext()) {<br>
    &gt;                  PluginEntry pluginEntry = incompIter.next();<br>
    &gt;                  if
    (pluginEntry.getApiVersion().contains("SNAPSHOT") ||
    pluginEntry.getSlot().contains("SNAPSHOT")) {<br>
    &gt;                      toLoad.add(pluginEntry);<br>
    &gt;                      incompIter.remove();<br>
    &gt;                  }<br>
    &gt;              }<br>
    <br>
    <big>Silly?<br>
      How should "forge source-plugin" work with plugins coming from
      HEAD?</big><br>
    <br>
    Comments appreciated,<br>
    Thomas<br>
  </body>
</html>