Skip to content

geowave failed to compile, problem with maven-compiler-plugin?  #1843

@tsandio

Description

@tsandio

Observed error while building-
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project geowave-core-store: Compilation failure
[ERROR] /Users/terry/Documents/ods/geowave/core/store/src/main/java/org/locationtech/geowave/core/store/base/BaseDataStoreUtils.java:[836,42] incompatible types: inferred type does not conform to equality constraint(s)
[ERROR] inferred: org.locationtech.geowave.core.store.dimension.NumericDimensionField<capture#1 of ?>
[ERROR] equality constraints(s): org.locationtech.geowave.core.store.dimension.NumericDimensionField

Possible issue with using newer versions?
java -version
java version "16.0.2" 2021-07-20
Java(TM) SE Runtime Environment (build 16.0.2+7-67)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)

mvn --version
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /usr/local/Cellar/maven/3.8.2/libexec
Java version: 16.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.2", arch: "x86_64", family: "mac"

Had another build error that required changing the version of spotbugs to 4.2.2
Tried changing version of maven-compiler-plugin to 3.8.1 but did not resolve issue.

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions