A couple months ago, I started using Yeoman to rapidly scaffold out webapps with AngularJS. I even wrote a quick blog post about Yeoman, as well as how to use the Yeoman Maven plugin when writing webapps in Spring and setting up the Jetty Maven plugin to use the scaffolded app during development. Since then, I’ve begun using Backbone and Underscore and I’ve honed how I use Yeoman on a daily basis.
A few things have changed in my application structure in the past couple months. When I started using Yeoman, I was creating a directory called “yo” outside of my usual src/main directory structure used by Maven. At the time, it seemed like the right thing to do from what I was reading in blog posts and StackOverflow. Over the course of development, this posed a few challenges that I spent some time trying to find solutions to, but nothing seemed all that elegant or straightforward. So the first big change to my structure is now I run my Yeoman commands within my src/main/webapp directory which Maven does recognize by default.