forked from scala-ide/scalariform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
155 lines (150 loc) · 4.83 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.scalariform</groupId>
<artifactId>scalariform.parent</artifactId>
<version>0.1.5-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- scm configuration is require to extract the github hash-->
<scm>
<connection>scm:git://github.com/mdr/scalariform.git</connection>
<url>https://github.com/mdr/scalariform</url>
</scm>
<properties>
<tycho.version>0.18.1</tycho.version>
<scala.version>2.10.2</scala.version>
<encoding>UTF-8</encoding>
<maven.version>3.0.4</maven.version>
<scala.binary.version>2.11.0-M5</scala.binary.version>
<scala.xml.version>1.0.0-RC5</scala.xml.version>
<version.suffix>2_10</version.suffix>
</properties>
<prerequisites>
<maven>${maven.version}</maven>
</prerequisites>
<modules>
<module>scalariform</module>
<module>scalariform.feature</module>
<module>scalariform.update</module>
</modules>
<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
<!-- git hash extractor -->
<plugin>
<!-- plugin used to extract the git hash and store it in ${buildNumber} -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
<!-- for setting a better qualifier -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<format>'${version.suffix}-'yyyyMMddHHmm'-${buildNumber}'</format>
<archiveSite>true</archiveSite>
</configuration>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.1.5</version>
<executions>
<execution>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<scalaVersion>${scala.version}</scalaVersion>
<jvmArgs>
<jvmArg>-Xmx1024m</jvmArg>
<jvmArg>-Xss4m</jvmArg>
</jvmArgs>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>kepler</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/kepler</url>
</repository>
<repository>
<id>sonatype.release</id>
<name>Sonatype maven release repository</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
<snapshots><enabled>false</enabled></snapshots>
</repository>
<repository>
<id>sonatype.snapshot</id>
<name>Sonatype maven snapshot repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<profiles>
<profile>
<id>scala-2.10.x</id>
<properties>
<version.suffix>2_10</version.suffix>
</properties>
</profile>
<profile>
<id>scala-2.11.x</id>
<properties>
<scala.version>2.11.0-SNAPSHOT</scala.version>
<version.suffix>2_11</version.suffix>
</properties>
<dependencies>
<dependency>
<groupId>org.scala-lang.modules</groupId>
<artifactId>scala-xml_${scala.binary.version}</artifactId>
<version>${scala.xml.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>