Maven is a project management tool for java. Adding it to MIME database will allow IDEs to provide specific syntax highlight, autocomplete and linters
Created attachment 140754 [details] [review] MIME type info for Maven As seen in test files, settings do not have the <project tag, so don't know exactly how to proceed with magic tag here, maybe splitting pom.xml and settings.xml in two MIME type definitions? By pattern, they will be recognized without doubt.
(In reply to Alberto Fanjul Alonso from comment #1) > Created attachment 140754 [details] [review] [review] > MIME type info for Maven > > As seen in test files, settings do not have the <project tag, so don't know > exactly how to proceed with magic tag here, maybe splitting pom.xml and > settings.xml in two MIME type definitions? By pattern, they will be > recognized without doubt. It's too generic, I would just remove it. As for the mime-type and aliases, you need to show where you got those from. We prefer text/x-... for text based file formats, rather than application/x-, so unless application/x-... is already used somewhere else, please use text/x- instead.
Created attachment 140757 [details] [review] MIME type info for Maven suggestions applied
(In reply to Alberto Fanjul Alonso from comment #3) > Created attachment 140757 [details] [review] [review] > MIME type info for Maven > > suggestions applied The tests don't pass: ./freedesktop.org.xml:37257: element root-XML: validity error : Element root-XML does not carry attribute localName <root-XML namespaceURI="http://maven.apache.org/POM/4.0.0"/> See the HACKING file for info on how to run the test suite.
Created attachment 140774 [details] [review] MIME type info for Maven Fixed the test suite for maven
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.