cescoffier/maven-play2-plugin — pull request #21 by eskatos (2012-07-20 13:28:39+00:00)
Title: Add 'install-play' goal that download and install Play! distributions.

Hello Clement,

Been a while.

This pull request contains a mojo that add an `install-play` goal. It do not require a project nor dependency resolution. The motivation behind it is continuous integration servers where it can be invoked directly or using maven profiles.

Here is an example on how to use it using a 'ci' profile:

ci

de.akquinet.innovation.play2
play2-maven-plugin

${user.home}/opt/play-${play2.version}

ci-play-installation

install-play

pre-clean

${play2.version}
${user.home}/opt

The mojo download and install play only if it's not already installed.

Tell me what you think.

/Paul