apache / apache/maven

[MNG-6387] Pom files should have a dedicated mime type registered ("application/pom+xml" or similar)

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

Description

**[Alex Dubov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=oakad)** opened **[MNG-6387](https://issues.apache.org/jira/browse/MNG-6387?redirect=false)** and commented

For the sake of convenience working with ever growing abundance of packages, and, thus, pom files, is not it time to give the humble pom file its own, dedicated mime type (something to the tune of "application/pom+xml")?

Presently, the fact that pom files don't have a dedicated mime type causes all kinds of minor but annoying issues in all kinds of least expected places.

Considering that registering a mime type with IANA is a pretty straightforward process and that pom files are widely used for all kinds of automation purposes (and not exclusively by maven anymore), I, on behalf of the wider community, urge you to consider registering a dedicated pom mime type.

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

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing MNG-6387 and Maven’s current handling of POM MIME types, then determine the IANA registration requirements; done means a concrete, accepted registration path and an agreed Maven change.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.