Could not find artifact `io.micronaut:micronaut-runtime:jar:netty` with Maven application
envgap__micronaut-projects__micronaut-core-6409
Original GitHub issue ↗Opened 2021-10-25
01 / FAILURE SIGNATURE
As reported upstream
[ERROR] Failed to execute goal on project maven: Could not resolve dependencies for project example.micronaut:maven:jar:0.1: Could not find artifact io.micronaut:micronaut-runtime:jar:netty in central (https://repo.maven.apache.org/maven2) -> [Help 1]
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
build.gradle- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
micronaut-projects/micronaut-core #6409 · read the original issue
### Expected Behavior It should be possible to run the application with Maven. ### Actual Behaviour Using Maven and Micronaut `3.1.2-SNAPSHOT` fails to resolve one artifact: ``` Downloading from central: https://repo.maven.apache.org/maven2/io/micronaut/micronaut-runtime/netty/micronaut-runtime-netty.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.139 s [INFO] Finished at: 2021-10-25T09:55:40+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project maven: Could not resolve dependencies for project example.micronaut:maven:jar:0.1: Could not find artifact io.micronaut:micronaut-runtime:jar:netty in central (https://repo.maven.apache.org/maven2) -> [Help 1] ``` I think the error is related to this PR #6404 ### Steps To Reproduce - `git clone https://github.com/micronaut-graal-tests/micronaut-maven-graal` - `cd micronaut-maven-graal` - `git checkout 3.1.x` - `./mvnw mn:run` ### Environment Information Linux Mint 20.2 & Jdk 8 ### Example Application _No response_ ### Version 3.1.2-SNAPSHOT
04 / LABELS
Labels from the report text only; not yet run
misspecificationLabel rules and the text that matched
[
{
"category": "misspecification",
"rule": "signature.unresolvable_declared_requirement",
"source": "failure_signature",
"excerpt": "[ERROR] Failed to execute goal on project maven: Could not resolve dependencies for project example.micronaut:maven:jar:0.1: Could not find artifact io.micronaut:micronaut-runtime:jar:netty in central (https://repo.maven.apache.org/maven2) -> [Help 1]"
}
]Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.