Skip to main content

Maven

Supported Commands

Use these commands with the RepoFlow server:

Command Line
mvn install
mvn deploy

Note: Commands that run locally are not listed here but will work as expected.

Uploading Maven files in RepoFlow

The RepoFlow upload UI reads Maven coordinates from the uploaded POM. When the project version is concrete, RepoFlow uses it automatically.

If the project version contains a Maven property expression such as ${revision}, ${sha1}, or ${changelist}, the upload UI asks for the resolved package version. Enter the exact version used to build the uploaded files.

Native mvn deploy does not require this extra field because Maven includes the resolved coordinates in each repository upload path. RepoFlow stores the POM unchanged and uses the resolved version from that path.

Repository migrations use the resolved source version when a migrated POM contains a version placeholder. A concrete POM version must match the version reported by the source repository.