|
13 | 13 | ~ See the License for the specific language governing permissions and
|
14 | 14 | ~ limitations under the License.
|
15 | 15 | -->
|
16 |
| -<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"> |
17 |
| - <modelVersion>4.0.0</modelVersion> |
18 |
| - <groupId>no.scalabin.scala-examples</groupId> |
19 |
| - <artifactId>scala-examples</artifactId> |
20 |
| - <version>0.1-SNAPSHOT</version> |
21 |
| - <packaging>pom</packaging> |
22 |
| - <name>Scala examples - Testing your Scala skills</name> |
23 |
| - <inceptionYear>2009</inceptionYear> |
| 16 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 17 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 18 | + <modelVersion>4.0.0</modelVersion> |
| 19 | + <groupId>no.scalabin.scala-examples</groupId> |
| 20 | + <artifactId>scala-examples</artifactId> |
| 21 | + <version>0.1-SNAPSHOT</version> |
| 22 | + <packaging>pom</packaging> |
| 23 | + <name>Scala examples - Testing your Scala skills</name> |
| 24 | + <inceptionYear>2009</inceptionYear> |
24 | 25 |
|
25 |
| - <properties> |
26 |
| - <scala.version>2.7.6</scala.version> |
27 |
| - <scala-plugin.version>2.10.1</scala-plugin.version> |
28 |
| - </properties> |
| 26 | + <properties> |
| 27 | + <scala.version>2.7.6</scala.version> |
| 28 | + <scala-plugin.version>2.10.1</scala-plugin.version> |
| 29 | + </properties> |
29 | 30 |
|
30 |
| - <repositories> |
31 |
| - <repository> |
32 |
| - <id>scala-tools.org</id> |
33 |
| - <name>Scala-Tools Maven2 Repository</name> |
34 |
| - <url>http://scala-tools.org/repo-releases</url> |
35 |
| - <snapshots> |
36 |
| - <enabled>false</enabled> |
37 |
| - </snapshots> |
38 |
| - </repository> |
39 |
| - </repositories> |
| 31 | + <repositories> |
| 32 | + <repository> |
| 33 | + <id>scala-tools.org</id> |
| 34 | + <name>Scala-Tools Maven2 Repository</name> |
| 35 | + <url>http://scala-tools.org/repo-releases</url> |
| 36 | + <snapshots> |
| 37 | + <enabled>false</enabled> |
| 38 | + </snapshots> |
| 39 | + </repository> |
| 40 | + </repositories> |
40 | 41 |
|
41 |
| - <pluginRepositories> |
42 |
| - <pluginRepository> |
43 |
| - <id>scala-tools.org</id> |
44 |
| - <name>Scala-Tools Maven2 Repository</name> |
45 |
| - <url>http://scala-tools.org/repo-releases</url> |
46 |
| - </pluginRepository> |
47 |
| - </pluginRepositories> |
48 |
| - |
49 |
| - <dependencies> |
50 |
| - <dependency> |
51 |
| - <groupId>junit</groupId> |
52 |
| - <artifactId>junit</artifactId> |
53 |
| - <version>4.6</version> |
54 |
| - </dependency> |
55 |
| - <dependency> |
56 |
| - <groupId>org.scala-lang</groupId> |
57 |
| - <artifactId>scala-library</artifactId> |
58 |
| - <version>${scala.version}</version> |
59 |
| - </dependency> |
| 42 | + <pluginRepositories> |
| 43 | + <pluginRepository> |
| 44 | + <id>scala-tools.org</id> |
| 45 | + <name>Scala-Tools Maven2 Repository</name> |
| 46 | + <url>http://scala-tools.org/repo-releases</url> |
| 47 | + </pluginRepository> |
| 48 | + </pluginRepositories> |
60 | 49 |
|
61 |
| - <!-- Pleasing IntelliJ, so it is not necessary to add scala compiler to module when opening project. --> |
62 |
| - <dependency> |
63 |
| - <groupId>org.scala-lang</groupId> |
64 |
| - <artifactId>scala-compiler</artifactId> |
65 |
| - <version>${scala.version}</version> |
66 |
| - <scope>provided</scope> |
67 |
| - </dependency> |
68 |
| - </dependencies> |
| 50 | + <dependencies> |
| 51 | + <dependency> |
| 52 | + <groupId>junit</groupId> |
| 53 | + <artifactId>junit</artifactId> |
| 54 | + <version>4.6</version> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>org.scala-lang</groupId> |
| 58 | + <artifactId>scala-library</artifactId> |
| 59 | + <version>${scala.version}</version> |
| 60 | + </dependency> |
69 | 61 |
|
| 62 | + <!-- Pleasing IntelliJ, so it is not necessary to add scala compiler to module when opening project. --> |
| 63 | + <dependency> |
| 64 | + <groupId>org.scala-lang</groupId> |
| 65 | + <artifactId>scala-compiler</artifactId> |
| 66 | + <version>${scala.version}</version> |
| 67 | + <scope>provided</scope> |
| 68 | + </dependency> |
| 69 | + </dependencies> |
70 | 70 |
|
71 |
| - <dependencyManagement> |
72 |
| - <dependencies> |
73 |
| - <dependency> |
74 |
| - <groupId>org.scala-lang</groupId> |
75 |
| - <artifactId>scala-swing</artifactId> |
76 |
| - <version>2.7.6</version> |
77 |
| - </dependency> |
78 |
| - </dependencies> |
79 |
| - </dependencyManagement> |
80 | 71 |
|
| 72 | + <dependencyManagement> |
| 73 | + <dependencies> |
| 74 | + <dependency> |
| 75 | + <groupId>org.scala-lang</groupId> |
| 76 | + <artifactId>scala-swing</artifactId> |
| 77 | + <version>2.7.6</version> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + </dependencyManagement> |
81 | 81 |
|
82 |
| - <build> |
83 |
| - <sourceDirectory>src/main/scala</sourceDirectory> |
84 |
| - <testSourceDirectory>src/test/scala</testSourceDirectory> |
85 |
| - <resources> |
86 |
| - <resource> |
87 |
| - <directory>src/main/resources</directory> |
88 |
| - </resource> |
89 |
| - <resource> |
90 |
| - <directory>src/main/scala</directory> |
91 |
| - <includes> |
92 |
| - <include>**</include> |
93 |
| - </includes> |
94 |
| - <excludes> |
95 |
| - <exclude>**/*.scala</exclude> |
96 |
| - </excludes> |
97 |
| - </resource> |
98 |
| - </resources> |
99 |
| - <testResources> |
100 |
| - <testResource> |
101 |
| - <directory>src/test/resources</directory> |
102 |
| - <includes> |
103 |
| - <include>**</include> |
104 |
| - </includes> |
105 |
| - <excludes> |
106 |
| - <exclude>**/*.scala</exclude> |
107 |
| - </excludes> |
108 |
| - </testResource> |
109 |
| - </testResources> |
110 |
| - <plugins> |
111 |
| - <plugin> |
112 |
| - <groupId>org.scala-tools</groupId> |
113 |
| - <artifactId>maven-scala-plugin</artifactId> |
114 |
| - </plugin> |
115 |
| - <plugin> |
116 |
| - <groupId>org.apache.maven.plugins</groupId> |
117 |
| - <artifactId>maven-eclipse-plugin</artifactId> |
118 |
| - <version>2.5.1</version> |
119 |
| - </plugin> |
120 |
| - </plugins> |
121 |
| - <pluginManagement> |
122 |
| - <plugins> |
123 |
| - <plugin> |
124 |
| - <groupId>org.scala-tools</groupId> |
125 |
| - <artifactId>maven-scala-plugin</artifactId> |
126 |
| - <version>${scala-plugin.version}</version> |
127 |
| - <executions> |
128 |
| - <execution> |
129 |
| - <goals> |
130 |
| - <goal>compile</goal> |
131 |
| - <goal>testCompile</goal> |
132 |
| - </goals> |
133 |
| - </execution> |
134 |
| - </executions> |
135 |
| - <configuration> |
136 |
| - <scalaVersion>${scala.version}</scalaVersion> |
137 |
| - </configuration> |
138 |
| - </plugin> |
139 |
| - <plugin> |
140 |
| - <artifactId>maven-eclipse-plugin</artifactId> |
141 |
| - <configuration> |
142 |
| - <downloadSources>true</downloadSources> |
143 |
| - <classpathContainers> |
144 |
| - <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer> |
145 |
| - <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
146 |
| - </classpathContainers> |
147 |
| - <projectnatures> |
148 |
| - <java.lang.String>ch.epfl.lamp.sdt.core.scalanature</java.lang.String> |
149 |
| - <java.lang.String>org.eclipse.jdt.core.javanature</java.lang.String> |
150 |
| - </projectnatures> |
151 |
| - <buildcommands> |
152 |
| - <java.lang.String>ch.epfl.lamp.sdt.core.scalabuilder</java.lang.String> |
153 |
| - </buildcommands> |
154 |
| - </configuration> |
155 |
| - </plugin> |
156 |
| - </plugins> |
157 |
| - </pluginManagement> |
158 |
| - </build> |
159 | 82 |
|
160 |
| - <modules> |
161 |
| - <module>common</module> |
162 |
| - <module>intro</module> |
163 |
| - <module>first-class-functions</module> |
164 |
| - <module>higher-order-functions</module> |
165 |
| - <module>oo-traits</module> |
166 |
| - <module>pattern-matching</module> |
167 |
| - <module>quiz</module> |
168 |
| - </modules> |
| 83 | + <build> |
| 84 | + <sourceDirectory>src/main/scala</sourceDirectory> |
| 85 | + <testSourceDirectory>src/test/scala</testSourceDirectory> |
| 86 | + <resources> |
| 87 | + <resource> |
| 88 | + <directory>src/main/resources</directory> |
| 89 | + </resource> |
| 90 | + <resource> |
| 91 | + <directory>src/main/scala</directory> |
| 92 | + <includes> |
| 93 | + <include>**</include> |
| 94 | + </includes> |
| 95 | + <excludes> |
| 96 | + <exclude>**/*.scala</exclude> |
| 97 | + </excludes> |
| 98 | + </resource> |
| 99 | + </resources> |
| 100 | + <testResources> |
| 101 | + <testResource> |
| 102 | + <directory>src/test/resources</directory> |
| 103 | + <includes> |
| 104 | + <include>**</include> |
| 105 | + </includes> |
| 106 | + <excludes> |
| 107 | + <exclude>**/*.scala</exclude> |
| 108 | + </excludes> |
| 109 | + </testResource> |
| 110 | + </testResources> |
| 111 | + <plugins> |
| 112 | + <plugin> |
| 113 | + <groupId>org.scala-tools</groupId> |
| 114 | + <artifactId>maven-scala-plugin</artifactId> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-eclipse-plugin</artifactId> |
| 119 | + <version>2.5.1</version> |
| 120 | + </plugin> |
| 121 | + </plugins> |
| 122 | + <pluginManagement> |
| 123 | + <plugins> |
| 124 | + <plugin> |
| 125 | + <groupId>org.scala-tools</groupId> |
| 126 | + <artifactId>maven-scala-plugin</artifactId> |
| 127 | + <version>${scala-plugin.version}</version> |
| 128 | + <executions> |
| 129 | + <execution> |
| 130 | + <goals> |
| 131 | + <goal>compile</goal> |
| 132 | + <goal>testCompile</goal> |
| 133 | + </goals> |
| 134 | + </execution> |
| 135 | + </executions> |
| 136 | + <configuration> |
| 137 | + <scalaVersion>${scala.version}</scalaVersion> |
| 138 | + </configuration> |
| 139 | + </plugin> |
| 140 | + <plugin> |
| 141 | + <artifactId>maven-eclipse-plugin</artifactId> |
| 142 | + <configuration> |
| 143 | + <downloadSources>true</downloadSources> |
| 144 | + <classpathContainers> |
| 145 | + <classpathContainer>ch.epfl.lamp.sdt.launching.SCALA_CONTAINER</classpathContainer> |
| 146 | + <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer> |
| 147 | + </classpathContainers> |
| 148 | + <projectnatures> |
| 149 | + <java.lang.String>ch.epfl.lamp.sdt.core.scalanature</java.lang.String> |
| 150 | + <java.lang.String>org.eclipse.jdt.core.javanature</java.lang.String> |
| 151 | + </projectnatures> |
| 152 | + <buildcommands> |
| 153 | + <java.lang.String>ch.epfl.lamp.sdt.core.scalabuilder</java.lang.String> |
| 154 | + </buildcommands> |
| 155 | + </configuration> |
| 156 | + </plugin> |
| 157 | + </plugins> |
| 158 | + </pluginManagement> |
| 159 | + </build> |
169 | 160 |
|
170 |
| - <reporting> |
171 |
| - <plugins> |
172 |
| - <plugin> |
173 |
| - <groupId>org.scala-tools</groupId> |
174 |
| - <artifactId>maven-scala-plugin</artifactId> |
175 |
| - </plugin> |
176 |
| - </plugins> |
177 |
| - </reporting> |
| 161 | + <modules> |
| 162 | + <module>common</module> |
| 163 | + <module>intro</module> |
| 164 | + <module>first-class-functions</module> |
| 165 | + <module>higher-order-functions</module> |
| 166 | + <module>oo-traits</module> |
| 167 | + <module>pattern-matching</module> |
| 168 | + <module>quiz</module> |
| 169 | + </modules> |
| 170 | + |
| 171 | + <reporting> |
| 172 | + <plugins> |
| 173 | + <plugin> |
| 174 | + <groupId>org.scala-tools</groupId> |
| 175 | + <artifactId>maven-scala-plugin</artifactId> |
| 176 | + </plugin> |
| 177 | + </plugins> |
| 178 | + </reporting> |
178 | 179 |
|
179 | 180 | </project>
|
0 commit comments