# Version rules

> What a version in plinto.conf matches in the group, exactly, and what it never does.

A version in `plinto.conf` is matched against what your version group has, and must match exactly one release. There are no ranges and no "latest".

| You write | It matches |
|---|---|
| `Guava = 33.7.2-jre` | that version |
| `MyLib = 1.0` | the newest release of the line 1.0 the group pins (`1.0-4`) |
| `Java = 25` | the release the group's pointer 25 points at (`25.0.4.10.1`) |

A pointer is checked first: when the group points `Java 25` somewhere, `Java = 25` means that release.

What doesn't match:

- **A prefix.** `Java = 25.0` doesn't match `25.0.4.10.1`, unless the group points `25.0` there.
- **A version the group doesn't have.** The error says what it has:

```text
HelloApp needs Guava 34, but version group main pins Guava 33.7.2-jre
```

To get it, [import it](../concepts/packages.md#imports) into the group, then `plinto update`.

## Pointers {#pointers}

The group keeps them: in the Groups app, **Point a line of …** points a line such as `25` at one of the group's releases. A line is letters, digits and dots, such as `25`, `4.x` or `v0`. An import moves a pointer only when you ask, with `--point 25`.

On a package's page in the Code app, **Point a version** points a line in the group the package follows, at any of its versions: one the group doesn't have yet is built into it at its commit as the line moves, an import reusing its release.

- [Versions and releases](../concepts/versions.md): lines and their releases
- [Version groups](../concepts/version-groups.md#pointers): pointers, in a picture
- [plinto.conf](plinto-conf.md): where versions are written
