When updating projects with the JGit dependency, the following
exception is thrown:
Exception in thread "main" java.lang.NumberFormatException: For input string: "201202151440"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at scala.collection.immutable.StringLike.toInt(StringLike.scala:304)
at scala.collection.immutable.StringLike.toInt$(StringLike.scala:304)
at scala.collection.immutable.StringOps.toInt(StringOps.scala:33)
at seed.artefact.SemanticVersioning$.parsePreReleaseParts(SemanticVersioning.scala:59)
at seed.artefact.SemanticVersioning$.parseVersion(SemanticVersioning.scala:94)
Changes:
Represent pre-release versions as longs to prevent this exception
Create pre-release tag Commit for versions in Git notation
Change ordering of Snapshot to reflect real-world usage
When updating projects with the JGit dependency, the following exception is thrown:
Changes:
Commit
for versions in Git notationSnapshot
to reflect real-world usage