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

jgitver-configuration-v1_1_0.xsd restricts SCRIPT strategy usage #148

Open
vladismat opened this issue Feb 1, 2021 · 2 comments
Open

jgitver-configuration-v1_1_0.xsd restricts SCRIPT strategy usage #148

vladismat opened this issue Feb 1, 2021 · 2 comments

Comments

@vladismat
Copy link

Issue

version: 1.7.0

usage context:

  • [x ] maven command line: 3.6.3

Problem description:
Hello! I wanted to add functionality allowing version extraction from a release branch name.
I thought that the SCRIPT strategy will be applicable and useful for this task.
It does work with version 1.7.0, but the xml schema validation highlights the value SCRIPT as incorrect as well as it doesn't recognize and <script> tags themselves when using jgitver-configuration-v1_1_0.xsd.
That confused me a bit. That is not that big of a trouble, but probably jgitver-configuration-v1_1_0.xsd requires update
As I see now it allows only three strategies to be configured in jgitver.config.xml
"...
xs:restriction
<xs:enumeration value="MAVEN"/>
<xs:enumeration value="CONFIGURABLE"/>
<xs:enumeration value="PATTERN"/>
</xs:restriction> "

Thank you for the product!

Best regards,
vladismat

@McFoggy
Copy link
Contributor

McFoggy commented Feb 1, 2021

indeed we did not deploy a new XSD for a while, thanks for reporting

@Willem1987
Copy link

@McFoggy Last change on this was 1 year ago. Any plans to update XSD?

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

No branches or pull requests

3 participants