Metadata-Version: 2.4
Name: readystack-maven-central-publish-gate
Version: 1.0.3
Summary: Read a pom.xml the way the Central Portal reads it, before you burn a release tag (bundled Node.js runtime)
Author-email: ReadyStack <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/maven-central-publish-gate?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/maven-central-publish-gate?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: maven,pom.xml,maven central,sonatype,release,java,publishing
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# Maven Central Publish Gate

> Runs the same checker as the npm package `@readystack/maven-central-publish-gate` on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

Read a pom.xml the way the Central Portal reads it, before you burn a release tag

## Install

```
maven-central-publish-gate file
```

Node 18+. The same 16 rules as the VS Code extension, from a terminal or CI.

## Free

- Open any pom.xml in VS Code or paste it into the free web page and get every Central Portal blocker on that file, each one on its own line with the fix
- `--rules` lists every rule

## With a licence ($29 once)

- Gate every pom.xml in a multi-module repository in one command and keep the result as a REPORT.md you own and can attach to the release

```
@readystack/maven-central-publish-gate --dir ./templates --report html --out report.html
```

A freelance Java release engineer bills about $80 an hour, and a rejected bundle costs a full release round-trip: retag, rebuild, re-sign, re-upload.

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "maven-central-publish-gate": { "command": "npx", "args": ["-y", "@readystack/maven-central-publish-gate", "--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: Maven Central Publish Gate
  run: npx -y @readystack/maven-central-publish-gate --dir . --ci
```

(container: `docker run --rm -v "$PWD:/work" getreadystack/maven-central-publish-gate --dir /work --ci`)

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://buy.polar.sh/polar_cl_1ApNFZVJP2ES4VPRlkdZLHqQgk44gcmW4aENZ48tDsD)


<!-- maven central publish gate -->


## Install (PyPI)

```
pip install readystack-maven-central-publish-gate
maven-central-publish-gate --help
```
