I just found Maven WebJars, but I would like to know how to minimize these files after completing my project. I would like to use something like a maven plugin, but I have not found anyone. It would be helpful if someone told me. Thanks
There is a project called Web Resource Optimizer for Java (wro4j) that supports many JS plugins (JSHint, CSSLint, etc.). Check this page for use. Google Closure Compressor and YUI Compressor are supported. You can try to use them.
: antrun , <exec> ( <javaexec>, , ) minifier. , , , , ${project.build.outputDirectory} (target/classes) maven.
<exec>
<javaexec>
${project.build.outputDirectory}