Hi Tony, hi Ceki,<br><br>I am a big fan of standard things (convention-over-configuration) and you convinced me to change my opinion.<br>Because of easiness of "versions:set" and advantages of SNAPSHOT, I think now, it is better to use the "standard workflow"<br>
with SNAPSHOT versions during developing.<br><br>@Tony: I deleted tag v_0.1.2 and 0.1.0 from git repo, because I think, the git tags should be in sync with Maven Central. OK?<br><br>Christian <br><div class="gmail_extra">
<br><br><div class="gmail_quote">2012/12/21 Tony Trinh <span dir="ltr"><<a href="mailto:tony19@gmail.com" target="_blank">tony19@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Christian,<div><br></div><div>That's ok with me, but I would like to explain why I personally prefer to use the SNAPSHOT qualifier.</div><div><br></div><div>Maven has special handling [1] for SNAPSHOT versions (specifically with this suffix) that allows users to have projects that automatically download bleeding-edge builds from the snapshots repo (and this is something I'm interested in using). Maven automatically expands the "-SNAPSHOT" suffix into a date-time-buildNumber string (see [2] for example), which provides for reproducibility should we have users that download directly from the SNAPSHOT repo (assuming the JAR itself does not already have this info in its manifest metadata).</div>


<div><br></div><div>Also, I think SNAPSHOT versioning is an easy way to tell that the code you're looking at is under active development and is not actually of a release (especially if you're sharing an exported tarball with someone).</div>


<div><br></div><div>In addition, I like to use the maven-release-plugin (which requires the SNAPSHOT suffix) because it handles the versioning, tagging, and deployment for you in a single command. I've had no problems using it for releasing my other projects, and it significantly simplifies the release process for me and allows for consistency (before the plugin, I've often tagged my code with typos in the label; or I would forget to bump my development version). I now just enter:</div>


<div><br></div><div>    mvn release:clean release:prepare release:perform</div><div><br></div><div>(or as individual steps if necessary)</div><div><br></div><div>All that said, I'm perfectly fine with conforming to what's comfortable with other developers on the team. Unless somebody else speaks up now, I can live without SNAPSHOT versioning.</div>


<div><br></div><div>Also, sorry to all for the notification noise from the recent check-ins. I was actually experimenting in a fork, not realizing that I was pushing to the original project. I've since removed those check-ins (as you've probably already noticed).</div>


<div><br></div><div>-Tony</div><div><br></div><div>[1] <a href="http://docs.codehaus.org/pages/viewpage.action?pageId=22585" target="_blank">http://docs.codehaus.org/pages/viewpage.action?pageId=22585</a><br>        Note: The link above is rather old, but I believe it still applies to the current versions of Maven.</div>


<div>[2] <a href="https://oss.sonatype.org/content/repositories/snapshots/com/github/tony19/logback-android-core/1.0.8-1-SNAPSHOT/" target="_blank">https://oss.sonatype.org/content/repositories/snapshots/com/github/tony19/logback-android-core/1.0.8-1-SNAPSHOT/</a></div>
<div class="HOEnZb"><div class="h5">

<div><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 2:05 AM, Christian Trutz <span dir="ltr"><<a href="mailto:christian.trutz@belaso.de" target="_blank">christian.trutz@belaso.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tony,<br><br>I propose to use following workflow to version logback-contrib:<br><br>1) we don't use SNAPSHOT<br>



2) if a version is "in work", it gets the version of the following next release<br>3) if a release is ready, we tag this version in GIT<br>
<br>For example:<br><br>- Version v_0.1.1 is ready: git tag -a v_0.1.1<br>- In pom.xml we have version 0.1.2<br>- many development iterations<br>- Version v_0.1.2 is ready: git tag -a v_0.1.2<br>...<br><br>OK?<br><br>Christian<br>




<br><br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/20 Tony Trinh <span dir="ltr"><<a href="mailto:tony19@gmail.com" target="_blank">tony19@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




  Branch: refs/heads/master<br>
  Home:   <a href="https://github.com/qos-ch/logback-contrib" target="_blank">https://github.com/qos-ch/logback-contrib</a><br>
  Commit: cdc7faa03d32b37da39e64ba8a10d8a2359d256b<br>
      <a href="https://github.com/qos-ch/logback-contrib/commit/cdc7faa03d32b37da39e64ba8a10d8a2359d256b" target="_blank">https://github.com/qos-ch/logback-contrib/commit/cdc7faa03d32b37da39e64ba8a10d8a2359d256b</a><br>
  Author: Tony Trinh <<a href="mailto:tony19@gmail.com" target="_blank">tony19@gmail.com</a>><br>
  Date:   2012-12-19 (Wed, 19 Dec 2012)<br>
<br>
  Changed paths:<br>
    M pom.xml<br>
<br>
  Log Message:<br>
  -----------<br>
  Add SNAPSHOT label to version<br>
<br>
<br>
  Commit: 74dca95fb9432f96dae2ef4707ebc44d8885cc81<br>
      <a href="https://github.com/qos-ch/logback-contrib/commit/74dca95fb9432f96dae2ef4707ebc44d8885cc81" target="_blank">https://github.com/qos-ch/logback-contrib/commit/74dca95fb9432f96dae2ef4707ebc44d8885cc81</a><br>
  Author: Tony Trinh <<a href="mailto:tony19@gmail.com" target="_blank">tony19@gmail.com</a>><br>
  Date:   2012-12-19 (Wed, 19 Dec 2012)<br>
<br>
  Log Message:<br>
  -----------<br>
  Merge branch 'master' into fixbr<br>
<br>
<br>
  Commit: 082e705d09b557ac69eb77dfc7e6d6f59b31a4ed<br>
      <a href="https://github.com/qos-ch/logback-contrib/commit/082e705d09b557ac69eb77dfc7e6d6f59b31a4ed" target="_blank">https://github.com/qos-ch/logback-contrib/commit/082e705d09b557ac69eb77dfc7e6d6f59b31a4ed</a><br>
  Author: Tony Trinh <<a href="mailto:tony19@gmail.com" target="_blank">tony19@gmail.com</a>><br>
  Date:   2012-12-19 (Wed, 19 Dec 2012)<br>
<br>
  Changed paths:<br>
    M eclipse/pom.xml<br>
    M jackson/pom.xml<br>
    M json/classic/pom.xml<br>
    M json/core/pom.xml<br>
    M json/pom.xml<br>
    M mongodb/access/pom.xml<br>
    M mongodb/classic/pom.xml<br>
    M mongodb/core/pom.xml<br>
    M mongodb/pom.xml<br>
    M pom.xml<br>
<br>
  Log Message:<br>
  -----------<br>
  [maven-release-plugin] prepare release v_0.1.2<br>
<br>
<br>
Compare: <a href="https://github.com/qos-ch/logback-contrib/compare/262b20f15678...082e705d09b5" target="_blank">https://github.com/qos-ch/logback-contrib/compare/262b20f15678...082e705d09b5</a><br>
<br>_______________________________________________<br>
logback-dev mailing list<br>
<a href="mailto:logback-dev@qos.ch" target="_blank">logback-dev@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-dev" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-dev</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>