Olivier Refalo
Olivier Refalo

Reputation: 51515

Where is the play framework maven repository?

Trying to get my code to compile magically using maven dependancies. I can't find the playframework on any 3rd party maven repository.

Can someone help ? I is even deployed anywhere ?

Upvotes: 24

Views: 12031

Answers (4)

Marco
Marco

Reputation: 1493

In typesafe Repo

<repositories>
  <repository>
    <id>typesafe</id>
    <name>typesafe-releases</name>
    <url>https://repo.typesafe.com/typesafe/releases</url>
  </repository>
</repositories>

The dependency is:

<dependency>
  <groupId>play</groupId>
  <artifactId>play_2.9.1</artifactId>
  <version>2.0.2</version>
</dependency>

Upvotes: 17

Robin Green
Robin Green

Reputation: 33083

Play 1 has not been Mavenised, and likely will not be - but Play 2 uses sbt, which downloads Play and its dependencies from Maven repositories.

Upvotes: 1

N.Martignole
N.Martignole

Reputation: 579

Play 1.x and Play2 are not deployed on Maven repository. Plus, play is not intend to be use from a maven build. It's not a typical Java project where you pull your resources with a pom.xml. You need to download and install locally play framework on your server. Then do a local compilation from there.

Dependencies are handled with Apache Ivy for Play 1.x and SBT for Play 2.

To install Play 1.x, you can now also use "brew install play". This configures and installs play. It adds play to your path.

Play2 relies on SBT, a build tool for Scala that is similar to Maven.

Forget about Maven :-)

Upvotes: 0

Pascal Thivent
Pascal Thivent

Reputation: 570505

It looks like using Maven with Play! will require some special "Maven module". I'm not sure to understand the difference between the Maven support and the maven module pages though.

Have a look at the following thread for some background:

Upvotes: 2

Related Questions