Added 'resolve' as dependency for build target 'dist', both in the plugin and the stub build.xml files.