Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 117 lines (110 sloc) 3.49 kb
527994b @davidB updates samples project
davidB authored
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0f4a3b8 @davidB samples: upgrade scala version, java version, maven-scala-plugin, ...
davidB authored
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
3 >
816f0b8 @davidB add samples
davidB authored
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>samples</groupId>
6 <artifactId>prj-scala-only</artifactId>
7 <version>1.0-SNAPSHOT</version>
527994b @davidB updates samples project
davidB authored
8 <inceptionYear>2010</inceptionYear>
9
816f0b8 @davidB add samples
davidB authored
10 <properties>
0f4a3b8 @davidB samples: upgrade scala version, java version, maven-scala-plugin, ...
davidB authored
11 <maven.compiler.source>1.6</maven.compiler.source>
12 <maven.compiler.target>1.6</maven.compiler.target>
816f0b8 @davidB add samples
davidB authored
13 <encoding>UTF-8</encoding>
c2806af @davidB prj-scala-only: update to scala 2.10
davidB authored
14 <scala.version>2.10.4</scala.version>
15 <scala.compat.version>2.10</scala.compat.version>
816f0b8 @davidB add samples
davidB authored
16 </properties>
527994b @davidB updates samples project
davidB authored
17
c2806af @davidB prj-scala-only: update to scala 2.10
davidB authored
18 <repositories>
19 <repository>
20 <id>oss.sonatype.org</id>
21 <name>releases</name>
22 <url>http://oss.sonatype.org/content/repositories/releases</url>
23 </repository>
24
25 <repository>
26 <id>oss.sonatype.org.snapshots</id>
27 <name>snapshots</name>
28 <url>http://oss.sonatype.org/content/repositories/snapshots</url>
29 </repository>
30 </repositories>
31
816f0b8 @davidB add samples
davidB authored
32 <dependencies>
33 <dependency>
34 <groupId>org.scala-lang</groupId>
35 <artifactId>scala-library</artifactId>
527994b @davidB updates samples project
davidB authored
36 <version>${scala.version}</version>
816f0b8 @davidB add samples
davidB authored
37 </dependency>
38 <dependency>
39 <groupId>junit</groupId>
40 <artifactId>junit</artifactId>
3142220 @davidB uptade sample prj-scala-only to run under scala-2.8.0.RC3
davidB authored
41 <version>4.8.1</version>
816f0b8 @davidB add samples
davidB authored
42 <scope>test</scope>
43 </dependency>
662c235 @davidB add ScalaTest samples into samples/prj-scala-only
davidB authored
44 <dependency>
45 <groupId>org.scalatest</groupId>
c2806af @davidB prj-scala-only: update to scala 2.10
davidB authored
46 <artifactId>scalatest_2.10.0</artifactId>
47 <version>1.8</version>
527994b @davidB updates samples project
davidB authored
48 <scope>test</scope>
49 </dependency>
50 <dependency>
0f4a3b8 @davidB samples: upgrade scala version, java version, maven-scala-plugin, ...
davidB authored
51 <groupId>org.specs2</groupId>
c2806af @davidB prj-scala-only: update to scala 2.10
davidB authored
52 <artifactId>specs2_${scala.compat.version}</artifactId>
53 <version>2.3.13</version>
527994b @davidB updates samples project
davidB authored
54 <scope>test</scope>
55 </dependency>
816f0b8 @davidB add samples
davidB authored
56 </dependencies>
57
58 <build>
59 <sourceDirectory>src/main/scala</sourceDirectory>
60 <testSourceDirectory>src/test/scala</testSourceDirectory>
61 <plugins>
62 <plugin>
dc9b646 @davidB add support of scala-maven-plugin
davidB authored
63 <groupId>net.alchim31.maven</groupId>
64 <artifactId>scala-maven-plugin</artifactId>
c2806af @davidB prj-scala-only: update to scala 2.10
davidB authored
65 <version>3.2.0</version>
816f0b8 @davidB add samples
davidB authored
66 <executions>
67 <execution>
68 <goals>
69 <goal>compile</goal>
70 <goal>testCompile</goal>
71 </goals>
72 </execution>
73 </executions>
527994b @davidB updates samples project
davidB authored
74 <configuration>
75 <args>
76 <arg>-make:transitive</arg>
77 <arg>-dependencyfile</arg>
78 <arg>${project.build.directory}/.scala_dependencies</arg>
79 </args>
80 </configuration>
81 </plugin>
82 <plugin>
83 <groupId>org.apache.maven.plugins</groupId>
84 <artifactId>maven-surefire-plugin</artifactId>
85 <version>2.6</version>
86 <configuration>
87 <useFile>false</useFile>
88 <disableXmlReport>true</disableXmlReport>
89 <!-- If you have classpath issue like NoDefClassError,... -->
90 <!-- useManifestOnlyJar>false</useManifestOnlyJar -->
91 <includes>
92 <include>**/*Test.*</include>
93 <include>**/*Suite.*</include>
94 </includes>
95 <excludes>
96 <exclude>**/*.off</exclude>
97 </excludes>
98 </configuration>
816f0b8 @davidB add samples
davidB authored
99 </plugin>
100 </plugins>
101 </build>
0f4a3b8 @davidB samples: upgrade scala version, java version, maven-scala-plugin, ...
davidB authored
102
527994b @davidB updates samples project
davidB authored
103 <profiles>
104 <profile>
105 <id>testng</id>
106 <dependencies>
107 <dependency>
108 <groupId>org.testng</groupId>
109 <artifactId>testng</artifactId>
110 <version>5.14</version>
111 <scope>test</scope>
112 </dependency>
113 </dependencies>
114 </profile>
115 </profiles>
816f0b8 @davidB add samples
davidB authored
116 </project>
Something went wrong with that request. Please try again.