Fix maven files to inherit version from artifacts