lowlydba/sustainable-mvn
🌱 Writes Maven configurations to .mvn/maven.config to optimize speed and reduce CO₂ emissions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| batch-mode | Enable --batch-mode (disables interactive prompts and ANSI color codes). | no | true |
| no-transfer-progress | Suppress download/upload progress output (--no-transfer-progress). | no | true |
| threads | Thread count for parallel module builds (-T). Use 1C for one thread per CPU core, a fixed integer, or empty string to disable. | no | 1C |
| offline | Run Maven fully offline (--offline). Requires a pre-populated local repo cache. | no | false |
| skip-tests | Skip test compilation and execution (-DskipTests). | no | false |
| artifact-threads | Parallel threads for artifact downloads (-Dmaven.artifact.threads). | no | 8 |
| overwrite | Overwrite an existing .mvn/maven.config. When false, the action skips writing and emits a notice if the file already exists. | no | false |
Outputs
no outputs