-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.yml
85 lines (85 loc) · 3.54 KB
/
pom.yml
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
groupId: com.tfitter
artifactId: "tfitter_${scala.version}"
version: 0.5
name: Tfitter
description: La Scala Twitter Data Miner
url: "http://tfitter.com/"
properties:
java.src.version: 1.6
project.build.sourceEncoding: UTF-8
main.class: com.tfitter.Walk
profiles:
- activation:
activeByDefault: true
id: Scala-2.7.5
properties:
scala.version: 2.7.5
- id: Scala-2.8.0-SNAPSHOT
properties:
scala.version: 2.8.0-SNAPSHOT
repositories:
- { id: scala-tools.org, name: Scala-Tools Maven2 Release Repository, url: "http://scala-tools.org/repo-releases" }
- id: snapshots.scala-tools.org
name: Scala-Tools Maven2 Snapshot Repository
url: "http://scala-tools.org/repo-snapshots"
snapshots:
updatePolicy: never
pluginRepositories:
- { id: scala-tools.org, name: Scala-Tools Maven2 Release Repository, url: "http://scala-tools.org/repo-releases" }
- { id: snapshots.scala-tools.org, name: Scala-Tools Maven2 Snapshot Repository, url: "http://scala-tools.org/repo-snapshots" }
- { id: twdata-m2-repository, name: twdata.org Maven 2 Repository, url: "http://twdata-m2-repository.googlecode.com/svn/" }
dependencies:
- { groupId: org.scala-lang, artifactId: scala-library, version: "${scala.version}" }
- { groupId: org.scala-lang, artifactId: scala-compiler, version: "${scala.version}" }
- { groupId: joda-time, artifactId: joda-time, version: 1.6 }
- { groupId: commons-lang, artifactId: commons-lang, version: 2.4 }
- { groupId: com.twitter, artifactId: "scala-json_${scala.version}", version: 1.0 }
- { groupId: org.suffix.sql, artifactId: "rich_${scala.version}", version: 1.0 }
- { groupId: org.suffix, artifactId: "util_${scala.version}", version: 1.0 }
- { groupId: org.codehaus.jackson, artifactId: jackson-core-lgpl, version: 1.1.0 }
- { groupId: org.codehaus.jackson, artifactId: jackson-mapper-lgpl, version: 1.1.0 }
- { groupId: berkeleydb, artifactId: je, version: 3.3.82 }
- { groupId: optional, artifactId: "optional_${scala.version}", version: 1.0 }
- { groupId: org.apache.commons, artifactId: commons-compress, version: 1.1-SNAPSHOT }
- { groupId: com.lingpipe, artifactId: lingpipe, version: 3.8.2 }
- { groupId: org.scala-tools, artifactId: time, version: "${scala.version}-0.2-SNAPSHOT" }
reporting:
plugins:
- { artifactId: maven-scala-plugin, groupId: org.scala-tools }
build:
sourceDirectory: src/main/scala
directory: "target-${scala.version}"
filters: [ src/main/filters/filter.properties ]
resources:
- { directory: src/main/resources, filtering: true }
plugins:
- artifactId: maven-scala-plugin
executions:
- goals: [ compile, testCompile ]
groupId: org.scala-tools
configuration:
args: [ -deprecation, -unchecked, -optimise ]
jvmArgs: [ -Xmx128m, -Xss2m, -Dfile.encoding=UTF-8 ]
excludes: [ "**/drafts/*.*" ]
launchers:
- { mainClass: com.tfitter.DbMain, id: st1 }
- { mainClass: com.tfitter.Main, id: go1 }
- { mainClass: braver.jackson.Main, id: jack }
- artifactId: maven-compiler-plugin
groupId: org.apache.maven.plugins
configuration:
excludes: [ "**/drafts/*.scala" ]
- artifactId: maven-yamlpom-plugin
executions:
- goals: [ sync ]
groupId: org.twdata.maven
- artifactId: maven-assembly-plugin
configuration:
descriptorRefs: [ jar-with-dependencies ]
archive:
manifest:
mainClass: "${main.class}"
executions:
- id: make-assembly
phase: package
goals: [ single ]