# JVM & Clojure Artifact License & Dependency Audit

**Use case:** 

Export stable Clojars JVM artifacts with download counts, license strings, and GitHub SCM links for SCA compliance.

## Input

```json
{
  "search_queries": [
    "ring",
    "reitit"
  ],
  "groups": [
    "metosin",
    "ring",
    "babashka"
  ],
  "exact_artifacts": [],
  "min_downloads": 0,
  "group_namespace_types": [],
  "license_filter": "",
  "require_scm_url": false,
  "exclude_snapshot_only": true,
  "deep_enrich_artifact": true,
  "deep_enrich_pom": false,
  "include_test_dependencies": false,
  "max_search_pages_per_query": 1,
  "sort_by": "downloads_desc",
  "max_items": 15
}
```

## Output

```json
{
  "canonical_coordinate": {
    "label": "Canonical Clojure Coordinate",
    "format": "string"
  },
  "resolved_version": {
    "label": "Resolved Target Version",
    "format": "string"
  },
  "latest_stable_version": {
    "label": "Latest Stable SemVer Release",
    "format": "string"
  },
  "total_downloads": {
    "label": "Total Downloads",
    "format": "integer"
  },
  "licenses": {
    "label": "Declared POM Licenses",
    "format": "array"
  },
  "direct_dependency_count": {
    "label": "Direct POM Dependencies",
    "format": "integer"
  },
  "group_namespace_type": {
    "label": "Group Namespace Category",
    "format": "string"
  },
  "deps_edn_coordinate": {
    "label": "Clojure CLI (deps.edn) Snippet",
    "format": "string"
  },
  "scm_url": {
    "label": "Source Repository (SCM) URL",
    "format": "string"
  },
  "cljdoc_url": {
    "label": "cljdoc API Documentation URL",
    "format": "string"
  },
  "clojars_url": {
    "label": "Clojars Artifact Page",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Clojars Clojure & Enterprise JVM Artifact Scraper Actor is ready to run with the inputs already set for "JVM & Clojure Artifact License & Dependency Audit". [Sign up or log in](https://console.apify.com/create-task-from-example/PWB1gecMZvkRnWLT2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "JVM & Clojure Artifact License & Dependency Audit" task

The Clojars Clojure & Enterprise JVM Artifact Scraper Actor will start running based on the input automatically. You can also change all the input fields, like clojars search / lucene queries (optional), clojars group namespaces (optional), and more, to match your specific use case.

### 3. Receive the "JVM & Clojure Artifact License & Dependency Audit" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as canonical clojure coordinate, resolved target version, latest stable semver release, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "JVM & Clojure Artifact License & Dependency Audit" task via API](https://apify.com/bifrost-data/clojars-jvm-registry-scraper.md).

## FAQ

### Are unstable SNAPSHOT test builds excluded?

Yes. exclude_snapshot_only removes SNAPSHOT-only artifacts so compliance reports stay clean.

### Can it extract Maven POM dependencies and licenses?

Yes. Enable deep_enrich_pom to parse direct runtime dependencies and license declarations.

### Is any Clojars credential needed?

No API key is required.

## About this Actor

This example demonstrates how to use [Clojars Clojure & Enterprise JVM Artifact Scraper](https://apify.com/bifrost-data/clojars-jvm-registry-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bifrost-data/clojars-jvm-registry-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/bifrost-data/clojars-jvm-registry-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
