Apache Maven logo

Apache Maven

Apache build manager for Java projects.
2.2K
1.4K
+ 1
413

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.
Apache Maven is a tool in the Java Build Tools category of a tech stack.
Apache Maven is an open source tool with 2.7K GitHub stars and 2K GitHub forks. Here’s a link to Apache Maven's open source repository on GitHub

Who uses Apache Maven?

Companies
538 companies reportedly use Apache Maven in their tech stacks, including CRED, HENNGE K.K., and Accenture.

Developers
1488 developers on StackShare have stated that they use Apache Maven.

Apache Maven Integrations

SonarQube, Sonatype Nexus, Liquibase, Buddy, and Flyway are some of the popular tools that integrate with Apache Maven. Here's a list of all 34 tools that integrate with Apache Maven.
Pros of Apache Maven
137
Dependency management
71
Necessary evil
59
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
Decisions about Apache Maven

Here are some stack decisions, common use cases and reviews by companies and developers who chose Apache Maven in their tech stack.

Joshua Dean Küpper
CEO at Scrayos UG (haftungsbeschränkt) · | 2 upvotes · 233.7K views

All Java-Projects are compiled using Apache Maven. We prefer it over Apache Ant and Gradle as it combines lightweightness with feature-richness and offers basically all we can imagine from a software project-management tool and more. We're open however to re-evaluate this decision in favor of Gradle or Bazel in the future if we feel like we're missing out on anything.

See more

Hi, I am doing automation for mobile app (iOS & Android). Currently, I am using Apache Maven build tool. Can someone tell me which out of these 3 tools is the best? (fastlane, Gradle, Maven). Apart from that, we are using CircleCI.

See more

Blog Posts

Apache Maven's Features

  • 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)
  • Able to easily work with multiple projects at the same time
  • A large and growing repository of libraries and metadata to use out of the box, and arrangements in place with the largest Open Source projects for real-time availability of their latest releases
  • Extensible, with the ability to easily write plugins in Java or scripting languages
  • Instant access to new features with little or no extra configuration
  • Ant tasks for dependency management and deployment outside of Maven

Apache Maven Alternatives & Comparisons

What are some alternatives to Apache Maven?
Jira
Jira's secret sauce is the way it simplifies the complexities of software development into manageable units of work. Jira comes out-of-the-box with everything agile teams need to ship value to customers faster.
Jenkins
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
Gradle
Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites.
Apache Ant
Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code.
Apache Tomcat
Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
See all alternatives

Apache Maven's Followers
1411 developers follow Apache Maven to keep up with related blogs and decisions.