Problems with Maven build
envgap__openhab__openhab-distro-1107
Original GitHub issue ↗Opened 2020-05-03
01 / FAILURE SIGNATURE
As reported upstream
Could not resolve dependencies for project org.openhab.distro:distro:feature:3.0.0-SNAPSHOT: The following artifacts could not be resolved: org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-core:xml:features:2.5, org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-tp:xml:features:3.0.0-SNAPSHOT: Could not find artifact org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-core:xml:features:2.5 in carlspring (http://repo.carlspring.org/content/groups/carlspring)
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
openhab/openhab-distro #1107 · read the original issue
Java version: openjdk 11.0.6 2020-01-14 Maven version: Apache Maven 3.6.3 Repository cloning from: https://github.com/openhab/openhab-distro.git 1 (O.H distro). Then I performed: mvn clean install Then I got this from Maven: Could not resolve dependencies for project org.openhab.distro:distro:feature:3.0.0-SNAPSHOT: The following artifacts could not be resolved: org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-core:xml:features:2.5, org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-tp:xml:features:3.0.0-SNAPSHOT: Could not find artifact org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-core:xml:features:2.5 in carlspring (http://repo.carlspring.org/content/groups/carlspring) Here's wath I tried to solve the problem: 1) Cleaned upthe local .m2 repo lib 2)I Checked the project's poms to pick the correct libraries' version I tried building with java 8 too and I got other issues. What's wrong? Thank you so much
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": "Could not resolve dependencies for project org.openhab.distro:distro:feature:3.0.0-SNAPSHOT: The following artifacts could not be resolved: org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-core:xml:features:2.5, org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-tp:xml:features:3.0.0-SNAPSHOT: Could not find artifact org.openhab.core.features.karaf:org.openhab.core.features.karaf.openhab-core:xml:features:2.5 in carlspring (http://repo.carlspring.org/content/groups/carlspring)"
}
]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.