Class PinTasks
java.lang.Object
org.jpos.gradle.PinTasks
Tasks to pin/unpin SNAPSHOT versions in gradle/libs.versions.toml.
During development, projects track -SNAPSHOT versions of jPOS, jPOS-EE
and related libraries. When entering a certification or QA phase, those versions
are pinned to a specific timestamped snapshot build (e.g.
3.0.2-20260720.022713-26), as advertised by the repository's
version-level maven-metadata.xml. These tasks automate the round trip:
pins— lists every SNAPSHOT (or pinned) version entry and the latest snapshot build available in the project's Maven repositories.pin [--ref jpos] [--to 3.0.2-20260720.022713-26]— pins version entries (all of them by default) to the latest snapshot build (or an explicit one given with--to), recording the original SNAPSHOT in a trailing# pinned-fromcomment.unpin [--ref jpos]— restores the original SNAPSHOT version(s).
Edits are line-based so comments and formatting in the catalog are preserved.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPins version entries to specific timestamped snapshot builds, keeping the original SNAPSHOT in a marker comment.static classLists SNAPSHOT/pinned entries and the latest snapshot builds available in the project's repositories.static classRestores pinned entries back to their original SNAPSHOT versions. -
Method Summary