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 2018/04/03 12:04:00 UTC

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

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

Michael Osipov edited comment on MNG-6387 at 4/3/18 12:03 PM:
--------------------------------------------------------------

MRM-755 is a non-issue to me because this is a configuration shortcoming of WebSphere.

Let me deeper understand your issue, you don't want to to MIME sniffing but rather now what type of XML instance your file on your hosting provider is? Not just XML?

I see this like a chicken-and-egg problem. If we register this type, servers start to use, clients won't know, will fail to properly download when relying on the MIME type. So this will take time to adopt. This might be something for Maven 4.0.0.


was (Author: michael-o):
MRM-755 is a non-issue to me because this is a configuration shortcoming of WebSphere.

Let me deeper understand your issue, you don't want to to MIME sniffing but rather now what type of XML instance your file on your hosting provider is? Not just XML?

> Pom files should have a dedicated mime type registered ("application/pom+xml" or similar)
> -----------------------------------------------------------------------------------------
>
>                 Key: MNG-6387
>                 URL: https://issues.apache.org/jira/browse/MNG-6387
>             Project: Maven
>          Issue Type: Wish
>          Components: POM
>            Reporter: Alex Dubov
>            Priority: Trivial
>
> 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.



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