Monthly Archives: July 2012

MacOS X : set modification date to creation date

Quick hack: for file in *; do eval `stat -s $file` perl -e ‘utime $ARGV[0], $ARGV[0], $ARGV[1]’ $st_birthtime “$file” done

Posted in Mac | Leave a comment

Maven’s pom.xml is not included when using assembly plugin with ref “jar-with-dependencies”

Maven has a bug that causes the pom.xml of the current artifact to be ignored when using assembly / jar-with-dependencies. There is even a┬ábug report from 2008 with priority “Major” (!). As a workaround, create an XML file “assembly.xml” with … Continue reading

Posted in Java | Leave a comment