Community contributed extensions

Maven support

This module lets you manage your dependencies with Maven

Getting Started

first you need to download and install apache maven

finally, you need to install the play-maven module

play install maven

Activate module

NOTE: due to this reported bug: loading breaks if more than one module , this module does not work together with ivy module, or maybe other modules.

for existing projects, you can add the following line to your conf/application.conf:


if you start from scratch, you can create an ivy project with play new myapp --with maven command, which will active the module and execute play mvn:init.

play-maven specific commands

play mvn:init

installs play-parent project (a Maven pom project) into local Maven repository. Then creates the appropriate pom.xml. After this step, you can add your dependencies to pom.xml

play mvn:update // or play mvn:up

retrieves all defined dependencies and then it copies them into your app/lib folder

play mvn:refresh // or play mvn:re

clears your app/lib folder first, then it executes play mvn:up

play mvn:source // or play mvn:src

retrieves all sources (if available) of defined dependencies and then it copies them into app/lib folder