You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/03/12 13:44:00 UTC

[jira] [Commented] (MNG-7114) Publish XSDs as artifact to Central

    [ https://issues.apache.org/jira/browse/MNG-7114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300326#comment-17300326 ] 

Michael Osipov commented on MNG-7114:
-------------------------------------

Would it be sufficient to bundle the XSD in the JAR's {{META-INF/xsd}} and you'd add the JARs as dependencies?

> Publish XSDs as artifact to Central
> -----------------------------------
>
>                 Key: MNG-7114
>                 URL: https://issues.apache.org/jira/browse/MNG-7114
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Andreas Sewe
>            Priority: Minor
>
> At the moment, a number of XML Schema files for descriptor-like file formats like archetype or assembly descriptors are only available at [https://maven.apache.org/xsd/].
> This makes them hard to consume, for example, by the {{xml:validate}} goal, which is IMHO quite well suited for sanity-checking your descriptor files before packaging and subsequently releasing them.
> Would it be possible to release the XSDs under {{org.apache.maven:maven-xsd}} or a similar coordinate?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)