I want to use Maven capabilities for my static web projects containing images, javascript and/or css files.
I don't wanna consider anything about Java, jar packaging, ...
Basically, I need:
Looking it up, I'd just found some tags samples. But, nothing about the whole project.
For assembly tar.gz
, I believe that Assembly plugin may be useful.
To minify and compress JS and CSS, I declare some compress/minify plugin.
How should I declare packaging tag in this case? The closer I thought was: <packaging>war</packaging>
.
There's other way to declare it?
Does it make sense?
If your assembly descriptor does all the data processing (creating folders, copying files, etc.), then you can also declare the project to be a pom
project. This will result in maven skipping the default life-cycle phases like compile
, test
, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With