Documentation
¶
Overview ¶
Package maven contains supporting types and functions for working with maven data and APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
Version implements maven-style versions.
Maven versions have the extremely fun property of being arbitrarily long and arbitrarily nested. Put another way, maven versions are trees where both adding subtrees and modifying nodes have defined ordering semantics.
The wiki reference is also incorrect -- the comparison function is reverse-engineered from actual behavior rather than specified behavior.
See also: https://cwiki.apache.org/confluence/display/MAVENOLD/Versioning See also: https://github.com/apache/maven/blob/maven-3.9.x/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
func ParseVersion ¶
ParseVersion parses the provided string as a maven version.