Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.  
  5.  
  6.     <modelVersion>4.0.0</modelVersion>
  7.     <groupId>blah</groupId>
  8.     <artifactId>blahblah</artifactId>
  9.     <version>0.0.1-SNAPSHOT</version>
  10.     <packaging>war</packaging>
  11.     <name>blahblah</name>
  12.     <inceptionYear>2010</inceptionYear>
  13.     <properties>
  14.         <lift.version>2.6-M2</lift.version>
  15.         <!-- <lift.majorMinorVersion> @see regex-property executions </lift.majorMinorVersion> -->
  16.         <scala.version>2.10.3</scala.version>
  17.         <!-- <scala.majorMinorVersion> @see regex-property executions </scala.majorMinorVersion> -->
  18.  
  19.         <!-- Common plugin settings -->
  20.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21.         <project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
  22.         <!-- vscaladoc settings -->
  23.         <maven.scaladoc.vscaladocVersion>1.2-m1</maven.scaladoc.vscaladocVersion>
  24.         <vscaladoc.links.liftweb.pathsufix>scaladocs/</vscaladoc.links.liftweb.pathsufix>
  25.         <vscaladoc.links.liftweb.baseurl>https://oss.sonatype.org/content/groups/scala-tools/liftweb</vscaladoc.links.liftweb.baseurl>
  26.     </properties>
  27.  
  28.     <repositories>
  29.         <repository>
  30.             <id>scala-tools.releases</id>
  31.             <name>Scala-Tools Dependencies Repository for Releases</name>
  32.             <url>https://oss.sonatype.org/content/groups/scala-tools</url>
  33.         </repository>
  34.         <repository>
  35.             <id>java.net.maven2</id>
  36.             <name>java.net Maven2 Repository</name>
  37.             <url>http://download.java.net/maven/2/</url>
  38.         </repository>
  39.  
  40.     </repositories>
  41.  
  42.     <pluginRepositories>
  43.         <pluginRepository>
  44.             <id>scala-tools.releases</id>
  45.             <name>Scala-Tools Plugins Repository for Releases</name>
  46.             <url>https://oss.sonatype.org/content/groups/scala-tools</url>
  47.         </pluginRepository>
  48.     </pluginRepositories>
  49.  
  50.     <dependencies>
  51.         <dependency>
  52.             <groupId>net.liftweb</groupId>
  53.             <artifactId>lift-mapper_2.10</artifactId>
  54.             <version>${lift.version}</version>
  55.         </dependency>
  56.         <dependency>
  57.             <groupId>ch.qos.logback</groupId>
  58.             <artifactId>logback-classic</artifactId>
  59.             <version>1.0.12</version>
  60.         </dependency>
  61.         <dependency>
  62.             <groupId>com.h2database</groupId>
  63.             <artifactId>h2</artifactId>
  64.             <version>1.3.171</version>
  65.             <scope>runtime</scope>
  66.         </dependency>
  67.         <dependency>
  68.             <groupId>javax.servlet</groupId>
  69.             <artifactId>servlet-api</artifactId>
  70.             <version>3.0-alpha-1</version>
  71.         </dependency>
  72.         <dependency>
  73.             <groupId>junit</groupId>
  74.             <artifactId>junit</artifactId>
  75.             <version>4.11</version>
  76.             <scope>test</scope>
  77.         </dependency>
  78.         <dependency>
  79.             <groupId>org.specs2</groupId>
  80.             <artifactId>specs2_2.10</artifactId>
  81.             <version>2.0</version>
  82.             <scope>test</scope>
  83.         </dependency>
  84.         <dependency>
  85.             <groupId>org.eclipse.jetty</groupId>
  86.             <artifactId>jetty-webapp</artifactId>
  87.             <version>8.1.10.v20130312</version>
  88.             <scope>test</scope>
  89.         </dependency>
  90.         <!-- for LiftConsole -->
  91.         <dependency>
  92.             <groupId>org.scala-lang</groupId>
  93.             <artifactId>scala-compiler</artifactId>
  94.             <version>${scala.version}</version>
  95.         </dependency>
  96.         <dependency>
  97.             <groupId>net.liftweb</groupId>
  98.             <artifactId>lift-json</artifactId>
  99.             <version>2.0</version>
  100.         </dependency>
  101.         <dependency>
  102.             <groupId>org.slf4j</groupId>
  103.             <artifactId>slf4j-log4j12</artifactId>
  104.             <version>1.7.5</version>
  105.         </dependency>
  106.         <dependency>
  107.             <groupId>com.github.nscala-time</groupId>
  108.             <artifactId>nscala-time_2.10</artifactId>
  109.             <version>0.6.0</version>
  110.         </dependency>
  111.         <dependency>
  112.             <groupId>com.typesafe.akka</groupId>
  113.             <artifactId>akka-actor_2.10</artifactId>
  114.             <version>2.3-M1</version>
  115.         </dependency>
  116.         <dependency>
  117.             <groupId>net.databinder.dispatch</groupId>
  118.             <artifactId>dispatch-core_2.10</artifactId>
  119.             <version>0.11.0</version>
  120.         </dependency>
  121.         <dependency>
  122.             <groupId>net.liftmodules</groupId>
  123.             <artifactId>lift-jquery-module_2.6_2.10</artifactId>
  124.             <version>2.5</version>
  125.         </dependency>
  126.         <dependency>
  127.             <groupId>com.typesafe</groupId>
  128.             <artifactId>config</artifactId>
  129.             <version>1.2.0</version>
  130.         </dependency>
  131.         <dependency>
  132.             <groupId>org.scala-lang</groupId>
  133.             <artifactId>scala-library</artifactId>
  134.             <version>2.10.3</version>
  135.         </dependency>
  136.     </dependencies>
  137.  
  138.     <build>
  139.         <sourceDirectory>src/main/scala</sourceDirectory>
  140.         <testSourceDirectory>src/test/scala</testSourceDirectory>
  141.         <plugins>
  142.  
  143.             <plugin>
  144.                 <groupId>org.scala-tools</groupId>
  145.                 <artifactId>maven-scala-plugin</artifactId>
  146.                 <version>2.15.2</version>
  147.                 <configuration>
  148.                     <checkMultipleScalaVersions>false</checkMultipleScalaVersions>
  149.                     <charset>${project.build.sourceEncoding}</charset>
  150.                     <jvmArgs>
  151.                         <jvmArg>-Xmx1024m</jvmArg>
  152.                         <jvmArg>-DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties</jvmArg>
  153.                     </jvmArgs>
  154.                     <args>
  155.                         <arg>-deprecation</arg>
  156.                     </args>
  157.                 </configuration>
  158.                 <executions>
  159.                     <execution>
  160.                         <goals>
  161.                             <goal>compile</goal>
  162.                             <goal>testCompile</goal>
  163.                         </goals>
  164.                     </execution>
  165.                 </executions>
  166.             </plugin>
  167.             <plugin>
  168.                 <groupId>org.apache.maven.plugins</groupId>
  169.                 <artifactId>maven-resources-plugin</artifactId>
  170.                 <version>2.6</version>
  171.                 <executions>
  172.                     <execution>
  173.                         <id>default-copy-resources</id>
  174.                         <phase>process-resources</phase>
  175.                         <goals>
  176.                             <goal>copy-resources</goal>
  177.                         </goals>
  178.                         <configuration>
  179.                             <overwrite>true</overwrite>
  180.                             <outputDirectory>${project.build.directory}</outputDirectory>
  181.                             <resources>
  182.                                 <resource>
  183.                                     <directory>${project.basedir}/src</directory>
  184.                                     <includes>
  185.                                         <include>packageLinkDefs.properties</include>
  186.                                     </includes>
  187.                                     <filtering>true</filtering>
  188.                                 </resource>
  189.                             </resources>
  190.                         </configuration>
  191.                     </execution>
  192.                 </executions>
  193.             </plugin>
  194.             <plugin>
  195.                 <groupId>org.mortbay.jetty</groupId>
  196.                 <artifactId>maven-jetty-plugin</artifactId>
  197.                 <version>6.1.26</version>
  198.                 <configuration>
  199.                     <contextPath>/</contextPath>
  200.                     <scanIntervalSeconds>5</scanIntervalSeconds>
  201.                 </configuration>
  202.             </plugin>
  203.            
  204.             <plugin>
  205.                 <groupId>net.sf.alchim</groupId>
  206.                 <artifactId>yuicompressor-maven-plugin</artifactId>
  207.                 <version>0.7.1</version>
  208.                 <executions>
  209.                     <execution>
  210.                         <phase>post-clean</phase>
  211.                         <goals>
  212.                             <goal>compress</goal>
  213.                         </goals>
  214.                     </execution>
  215.                 </executions>
  216.                 <configuration>
  217.                     <nosuffix>true</nosuffix>
  218.                 </configuration>
  219.             </plugin>
  220.             <plugin>
  221.                 <groupId>org.apache.maven.plugins</groupId>
  222.                 <artifactId>maven-idea-plugin</artifactId>
  223.                 <version>2.2</version>
  224.                 <configuration>
  225.                     <downloadSources>true</downloadSources>
  226.                 </configuration>
  227.             </plugin>
  228.             <plugin>
  229.                 <groupId>org.apache.maven.plugins</groupId>
  230.                 <artifactId>maven-eclipse-plugin</artifactId>
  231.                 <version>2.9</version>
  232.                 <configuration>
  233.                     <downloadSources>true</downloadSources>
  234.                     <additionalProjectnatures>
  235.                         <projectnature>ch.epfl.lamp.sdt.core.scalanature</projectnature>
  236.                     </additionalProjectnatures>
  237.                     <additionalBuildcommands>
  238.                         <buildcommand>ch.epfl.lamp.sdt.core.scalabuilder</buildcommand>
  239.                     </additionalBuildcommands>
  240.                     <classpathContainers>
  241.                         <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer>
  242.                         <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
  243.                     </classpathContainers>
  244.                 </configuration>
  245.             </plugin>
  246.             <plugin>
  247.                 <groupId>org.codehaus.mojo</groupId>
  248.                 <artifactId>build-helper-maven-plugin</artifactId>
  249.                 <version>1.8</version>
  250.                 <executions>
  251.                     <execution>
  252.                         <id>parse-lift-major-minor-version</id>
  253.                         <phase>post-clean</phase>
  254.                         <goals>
  255.                             <goal>regex-property</goal>
  256.                         </goals>
  257.                         <configuration>
  258.                             <name>lift.majorMinorVersion</name>
  259.                             <value>${lift.version}</value>
  260.                             <regex>^([0-9]+)\.([0-9]+).*$</regex>
  261.                             <replacement>$1.$2</replacement>
  262.                             <failIfNoMatch>true</failIfNoMatch>
  263.                         </configuration>
  264.                     </execution>
  265.                     <execution>
  266.                         <id>parse-scala-major-minor-version</id>
  267.                         <phase>post-clean</phase>
  268.                         <goals>
  269.                             <goal>regex-property</goal>
  270.                         </goals>
  271.                         <configuration>
  272.                             <name>scala.majorMinorVersion</name>
  273.                             <value>${scala.version}</value>
  274.                             <regex>^([0-9]+)\.([0-9]+).*$</regex>
  275.                             <replacement>$1.$2</replacement>
  276.                             <failIfNoMatch>true</failIfNoMatch>
  277.                         </configuration>
  278.                     </execution>
  279.                 </executions>
  280.             </plugin>
  281.            
  282.         </plugins>
  283.     </build>
  284.     <reporting>
  285.         <plugins>
  286.             <plugin>
  287.                 <groupId>org.scala-tools</groupId>
  288.                 <artifactId>maven-scala-plugin</artifactId>
  289.                 <version>2.15.2</version>
  290.                 <configuration>
  291.                     <charset>${project.build.sourceEncoding}</charset>
  292.                     <jvmArgs>
  293.                         <jvmArg>-Xmx1024m</jvmArg>
  294.                         <jvmArg>-DpackageLinkDefs=file://${project.build.directory}/packageLinkDefs.properties</jvmArg>
  295.                     </jvmArgs>
  296.                 </configuration>
  297.             </plugin>
  298.         </plugins>
  299.     </reporting>
  300. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement