Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software does not build in Java11 on Windows #42

Closed
pdsen-ci opened this issue Jun 17, 2021 · 2 comments
Closed

Software does not build in Java11 on Windows #42

pdsen-ci opened this issue Jun 17, 2021 · 2 comments
Assignees
Labels

Comments

@pdsen-ci
Copy link
Contributor

pdsen-ci commented Jun 17, 2021

🐛 Describe the bug

Project doesn't build due to XJC compilation errors.

📜 To Reproduce

Steps to reproduce the behavior:

git clone git@github.com:NASA-PDS/pds4-jparser.git
cd pds4-jparser
mvn clean package

output:

[xjc] [WARNING] schema_reference.4: Failed to read schema document 'schema-stripped.xsd', because 1) could not find the document; 2) the document
could not be read; 3) the root element of the document is not <xsd:schema>.
[xjc]   line 13 of file:C:%5Cws%5Cgithub%5Cpds4-jparser%5Ctarget%5Cgenerated-sources%5Ctemp%5CPDS4_DISP_1G00.xsd
[xjc]
[xjc] [ERROR] src-resolve: Cannot resolve the name 'pds:ASCII_Integer' to a(n) 'type definition' component.
[xjc]   line 111 of file:C:%5Cws%5Cgithub%5Cpds4-jparser%5Ctarget%5Cgenerated-sources%5Ctemp%5CPDS4_DISP_1G00.xsd
[xjc]
[xjc] [ERROR] src-resolve: Cannot resolve the name 'pds:Units_of_Frame_Rate' to a(n) 'simpleType definition' component.
[xjc]   line 150 of file:C:%5Cws%5Cgithub%5Cpds4-jparser%5Ctarget%5Cgenerated-sources%5Ctemp%5CPDS4_DISP_1G00.xsd
[xjc]
[xjc] [ERROR] src-resolve: Cannot resolve the name 'pds:Units_of_Time' to a(n) 'simpleType definition' component.
[xjc]   line 236 of file:C:%5Cws%5Cgithub%5Cpds4-jparser%5Ctarget%5Cgenerated-sources%5Ctemp%5CPDS4_DISP_1G00.xsd

🕵️ Expected behavior

Builds successfully

📚 Version of Software Used

2.1.0-SNAPSHOT (2021-06-17)

🩺 Test Data / Additional context

🏞Screenshots

🖥 System Info

  • OS: Windows 10
  • JDK 11

🦄 Applicable requirements

N/A

⚙️ Engineering Details

  • removing parent POM reference and adding all that info into the POM appears to work better
@tloubrieu-jpl
Copy link
Member

The issue was with JAXB version on Windows. @tdddblog upgraded that and will do more tests.

@jordanpadams
Copy link
Member

closed per #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants