# JVM Artifact Release Monitor (`enfex/jvm-artifact-release-monitor`) Actor

Monitor explicit public JVM artifact coordinates for newly published releases with bounded Maven Central REST lookups and change-only dataset output.

- **URL**: https://apify.com/enfex/jvm-artifact-release-monitor.md
- **Developed by:** [Marcel K](https://apify.com/enfex) (community)
- **Categories:** Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 checked jvm artifacts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## JVM Artifact Release Monitor

Monitor an explicit watchlist of public JVM artifact coordinates for newly published releases. The Actor uses the Maven Central REST search endpoint, persists a small baseline per coordinate, and returns only changed release records by default.

### What it does

- Accepts explicit `groupId` + `artifactId` pairs only; it does not discover packages or scrape maintainers.
- Makes one bounded public REST query per unique coordinate.
- Records the latest version, packaging, publication timestamp when provided, and available file extensions.
- Persists a normalized source snapshot by `baselineKey` to detect `availability`, `latest_version`, and `release_metadata` changes.
- Returns structured per-artifact error rows instead of failing an entire watchlist run.
- Omits unchanged records by default to keep scheduled datasets compact.

### Good use cases

- Java/JVM platform teams maintaining a focused dependency watchlist.
- DevOps teams that need a lightweight release-change feed for specific artifacts.
- Security and engineering teams collecting source evidence before their own upgrade review process.

### Input

- `artifacts`: required list of `{ "groupId", "artifactId" }` objects.
- `maxArtifacts`: run cap from 1 to 25; v1 defaults to 10.
- `includeUnchanged`: include unchanged source records after an initial baseline.
- `baselineKey`: separate stored baselines for environments, clients, or schedules.

Example:

```json
{
  "artifacts": [
    { "groupId": "org.apache.logging.log4j", "artifactId": "log4j-core" }
  ],
  "maxArtifacts": 10,
  "includeUnchanged": false,
  "baselineKey": "production"
}
````

### Output

Each dataset item is a changed, explicitly included unchanged, or errored coordinate.

```json
{
  "coordinate": "org.apache.logging.log4j:log4j-core",
  "groupId": "org.apache.logging.log4j",
  "artifactId": "log4j-core",
  "checkedAt": "2026-07-10T00:15:00.000Z",
  "status": "ok",
  "changed": true,
  "changeTypes": ["latest_version"],
  "latestRelease": {
    "version": "2.26.0",
    "packaging": "jar",
    "publishedAt": "2026-04-01T00:00:00.000Z",
    "extensions": [".jar", ".pom"]
  },
  "previousLatestRelease": { "version": "2.25.4" },
  "sourceUrl": "https://search.maven.org/solrsearch/select?...",
  "snapshotHash": "...",
  "warnings": []
}
```

`status` values:

- `ok`: Maven Central returned a latest release record.
- `not_found`: Maven Central returned no release record for that coordinate.
- `error`: invalid coordinate or a source failure; inspect `warnings` for a machine-readable code.

### Pricing status

Pay Per Event is enabled at **$0.002 per checked JVM artifact** using the `checked-jvm-artifact` event. Input is capped at 25 artifacts, so a full run costs at most **$0.05** in event charges. Charging happens before each Maven Central source request and stops before the next source request when the Apify event-charge limit is reached.

### Source, terms, and limitations

- Source: Maven Central REST Search API, documented for JSON access from non-browser user agents: <https://central.sonatype.org/search/rest-api-guide/>.
- Public source records only. No login, cookies, browser automation, proxy, private repository, private network, user data, or maintainer/lead enrichment.
- A source result does not establish dependency compatibility, licensing, vulnerability status, update safety, or an upgrade recommendation.
- Maven Central may delay, change, or omit metadata. The Actor reports the source record it sees and should be used as monitoring evidence, not as the sole deployment gate.
- This is an unofficial independent tool and is not affiliated with, endorsed by, or sponsored by Apache Maven, Maven Central, or Sonatype. All third-party names belong to their respective owners. No third-party logos or branded assets are used.

### Recommended workflow

1. Run once with a stable `baselineKey` to establish a baseline.
2. Schedule future checks with the same key.
3. Keep `includeUnchanged=false` for a compact change-only feed.
4. Use `includeUnchanged=true` when an audit trail of all checks is required.
5. Feed changed records into your own review process; do not automate upgrades from this data alone.

# Actor input Schema

## `artifacts` (type: `array`):

Explicit public Maven Central coordinates to check. Each item needs a groupId and artifactId. No package discovery or private repositories are queried.

## `maxArtifacts` (type: `integer`):

Maximum unique coordinates processed in this run. Hard-capped at 25 for predictable HTTP-only costs.

## `includeUnchanged` (type: `boolean`):

When false, only changed releases and structured per-artifact errors are pushed to the dataset after the first baseline run.

## `baselineKey` (type: `string`):

Namespace for stored release snapshots, for example production, client-a, or weekly.

## Actor input object example

```json
{
  "artifacts": [
    {
      "groupId": "org.apache.logging.log4j",
      "artifactId": "log4j-core"
    }
  ],
  "maxArtifacts": 10,
  "includeUnchanged": false
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset items. Each item contains a coordinate, latest and previous source release records, change state, warning details, and source provenance.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "artifacts": [
        {
            "groupId": "org.apache.logging.log4j",
            "artifactId": "log4j-core"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("enfex/jvm-artifact-release-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "artifacts": [{
            "groupId": "org.apache.logging.log4j",
            "artifactId": "log4j-core",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("enfex/jvm-artifact-release-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "artifacts": [
    {
      "groupId": "org.apache.logging.log4j",
      "artifactId": "log4j-core"
    }
  ]
}' |
apify call enfex/jvm-artifact-release-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=enfex/jvm-artifact-release-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "JVM Artifact Release Monitor",
        "description": "Monitor explicit public JVM artifact coordinates for newly published releases with bounded Maven Central REST lookups and change-only dataset output.",
        "version": "0.1",
        "x-build-id": "LCiKSwxDRJwphMNXr"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/enfex~jvm-artifact-release-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-enfex-jvm-artifact-release-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/enfex~jvm-artifact-release-monitor/runs": {
            "post": {
                "operationId": "runs-sync-enfex-jvm-artifact-release-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/enfex~jvm-artifact-release-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-enfex-jvm-artifact-release-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "artifacts"
                ],
                "properties": {
                    "artifacts": {
                        "title": "JVM artifacts to monitor",
                        "minItems": 1,
                        "maxItems": 25,
                        "type": "array",
                        "description": "Explicit public Maven Central coordinates to check. Each item needs a groupId and artifactId. No package discovery or private repositories are queried.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "groupId": {
                                    "title": "Group ID",
                                    "type": "string",
                                    "description": "Maven groupId, for example org.apache.logging.log4j. Letters, digits, dots, underscores, and hyphens only."
                                },
                                "artifactId": {
                                    "title": "Artifact ID",
                                    "type": "string",
                                    "description": "Maven artifactId, for example log4j-core. Letters, digits, dots, underscores, and hyphens only."
                                }
                            },
                            "required": [
                                "groupId",
                                "artifactId"
                            ]
                        }
                    },
                    "maxArtifacts": {
                        "title": "Max artifacts",
                        "minimum": 1,
                        "maximum": 25,
                        "type": "integer",
                        "description": "Maximum unique coordinates processed in this run. Hard-capped at 25 for predictable HTTP-only costs.",
                        "default": 10
                    },
                    "includeUnchanged": {
                        "title": "Include unchanged artifacts",
                        "type": "boolean",
                        "description": "When false, only changed releases and structured per-artifact errors are pushed to the dataset after the first baseline run.",
                        "default": false
                    },
                    "baselineKey": {
                        "title": "Baseline key",
                        "type": "string",
                        "description": "Namespace for stored release snapshots, for example production, client-a, or weekly."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
