refactory maven chef