Skip to content

Instantly share code, notes, and snippets.

@rollxx
Created July 8, 2013 20:19
Show Gist options
  • Save rollxx/5952147 to your computer and use it in GitHub Desktop.
Save rollxx/5952147 to your computer and use it in GitHub Desktop.
play! pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.rollxx.projects</groupId>
<artifactId>analyzer24</artifactId>
<version>1.0-SNAPSHOT</version>
<name>analyzer24</name>
<properties>
<play2.version>2.1.2</play2.version>
</properties>
<repositories>
<repository>
<id>typesafe</id>
<url>http://repo.typesafe.com/typesafe/releases/</url>
</repository>
</repositories>
<dependencies>
<!--
Add your dependencies here (modules, libraries...).
Dependencies in the compile scope will be embedded within the application.
-->
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.7.2</version>
</dependency>
<!-- Play Framework Dependencies -->
<dependency>
<groupId>play</groupId>
<artifactId>play_2.10</artifactId>
<version>${play2.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>play</groupId>
<artifactId>play-java_2.10</artifactId>
<version>${play2.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>play</groupId>
<artifactId>templates_2.10</artifactId>
<version>${play2.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>play</groupId>
<artifactId>filters-helpers_2.10</artifactId>
<version>${play2.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>play</groupId>
<artifactId>play-test_2.10</artifactId>
<version>${play2.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<!-- Play source directory -->
<sourceDirectory>app</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.nanoko.playframework</groupId>
<artifactId>play2-maven-plugin</artifactId>
<version>1.2.2</version>
<extensions>true</extensions>
<configuration>
<play2Home>${user.home}/opt/play-${play2.version}</play2Home>
<buildDist>false</buildDist>
<lib>target/lib</lib>
</configuration>
<executions>
<execution>
<id>play-installation</id>
<goals>
<goal>install-play</goal>
</goals>
<phase>pre-clean</phase>
<configuration>
<play2version>${play2.version}</play2version>
<play2basedir>${user.home}/opt</play2basedir>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment