Skip to content

Instantly share code, notes, and snippets.

@nutjob4life
Created November 3, 2022 20:29
Show Gist options
  • Save nutjob4life/b88bbc63752758068e0f1c39a1d55787 to your computer and use it in GitHub Desktop.
Save nutjob4life/b88bbc63752758068e0f1c39a1d55787 to your computer and use it in GitHub Desktop.
pds4-jparser failing to build
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for gov.nasa.pds:pds4-jparser:jar:2.3.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 75, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 136, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ---------------------< gov.nasa.pds:pds4-jparser >----------------------
[INFO] Building gov.nasa.pds:pds4-jparser 2.3.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:3.3.0:add-source (default) @ pds4-jparser ---
[INFO] Source directory: /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/generated-sources/main/java added.
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (generate-sources) @ pds4-jparser ---
[INFO] Executing tasks
main:
[copy] Copying 1 file to /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/generated-sources/temp
check-generated:
do-generate:
strip:
[xslt] Processing /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/build/resources/schema/1J00/PDS4_PDS_1J00.xsd to /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/generated-sources/temp/schema-stripped.xsd
[xslt] Loading stylesheet /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/build/resources/xsd2to1.xsl
generate:
[mkdir] Created dir: /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/generated-sources/main/java
[xjc] Consider using <depends>/<produces> so that XJC won't do unnecessary compilation
[xjc] Compiling file:/Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/generated-sources/temp/PDS4_DISP_1J00.xsd
[xjc] Writing output to /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/generated-sources/main/java
[echo] Generated Java source files are in the generated/ directory.
generate-if-necessary:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ pds4-jparser ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to gov/nasa/pds/label/jaxb
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ pds4-jparser ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 361 source files to /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/target/classes
[INFO] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/TwoDImageExporter.java: Some input files use or override a deprecated API.
[INFO] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/TwoDImageExporter.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/ImageExporter.java:[242,16] cannot find symbol
symbol: method getLocalIdentifierReference()
location: variable lir of type gov.nasa.arc.pds.xml.generated.LocalInternalReference
[ERROR] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/ImageExporter.java:[243,19] cannot find symbol
symbol: method getLocalIdentifierReference()
location: variable lir of type gov.nasa.arc.pds.xml.generated.LocalInternalReference
[ERROR] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/ImageExporter.java:[244,36] cannot find symbol
symbol: method getLocalIdentifierReference()
location: variable lir of type gov.nasa.arc.pds.xml.generated.LocalInternalReference
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.438 s
[INFO] Finished at: 2022-11-03T15:28:53-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project pds4-jparser: Compilation failure: Compilation failure:
[ERROR] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/ImageExporter.java:[242,16] cannot find symbol
[ERROR] symbol: method getLocalIdentifierReference()
[ERROR] location: variable lir of type gov.nasa.arc.pds.xml.generated.LocalInternalReference
[ERROR] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/ImageExporter.java:[243,19] cannot find symbol
[ERROR] symbol: method getLocalIdentifierReference()
[ERROR] location: variable lir of type gov.nasa.arc.pds.xml.generated.LocalInternalReference
[ERROR] /Users/kelly/Documents/Clients/JPL/PDS/Development/nasa-pds/pds4-jparser/src/main/java/gov/nasa/pds/objectAccess/ImageExporter.java:[244,36] cannot find symbol
[ERROR] symbol: method getLocalIdentifierReference()
[ERROR] location: variable lir of type gov.nasa.arc.pds.xml.generated.LocalInternalReference
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment