Hey Paul!<br><br>Thanks for the feedback! Where&#39;ve you been!? :) I agree with you. This is a very good version scheme and I think we should use it. The only issue is distinguishing between consumers and producers, but as of Forge 1x, there are no producers, so this will only be a concern for Forge 2x.<br>
<br>~Lincoln<br><br><div class="gmail_quote">On Thu, Sep 20, 2012 at 2:17 AM, Paul Bakker <span dir="ltr">&lt;<a href="mailto:paul.bakker.nl@gmail.com" target="_blank">paul.bakker.nl@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>Hi George,</div><div><br></div><div>The problem is that the &quot;marketing&quot; version and semantic version are not separated cleanly. With marketing version I mean &quot;you must see this release, it has a new version number so there is a lot of new stuff!&quot; (nothing wrong with that). A semantic version just says something about wether APIs are broken or not. The plugin system now tries to use the version as a semantic version; should or shouldn&#39;t the plugin be compatible with this release?</div>
<div>Semantic versioning is something described by the OSGi alliance, but can be used in any versioning scheme (we have discussed this before on the mailinglist). It is defined as follows:</div><div><br></div><div>1. major — Packages with versions that have different major parts are not compatible both for providers as </div>
<div>well as consumers. For example, 1.2 and 2.3 are completely incompatible.</div><div>2. minor — API consumers are compatible with exporters that have the same major number and an equal or </div><div>higher minor version. API providers are compatible with exporters that have the same major and minor </div>
<div>version number. For example, 1.2 is backward compatible with 1.1 for consumers but for providers it is </div><div>incompatible. Consumers should therefore import [1.2,2) and providers should import [1.2,1.3).</div><div>
3. micro — A difference in the micro part does not signal any backward compatibility issues. The micro </div><div>number is used to fix bugs that do not affect either consumers or providers of the API.</div><div>4. qualifier — The qualifier is usually used to indicate a build identity, for example a time stamp. Different </div>
<div>qualifiers do not signal any backward compatibility issues.</div><div><br></div><div>So the question is: are there any APIs changed related to plugins? In the case of plugins they will be mostly consumers (plugins use Forge APIs, but won&#39;t implement them most of the time) so only major changes (that break consumers) matter.</div>
<div><br></div><div>The minor version update we want to do for this Forge version implies that consumers (plugins) will not be broken. First of all we should decide if this is correct or not, but I expect it is. Next I think it would make sense the plugin system to only look at major version changes, because that&#39;s when plugins will break.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Paul</div><div><br></div><br><div><div><div class="h5"><div>On Sep 20, 2012, at 0:31 , <a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello, <br>
    <br>
    Forge 1.1.0.Final is on the staging repository, ready to be
    released. However, when I tested installing any plugin (arquillian
    for example) I get the following message and the plugin is ignored :<br>
    <br>
    Not loading plugin [org.arquillian.forge.arquillian-plugin] because
    it references Forge API version [1.0.3-SNAPSHOT] which may not be
    compatible with my current version [1.1.0.Final]. To remove this
    plugin, type &#39;forge remove-plugin
    org.arquillian.forge.arquillian-plugin:1.0.3-SNAPSHOT:1.0.0-SNAPSHOT-a13eaa1a-1d84-45bc-921c-4829dd36c0e9.
    Otherwise, try installing a new version of the plugin.<br>
    <br>
    <br>
    What should we do ? Change each plugin to be compatible with this
    version or change the 1.1.0.Final code to ignore it ?<br>
    <br>
    Suggestions appreciated, <br>
    <br>
    Best Regards,<br>
    <br>
    <div>-- <br>
      <b>George Gastaldi</b> | <i>Senior Software Engineer</i> <br>
      JBoss Forge Team<br>
      Red Hat<br>
    </div>
  </div></div></div>

_______________________________________________<br>forge-dev mailing list<br><a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</blockquote></div><br></div><br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;<br>