Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>blah</groupId>
- <artifactId>blahblah</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <packaging>war</packaging>
- <name>blahblah</name>
- <inceptionYear>2010</inceptionYear>
- <properties>
- <lift.version>2.6-M2</lift.version>
- <!-- <lift.majorMinorVersion> @see regex-property executions </lift.majorMinorVersion> -->
- <scala.version>2.10.3</scala.version>
- <!-- <scala.majorMinorVersion> @see regex-property executions </scala.majorMinorVersion> -->
- <!-- Common plugin settings -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
- <!-- vscaladoc settings -->
- <maven.scaladoc.vscaladocVersion>1.2-m1</maven.scaladoc.vscaladocVersion>
- <vscaladoc.links.liftweb.pathsufix>scaladocs/</vscaladoc.links.liftweb.pathsufix>
- <vscaladoc.links.liftweb.baseurl>https://oss.sonatype.org/content/groups/scala-tools/liftweb</vscaladoc.links.liftweb.baseurl>
- </properties>
- <repositories>
- <repository>
- <id>scala-tools.releases</id>
- <name>Scala-Tools Dependencies Repository for Releases</name>
- <url>https://oss.sonatype.org/content/groups/scala-tools</url>
- </repository>
- <repository>
- <id>java.net.maven2</id>
- <name>java.net Maven2 Repository</name>
- <url>http://download.java.net/maven/2/</url>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>scala-tools.releases</id>
- <name>Scala-Tools Plugins Repository for Releases</name>
- <url>https://oss.sonatype.org/content/groups/scala-tools</url>
- </pluginRepository>
- </pluginRepositories>
- <dependencies>
- <dependency>
- <groupId>net.liftweb</groupId>
- <artifactId>lift-mapper_2.10</artifactId>
- <version>${lift.version}</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.0.12</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.171</version>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>3.0-alpha-1</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.11</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.specs2</groupId>
- <artifactId>specs2_2.10</artifactId>
- <version>2.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- <version>8.1.10.v20130312</version>
- <scope>test</scope>
- </dependency>
- <!-- for LiftConsole -->
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-compiler</artifactId>
- <version>${scala.version}</version>
- </dependency>
- <dependency>
- <groupId>net.liftweb</groupId>
- <artifactId>lift-json</artifactId>
- <version>2.0</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.7.5</version>
- </dependency>
- <dependency>
- <groupId>com.github.nscala-time</groupId>
- <artifactId>nscala-time_2.10</artifactId>
- <version>0.6.0</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-actor_2.10</artifactId>
- <version>2.3-M1</version>
- </dependency>
- <dependency>
- <groupId>net.databinder.dispatch</groupId>
- <artifactId>dispatch-core_2.10</artifactId>
- <version>0.11.0</version>
- </dependency>
- <dependency>
- <groupId>net.liftmodules</groupId>
- <artifactId>lift-jquery-module_2.6_2.10</artifactId>
- <version>2.5</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>config</artifactId>
- <version>1.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
- <version>2.10.3</version>
- </dependency>
- </dependencies>
- <build>
- <sourceDirectory>src/main/scala</sourceDirectory>
- <testSourceDirectory>src/test/scala</testSourceDirectory>
- <plugins>
- <plugin>
- <groupId>org.scala-tools</groupId>
- <artifactId>maven-scala-plugin</artifactId>
- <version>2.15.2</version>
- <configuration>
- <checkMultipleScalaVersions>false</checkMultipleScalaVersions>
- <charset>${project.build.sourceEncoding}</charset>
- <jvmArgs>
- <jvmArg>-Xmx1024m</jvmArg>
- <jvmArg>-DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties</jvmArg>
- </jvmArgs>
- <args>
- <arg>-deprecation</arg>
- </args>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>compile</goal>
- <goal>testCompile</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>default-copy-resources</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <overwrite>true</overwrite>
- <outputDirectory>${project.build.directory}</outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/src</directory>
- <includes>
- <include>packageLinkDefs.properties</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.26</version>
- <configuration>
- <contextPath>/</contextPath>
- <scanIntervalSeconds>5</scanIntervalSeconds>
- </configuration>
- </plugin>
- <plugin>
- <groupId>net.sf.alchim</groupId>
- <artifactId>yuicompressor-maven-plugin</artifactId>
- <version>0.7.1</version>
- <executions>
- <execution>
- <phase>post-clean</phase>
- <goals>
- <goal>compress</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <nosuffix>true</nosuffix>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-idea-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <downloadSources>true</downloadSources>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.9</version>
- <configuration>
- <downloadSources>true</downloadSources>
- <additionalProjectnatures>
- <projectnature>ch.epfl.lamp.sdt.core.scalanature</projectnature>
- </additionalProjectnatures>
- <additionalBuildcommands>
- <buildcommand>ch.epfl.lamp.sdt.core.scalabuilder</buildcommand>
- </additionalBuildcommands>
- <classpathContainers>
- <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer>
- <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
- </classpathContainers>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <id>parse-lift-major-minor-version</id>
- <phase>post-clean</phase>
- <goals>
- <goal>regex-property</goal>
- </goals>
- <configuration>
- <name>lift.majorMinorVersion</name>
- <value>${lift.version}</value>
- <regex>^([0-9]+)\.([0-9]+).*$</regex>
- <replacement>$1.$2</replacement>
- <failIfNoMatch>true</failIfNoMatch>
- </configuration>
- </execution>
- <execution>
- <id>parse-scala-major-minor-version</id>
- <phase>post-clean</phase>
- <goals>
- <goal>regex-property</goal>
- </goals>
- <configuration>
- <name>scala.majorMinorVersion</name>
- <value>${scala.version}</value>
- <regex>^([0-9]+)\.([0-9]+).*$</regex>
- <replacement>$1.$2</replacement>
- <failIfNoMatch>true</failIfNoMatch>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.scala-tools</groupId>
- <artifactId>maven-scala-plugin</artifactId>
- <version>2.15.2</version>
- <configuration>
- <charset>${project.build.sourceEncoding}</charset>
- <jvmArgs>
- <jvmArg>-Xmx1024m</jvmArg>
- <jvmArg>-DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties</jvmArg>
- </jvmArgs>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement