[infinispan-commits] Infinispan SVN: r1556 - trunk/server/hotrod.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Fri Feb 26 13:11:49 EST 2010


Author: galder.zamarreno at jboss.com
Date: 2010-02-26 13:11:48 -0500 (Fri, 26 Feb 2010)
New Revision: 1556

Modified:
   trunk/server/hotrod/pom.xml
Log:
[ISPN-171] (Build a server module based on the HotRod protocol) Add scala library dependency and set it to 2.8.0.Beta1 since it's the first version that compiles optional parameters in annotations.

Modified: trunk/server/hotrod/pom.xml
===================================================================
--- trunk/server/hotrod/pom.xml	2010-02-26 06:51:08 UTC (rev 1555)
+++ trunk/server/hotrod/pom.xml	2010-02-26 18:11:48 UTC (rev 1556)
@@ -15,6 +15,7 @@
    <description>Infinispan server hotrod  module</description>
 
    <properties>
+      <version.scala>2.8.0.Beta1</version.scala>
    </properties>
 
    <dependencies>
@@ -23,6 +24,48 @@
          <artifactId>infinispan-server-core</artifactId>
          <version>${project.version}</version>
       </dependency>
+
+      <dependency>
+         <groupId>org.scala-lang</groupId>
+         <artifactId>scala-library</artifactId>
+         <version>${version.scala}</version>
+      </dependency>
    </dependencies>
 
+   <build>
+      <finalName>infinispan</finalName>
+      <sourceDirectory>src/main/scala</sourceDirectory>
+      <testSourceDirectory>src/test/scala</testSourceDirectory>
+
+      <plugins>
+         <plugin>
+            <groupId>org.scala-tools</groupId>
+            <artifactId>maven-scala-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>compile</id>
+                  <goals>
+                     <goal>compile</goal>
+                  </goals>
+                  <phase>compile</phase>
+               </execution>
+               <execution>
+                  <id>test-compile</id>
+                  <goals>
+                     <goal>testCompile</goal>
+                  </goals>
+                  <phase>test-compile</phase>
+               </execution>
+               <execution>
+                  <phase>process-resources</phase>
+                  <goals>
+                     <goal>compile</goal>
+                  </goals>
+               </execution>
+            </executions>
+         </plugin>
+      </plugins>
+
+   </build>
+   
 </project>



More information about the infinispan-commits mailing list