Package com.funnelback.plugin
Class PluginUtil
- java.lang.Object
-
- com.funnelback.plugin.PluginUtil
-
public class PluginUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static Pattern
semverPattern
-
Constructor Summary
Constructors Constructor Description PluginUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<String>
getCurrentProjectVersion()
Reads the pom.xml file for the current project, and returns the value of the version node.static boolean
matchesSemver(String version)
-
-
-
Field Detail
-
semverPattern
static final Pattern semverPattern
-
-