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

JENA-1642: Check has value for header instead of is true #500

Merged
merged 1 commit into from Nov 29, 2018

Conversation

jsarjeant
Copy link

When using schemagen from the maven plugin the header option does not work. header is intended to be a template string and when isTrue is checked the string is cast to a boolean and the BadBooleanException is thrown. I believe we should check for existence here instead of "truthiness"

Also, it appears that the maven tools are no being built as part of the main project. Is that the case?

@afs
Copy link
Member

afs commented Nov 29, 2018

it appears that the maven tools are no being built as part of the main project. Is that the case?

Yes, I'm afraid it is. Some tests fail when used with Apache parent >19 (I just checked with v21 - this is still the case).

[ERROR] The following builds failed:
[ERROR] *  schemagen-integration-1/pom.xml
[ERROR] *  schemagen-integration-4/pom.xml
[ERROR] *  schemagen-integration-2/pom.xml
[ERROR] *  schemagen-integration-0/pom.xml
[ERROR] *  schemagen-integration-3/pom.xml

@asfgit asfgit merged commit 471d1f8 into apache:master Nov 29, 2018
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 this pull request may close these issues.

None yet

3 participants