Need advice about which tool to choose?Ask the StackShare community!

Lerna

364
99
+ 1
0
Apache Maven

2.2K
1.4K
+ 1
414
Add tool

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.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Lerna
Pros of Apache Maven
    Be the first to leave a pro
    • 137
      Dependency management
    • 71
      Necessary evil
    • 60
      I’d rather code my app, not my build
    • 48
      Publishing packaged artifacts
    • 43
      Convention over configuration
    • 18
      Modularisation
    • 11
      Consistency across builds
    • 6
      Prevents overengineering using scripting
    • 4
      Runs Tests
    • 4
      Lot of cool plugins
    • 3
      Extensible
    • 2
      Hard to customize
    • 2
      Runs on Linux
    • 1
      Runs on OS X
    • 1
      Slow incremental build
    • 1
      Inconsistent buillds
    • 1
      Undeterminisc
    • 1
      Good IDE tooling

    Sign up to add or upvote prosMake informed product decisions

    Cons of Lerna
    Cons of Apache Maven
      Be the first to leave a con
      • 6
        Complex
      • 1
        Inconsistent buillds
      • 0
        Not many plugin-alternatives

      Sign up to add or upvote consMake informed product decisions

      What is Lerna?

      It is a popular and widely used package written in JavaScript. It optimizes the workflow around managing multi-package repositories with git and npm.

      What is Apache Maven?

      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.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Lerna?
      What companies use Apache Maven?
      See which teams inside your own company are using Lerna or Apache Maven.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Lerna?
      What tools integrate with Apache Maven?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      What are some alternatives to Lerna and Apache Maven?
      Yarn
      Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
      Bit
      It is open source tool that helps you easily publish and manage reusable components. It help teams scale shared components to hundreds and even thousands of components, while eliminating the overhead around this process.
      Builder
      It is the first and only headless CMS with full drag and drop editing. It supports many frameworks like Angular, Vue, React, Preact etc.
      Bazel
      Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
      npm
      npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
      See all alternatives