Need advice about which tool to choose?Ask the StackShare community!
Apache Maven vs Yeoman: What are the differences?
What is Apache Maven? Apache build manager for Java projects. Maven allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. Once you familiarize yourself with how one Maven project builds you automatically know how all Maven projects build saving you immense amounts of time when trying to navigate many projects.
What is Yeoman? A set of tools for automating development workflow. Yeoman is a robust and opinionated set of tools, libraries, and a workflow that can help developers quickly build beautiful, compelling web apps. It is comprised of yo - a scaffolding tool using our generator system, grunt - a task runner for your build process and bower for dependency management.
Apache Maven can be classified as a tool in the "Java Build Tools" category, while Yeoman is grouped under "Front End Scaffolding Tools".
Some of the features offered by Apache Maven are:
- Simple project setup that follows best practices - get a new project or module started in seconds
- Consistent usage across all projects means no ramp up time for new developers coming onto a project
- Superior dependency management including automatic updating, dependency closures (also known as transitive dependencies)
On the other hand, Yeoman provides the following key features:
- Lightning-fast scaffolding — Easily scaffold new projects with customizable templates (e.g HTML5 Boilerplate, Bootstrap), RequireJS and more.
- Great build process — Not only do you get minification and concatenation
- I also optimize all your image files, HTML, compile your CoffeeScript and Compass files, if you're using AMD, I will pass those modules through r.js so you don't have to.
"Dependency management", "Necessary evil" and "I’d rather code my app, not my build" are the key factors why developers consider Apache Maven; whereas "Lightning-fast scaffolding", "Automation" and "Great build process" are the primary reasons why Yeoman is favored.
Apache Maven and Yeoman are both open source tools. It seems that Yeoman with 9.23K GitHub stars and 759 forks on GitHub has more adoption than Apache Maven with 1.71K GitHub stars and 1.26K GitHub forks.
Zillow, Bodybuilding.com, and PedidosYa are some of the popular companies that use Apache Maven, whereas Yeoman is used by Webedia, Edify, and eTobb. Apache Maven has a broader approval, being mentioned in 301 company stacks & 138 developers stacks; compared to Yeoman, which is listed in 204 company stacks and 200 developer stacks.
Pros of Apache Maven
- Dependency management138
- Necessary evil70
- I’d rather code my app, not my build60
- Publishing packaged artifacts48
- Convention over configuration43
- Modularisation18
- Consistency across builds11
- Prevents overengineering using scripting6
- Runs Tests4
- Lot of cool plugins4
- Extensible3
- Hard to customize2
- Runs on Linux2
- Runs on OS X1
- Slow incremental build1
- Inconsistent buillds1
- Undeterminisc1
- Good IDE tooling1
Pros of Yeoman
- Lightning-fast scaffolding121
- Automation83
- Great build process78
- Open source57
- Yo49
- Unit Testing8
Sign up to add or upvote prosMake informed product decisions
Cons of Apache Maven
- Complex6
- Inconsistent buillds1
- Not many plugin-alternatives0
Cons of Yeoman
- Even harder to debug than Javascript1