[jira] [Commented] (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=16426617#comment-16426617 ] Michael Osipov commented on MNG-6387: - I am thinking wether it should be {{application/pom+xml}} or rather {{application/maven-pom+xml}} because just {{pom}} says nothing to the outside world. Can you raise this on the dev@? I'd like to hear other opinions. > 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)
[jira] [Commented] (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=16426615#comment-16426615 ] Michael Osipov commented on MNG-6387: - Makes sense. > 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)
[jira] [Commented] (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=16426401#comment-16426401 ] Alex Dubov commented on MNG-6387: - # Make sure that my "/etc/mime.types" is up to date, so Java's "Files.probeContentType" works as expected. # Wait for other tools to incorporate the up to date version of the mime database (this happens fairly regularly). :) > 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)
[jira] [Commented] (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=16426136#comment-16426136 ] Michael Osipov commented on MNG-6387: - {quote}It's not a "shortcoming of websphere" it's a shortcoming of not being in the mime database. :) {quote} > 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)
[jira] [Commented] (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=16424828#comment-16424828 ] Alex Dubov commented on MNG-6387: - It's not a "shortcoming of websphere" it's a shortcoming of not being in the mime database. :) Most things today rely on mime database to set the content-type correctly - I'm talking "Files. probeContentType" and such ("mime-types" library for js, etc.). For pom, those things either return "application/octet-stream" or null, which requires adding explicit exceptions for pom files (but never "xml" out of the box, because "xml" file type can not be safely inferred without validation of the entire file - no magic field in it). It was not a big issue so long as the maven repos were singular servers where such exceptions (forcing to xml) can be added once and forgotten. However, now that POMs have to flow across multiple S3 buckets (for example), adding code level exceptions for individual file types becomes a major liability. Also, I'm not sure that there can be any issues with present clients. Because of the above, most POM downloaders ignore the mime type outright because it can not be relied upon (it ends up arbitrarily either "octet-stream" or "xml" or "plain" on the server side). > 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)
[jira] [Commented] (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=16423912#comment-16423912 ] Michael Osipov commented on MNG-6387: - 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)
[jira] [Commented] (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=16423353#comment-16423353 ] Alex Dubov commented on MNG-6387: - https://issues.apache.org/jira/browse/MRM-755 This sort of issues. But on more diverse scale - for example, when hosting stuff on S3 and populating Content-Type metadata using a common mime database. > 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)
[jira] [Commented] (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=16420867#comment-16420867 ] Michael Osipov commented on MNG-6387: - Can you elaborate what issues the current situation causes and what benefit would be have by registered with IANA? > 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)