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

Dependency problem #2

Closed
io7m opened this issue Aug 27, 2018 · 0 comments
Closed

Dependency problem #2

io7m opened this issue Aug 27, 2018 · 0 comments
Assignees
Labels

Comments

@io7m
Copy link
Member

io7m commented Aug 27, 2018

There seems to be some sort of incompatibility between jxe and xom. This manifests with the following exception:

org.apache.maven.plugin.MojoFailureException: org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
	at com.io7m.minisite.tests.maven_plugin.MinSiteMojoTest.testOptionalFiles(MinSiteMojoTest.java:101)
Caused by: java.io.IOException: org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
	at com.io7m.minisite.tests.maven_plugin.MinSiteMojoTest.testOptionalFiles(MinSiteMojoTest.java:101)
Caused by: org.xml.sax.SAXNotRecognizedException: Property 'http://javax.xml.XMLConstants/property/accessExternalSchema' is not recognized.
	at com.io7m.minisite.tests.maven_plugin.MinSiteMojoTest.testOptionalFiles(MinSiteMojoTest.java:101)

The problem here is that xom brings in xml-apis, xalan, and xerces dependencies that cause the above. The "fix" seems to be to exclude those.

@io7m io7m added the bug label Aug 27, 2018
@io7m io7m self-assigned this Aug 27, 2018
@io7m io7m closed this as completed in 5237841 Aug 27, 2018
io7m added a commit that referenced this issue Sep 13, 2018
Release: com.io7m.minisite 2.0.0
Change: Add the ability to specify a custom site header (Ticket: #3)
Change: Exclude xom dependencies due to an incompatibility problem. (Ticket: #2)
Change: Use com.io7m.changelog 4.0.0-beta0011
io7m added a commit that referenced this issue Sep 13, 2018
Release: com.io7m.minisite 2.0.0

Change: Add the ability to specify a custom site header (Ticket: #3)
Change: Exclude xom dependencies due to an incompatibility problem. (Ticket: #2)
Change: Use com.io7m.changelog 4.0.0-beta0011
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

1 participant