[ 
https://issues.apache.org/jira/browse/SLING-8032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simone Tripodi updated SLING-8032:
----------------------------------
    Description: 
While SLING-7990 contributed the Schema definition, I would like to contribute 
a simple MOJO which is able to validate Feature files against the Schema.

JSON Schema validation does not fit as an {{AnalyserTask}} implementation, 
since {{Feature}} instances are parsed already here, anyway the {{Analyser}} 
takes in charge semantic analysis, while JSON Schema validation is is strict 
about syntax and structure, this is why I would have a separated MOJO which can 
be optionally enabled.

PR is coming

  was:
While SLING-7990 contributed the Schema definition, I would like to contribute 
a simple MOJO which is able to validate Feature files against the Schema.

JSON Schema validation does not fit as an {{AnalyserTask}} implementation, 
since {{Feature}} instances are parsed already here, anyway the {{Analyser}} 
takes in charge semantic analysis, while JSON Schema validation is is strict 
about syntax and structure, this is why I would have a separated MOJO which can 
be optionally enabled.

PS is coming


> Add a MOJO which is able to validate JSON Feature file against the JSON Schema
> ------------------------------------------------------------------------------
>
>                 Key: SLING-8032
>                 URL: https://issues.apache.org/jira/browse/SLING-8032
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model, Maven Plugins and Archetypes
>            Reporter: Simone Tripodi
>            Assignee: David Bosschaert
>            Priority: Major
>
> While SLING-7990 contributed the Schema definition, I would like to 
> contribute a simple MOJO which is able to validate Feature files against the 
> Schema.
> JSON Schema validation does not fit as an {{AnalyserTask}} implementation, 
> since {{Feature}} instances are parsed already here, anyway the {{Analyser}} 
> takes in charge semantic analysis, while JSON Schema validation is is strict 
> about syntax and structure, this is why I would have a separated MOJO which 
> can be optionally enabled.
> PR is coming



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to