Wednesday, February 26, 2014

lein-resource 0.3.4 adds timestamp checking

The latest release of lein-resource, 0.3.4, adds support for a new flag, :update which when set to true checks time stamps before processing source files.  This provides a way to remove unnecessary copying and filtering if the source file has not been modified.

While it could potentially save time, it should not be used if build sensitive stencil filtering is used on any of the source files.  For example, if the source contains a {{timestamp}} tag then setting :update to true would prevent the file from being recreated on each build.  The suggestion therefore is to only set :update to true when :skip-stencil is also true.

The default is false or to always overwrite the destination file.

Monday, February 3, 2014

maven-pom-mode: Add Dependency

The maven-pom-mode project has been updated to have its own mode.  It will also search for and add a dependency

* `C-c d` will Search for artifacts in maven central and insert dependency tag via `maven-pom-add-dependency`.  NOTE the point has to be in the right place in the pom file when called.