Need advice about which tool to choose?Ask the StackShare community!
Lerna vs Apache Maven: What are the differences?
Developers describe Lerna as "A tool for managing JavaScript projects". It is a popular and widely used package written in JavaScript. It optimizes the workflow around managing multi-package repositories with git and npm. On the other hand, Apache Maven is detailed as "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.
Lerna and Apache Maven are primarily classified as "Javascript Utilities & Libraries" and "Java Build" tools respectively.
Lerna and Apache Maven are both open source tools. It seems that Lerna with 17.6K GitHub stars and 1.11K forks on GitHub has more adoption than Apache Maven with 1.74K GitHub stars and 1.28K GitHub forks.
Pros of Lerna
Pros of Apache Maven
- Dependency management136
- Necessary evil71
- 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
Sign up to add or upvote prosMake informed product decisions
Cons of Lerna
Cons of Apache Maven
- Complex6
- Inconsistent buillds1
- Not many plugin-alternatives0