Package info.freelibrary.maven
Class MediaTypeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- info.freelibrary.maven.MediaTypeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="generate-mediatype", defaultPhase=GENERATE_SOURCES) public class MediaTypeMojo extends org.apache.maven.plugin.AbstractMojo
A Maven mojo that generates an enum of pre-configured mime-types, adding any addition ones (with extensions) found in the system's/etc/mime.types
file.
-
-
Constructor Summary
Constructors Constructor Description MediaTypeMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
The method that runs the MimeTypesMojo.
-