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

Java package references must be updated following XSD schema NS changes #218

Closed
patricklucas opened this issue Aug 28, 2024 · 0 comments · Fixed by #219
Closed

Java package references must be updated following XSD schema NS changes #218

patricklucas opened this issue Aug 28, 2024 · 0 comments · Fixed by #219

Comments

@patricklucas
Copy link
Contributor

In #198, the year in the XML namespace for the Orchestra XML schemas was changed from 2020 to 2023, for example, http://fixprotocol.io/2023/orchestra/repository to http://fixprotocol.io/2023/orchestra/repository. Java code generated from these schemas is given a package name derived from the namespace, but in the same PR the code references were updated to "2022" rather than "2023".

The solution is to update these package name references to reflect "2023" rather than "2022".

Example error output:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project interfaces: Compilation failure
[ERROR] /Users/plucas/dev/oss/fix/fix-orchestra/interfaces/src/main/java/module-info.java:[5,41] package is empty or does not exist: io.fixprotocol._2022.orchestra.interfaces
patricklucas added a commit to patricklucas/fix-orchestra that referenced this issue Aug 28, 2024
patricklucas added a commit to patricklucas/fix-orchestra that referenced this issue Aug 28, 2024
kleihan added a commit that referenced this issue Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant