All integrations
Maven Central logo

Maven Central

Code Repositories

Read the Java and JVM package registry from a workflow. Search every library on Maven Central by name, namespace, packaging, tag or release date, get any library's current version and full version history, and read a release's POM for its licence, developers, source repository and dependencies. Find which artifact contains a given Java class, identify an unlabelled jar from its SHA-1, and get the direct download URL, size and checksums of any published file. It also watches your own releases on the Central Portal: whether a version number has already been used, how a deployment your build uploaded is progressing through validation, and what is inside one before it goes out. Every action reads — nothing here uploads, releases or discards anything on Maven Central.

12 actions

Actions

Steps your workflow can run in Maven Central.

Search artifactsSearch Maven Central for Java and JVM libraries by name, by publisher namespace, by what they publish, or by when they were last released. Returns one row per library with its latest version, so it answers 'what is there for X?' and 'what has this namespace released?'.
Get the latest versionGet the current version of one library, ready to paste into a build file, plus when it was released and how many versions there have been. The action for 'is our dependency out of date?'.
List versionsList every release of one library, newest first, with the date each went out and the files each published. Filter to a date range to see only what shipped since a given moment.
Get a versionGet one exact release: when it was published, what it publishes as, and every file it shipped — the main jar, the sources jar, the javadoc jar and anything else — with the classifier and extension needed to fetch each.
Get version metadataRead an artifact's maven-metadata.xml straight from the repository: every version it has ever published in one list, which one Maven treats as the current release, and when the list last changed. This is the repository's own record, so it is the one to trust when the search index has not caught up with a release yet.
Get a POMRead a release's POM and hand it back already parsed: the project's name and description, its licence, its source repository, its developers, its parent, everything it depends on and every version it manages. The action for licence audits and dependency reviews.
Get a file's download URLFind one published file — the jar, the sources jar, the javadoc jar, the POM — and hand back its direct download URL, its size, when it was last modified and its SHA-1 and MD5 checksums. Pick the file from a list of what the release actually published. Hands back the URL rather than the file itself, for a later step to download.
Find artifacts by class nameFind which releases on Maven Central contain a given Java class, by its simple name or its fully qualified one. The action for a ClassNotFoundException or a NoClassDefFoundError: it answers 'which dependency do I need for this class?'.
Identify a file by checksumIdentify an unlabelled jar from its SHA-1: given the checksum, say exactly which release on Maven Central it is. The action for auditing a lib/ directory or verifying that a file really is the release it claims to be.
Check whether a version is publishedAsk the Central Portal whether a version is already out. Maven Central never lets a published version be replaced, so this is the check to run before a release goes out: if the answer is yes, the version number has to go up. Answers immediately, without waiting for the search index to catch up. Reads only, and only about your own namespaces.
Get a deploymentCheck where a deployment has got to: still validating, waiting for someone to release it, on its way to Maven Central, out, or failed with the reasons why. Also lists the components it contains. Point it at a deployment your build uploaded and a workflow can watch a release land, or raise an alert when validation fails or a release sits waiting. Reads only: it never releases or discards anything, and only reads your own deployments.
Get a file from a deploymentRead a file out of a deployment that has passed validation but has not been released, so a release candidate can be checked before it goes out. Text files such as the POM come back as text; anything else comes back as its size, type and SHA-1. Give a deployment ID to look inside that one deployment, or leave it blank to take the file from whichever validated deployment has it. Reads only, and only about your own deployments.

Connect in a few clicks

Authenticate once and every action and trigger for the app is ready to drop into a workflow. No glue code, no maintenance.

Automate across your stack

Chain apps together with triggers, actions, and logic that move data between your tools automatically, so work happens without you.

Secure by default

Credentials are encrypted and scoped per workspace. Connect the tools your team already trusts with confidence.

Automate Maven Central with Lodol.

Connect Maven Central and build your first workflow in minutes. No credit card required.

Free plan available · No credit card required