Apache Maven logo

Apache Maven

Apache build manager for Java projects.
+ 1

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 4.2K GitHub stars and 2.6K GitHub forks. Here’s a link to Apache Maven's open source repository on GitHub

Who uses Apache Maven?

591 companies reportedly use Apache Maven in their tech stacks, including CRED, Accenture, and Intuit.

1823 developers on StackShare have stated that they use Apache Maven.

Apache Maven Integrations

SonarQube, Log4j, TestNG, ScalaTest, and Sonatype Nexus are some of the popular tools that integrate with Apache Maven. Here's a list of all 33 tools that integrate with Apache Maven.
Pros of Apache Maven
Dependency management
Necessary evil
I’d rather code my app, not my build
Publishing packaged artifacts
Convention over configuration
Consistency across builds
Prevents overengineering using scripting
Runs Tests
Lot of cool plugins
Hard to customize
Runs on Linux
Runs on OS X
Slow incremental build
Inconsistent buillds
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 · 331.4K 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
Needs advice
Apache MavenApache Maven

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
waheed khan
Associate Java Developer at txtsol · | 7 upvotes · 31.1K views

I am working on a full-stack application [Spring Boot (Java), AngularJS 7, MySQL] and Apache Maven as a build tool => I need to deploy and host this web app on AWS. I searched about it and find out I have to use PAAS. There are 2 things. 1- AWS Elastic Beanstalk 2- Amazon EC2 my question is that what services should I use to deploy and host my web app.

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'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.
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 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
1688 developers follow Apache Maven to keep up with related blogs and decisions.