apache / apache/maven

[MNG-7114] Publish XSDs as artifact to Central

Open
#8,340 10 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Andreas Sewe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=asewe)** opened **[MNG-7114](https://issues.apache.org/jira/browse/MNG-7114?redirect=false)** and commented

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?

---
No further details from [MNG-7114](https://issues.apache.org/jira/browse/MNG-7114?redirect=false)

Contributor guide

Open the contributing guide

Research direction

Start with the XSDs currently published at https://maven.apache.org/xsd/ and the xml:validate goal, then trace how Maven artifacts are released to Central. Done means the descriptor XSDs are available under a usable coordinate such as org.apache.maven:maven-xsd and can be consumed for validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.