Fixed pom format and snapshot dependency. Mime detection should not be part of the public or protected API, and should always update when filename or content is changed. Avoid triplicate mime detection.