bcgov / ols-geocoder

Physical Address Geocoder
Apache License 2.0
10 stars 6 forks source link

support for new GNIS format #358

Closed cmhodgson closed 1 year ago

cmhodgson commented 1 year ago

This is the java code part of LOC-4538

Sorry for the error in the branch name, gsr should be gnis, acronym overload.

geocoder-bot commented 1 year ago

[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] OLS Geocoder [pom] [INFO] OLS Geocoder Core [jar] [INFO] OLS Geocoder Web [war] [INFO] OLS Geocoder Admin [war] [INFO] OLS Geocoder Process [jar] [INFO] [INFO] ---------------------< ca.bc.gov.ols:ols-geocoder >--------------------- [INFO] Building OLS Geocoder 48b2586a9400fb84f84aa589156cf4babeff035d [1/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-source-plugin:2.1.2:jar-no-fork (attach-sources) @ ols-geocoder --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ols-geocoder --- [INFO] Installing /workspace/source/pom.xml to /workspace/.m2/repository/ca/bc/gov/ols/ols-geocoder/48b2586a9400fb84f84aa589156cf4babeff035d/ols-geocoder-48b2586a9400fb84f84aa589156cf4babeff035d.pom [INFO] [INFO] --- maven-javadoc-plugin:3.1.1:jar (javadoc-html) @ ols-geocoder --- [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [INFO] ------------------< ca.bc.gov.ols:ols-geocoder-core >------------------- [INFO] Building OLS Geocoder Core 48b2586a9400fb84f84aa589156cf4babeff035d [2/5] [INFO] --------------------------------[ jar ]--------------------------------- Downloading from ps-libs: https://artifacts.developer.gov.bc.ca/artifactory/g988-libs/ca/bc/gov/ols/ols-util/1.3.1-SNAPSHOT/maven-metadata.xml Progress (1): 1.2 kB

Downloaded from ps-libs: https://artifacts.developer.gov.bc.ca/artifactory/g988-libs/ca/bc/gov/ols/ols-util/1.3.1-SNAPSHOT/maven-metadata.xml (1.2 kB at 1.5 kB/s) Downloading from ps-libs: https://artifacts.developer.gov.bc.ca/artifactory/g988-libs/ca/bc/gov/ols/ols-util/1.3.1-SNAPSHOT/ols-util-1.3.1-20230505.222338-6.pom Progress (1): 404 B

Downloaded from ps-libs: https://artifacts.developer.gov.bc.ca/artifactory/g988-libs/ca/bc/gov/ols/ols-util/1.3.1-SNAPSHOT/ols-util-1.3.1-20230505.222338-6.pom (404 B at 7.8 kB/s) Downloading from ps-libs: https://artifacts.developer.gov.bc.ca/artifactory/g988-libs/ca/bc/gov/ols/ols-util/1.3.1-SNAPSHOT/ols-util-1.3.1-20230505.222338-6.jar Progress (1): 4.1/89 kB Progress (1): 7.4/89 kB Progress (1): 12/89 kB Progress (1): 16/89 kB Progress (1): 20/89 kB Progress (1): 24/89 kB Progress (1): 28/89 kB Progress (1): 32/89 kB Progress (1): 36/89 kB Progress (1): 40/89 kB Progress (1): 44/89 kB Progress (1): 48/89 kB Progress (1): 52/89 kB Progress (1): 57/89 kB Progress (1): 61/89 kB Progress (1): 65/89 kB Progress (1): 69/89 kB Progress (1): 73/89 kB Progress (1): 76/89 kB Progress (1): 80/89 kB Progress (1): 84/89 kB Progress (1): 88/89 kB Progress (1): 89 kB

Downloaded from ps-libs: https://artifacts.developer.gov.bc.ca/artifactory/g988-libs/ca/bc/gov/ols/ols-util/1.3.1-SNAPSHOT/ols-util-1.3.1-20230505.222338-6.jar (89 kB at 1.2 MB/s) [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ols-geocoder-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ ols-geocoder-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 139 source files to /workspace/source/ols-geocoder-core/target/classes [INFO] /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/data/LocationBase.java: /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/data/LocationBase.java uses or overrides a deprecated API. [INFO] /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/data/LocationBase.java: Recompile with -Xlint:deprecation for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/config/FileExportGeocoderConfigurationStore.java:[26,41] package org.springframework.web.multipart does not exist [ERROR] /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/config/FileExportGeocoderConfigurationStore.java:[42,53] cannot find symbol symbol: class MultipartFile location: class ca.bc.gov.ols.geocoder.config.FileExportGeocoderConfigurationStore [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for OLS Geocoder 48b2586a9400fb84f84aa589156cf4babeff035d: [INFO] [INFO] OLS Geocoder ....................................... SUCCESS [ 2.814 s] [INFO] OLS Geocoder Core .................................. FAILURE [ 7.010 s] [INFO] OLS Geocoder Web ................................... SKIPPED [INFO] OLS Geocoder Admin ................................. SKIPPED [INFO] OLS Geocoder Process ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.172 s [INFO] Finished at: 2023-06-08T21:19:16Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project ols-geocoder-core: Compilation failure: Compilation failure: [ERROR] /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/config/FileExportGeocoderConfigurationStore.java:[26,41] package org.springframework.web.multipart does not exist [ERROR] /workspace/source/ols-geocoder-core/src/main/java/ca/bc/gov/ols/geocoder/config/FileExportGeocoderConfigurationStore.java:[42,53] cannot find symbol [ERROR] symbol: class MultipartFile [ERROR] location: class ca.bc.gov.ols.geocoder.config.FileExportGeocoderConfigurationStore [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :ols-geocoder-core