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/04/05 12:05: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=17314815#comment-17314815 ] 

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

bq, Alas, adding a JAR with classifier to a plugin's <dependencies> also puts the main artifact's dependencies on the plugin's classpath, at least with both Maven 3.6.3 and a 4.0.0 snapshot and tested with a javadoc-classified <dependency>. 

Sounds like a bug to me. Is is still added when you use it as a regular dependency?

> 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)