aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
blob: 667f03a00717ca9e598c7624f80426844e6ae39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Claude Commands for SonarScanner CLI

## Update JREs

Help updating all bundled JREs to the latest available JRE 17 version, or to a specific version, by automatically querying the Adoptium API.

**Command:** `/update-jres`

**Usage:**
```
/update-jres           # Uses latest version (default)
/update-jres latest    # Same as above
/update-jres 17.0.15+6 # Uses specific version
```

**What it does:**
1. **Get JREs metadata**: Queries Adoptium API to get JREs metadata
2. **Updates version properties**: Updates architecture-specific dirname properties in pom.xml
3. **Updates download URLs**: Updates platform-specific download URLs
4. **Updates SHA256 hashes**: Updates SHA256 hashes for each platform