-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
49 lines (42 loc) · 1.85 KB
/
build.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
<?xml version="1.0"?>
<!DOCTYPE project [
<!ENTITY base SYSTEM "src/build/java/base.xml">
]>
<project default="usage" name="collector" basedir="."
xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="javadoc-title" value="CollecTor API Documentation"/>
<property name="implementation-title" value="CollecTor" />
<property name="release.version" value="1.18.2-dev" />
<property name="project-main-class" value="org.torproject.metrics.collector.Main" />
<property name="name" value="collector"/>
<property name="metricslibversion" value="2.18.0" />
<property name="jarincludes" value="collector.properties logback.xml" />
<patternset id="runtime" >
<include name="commons-codec-1.10.jar"/>
<include name="commons-compress-1.13.jar"/>
<include name="jackson-annotations-2.8.6.jar"/>
<include name="jackson-core-2.8.6.jar"/>
<include name="jackson-databind-2.8.6.jar"/>
<include name="xz-1.6.jar"/>
<include name="metrics-lib-${metricslibversion}-thin.jar"/>
<include name="logback-core-1.1.9.jar" />
<include name="logback-classic-1.1.9.jar" />
<include name="slf4j-api-1.7.22.jar" />
</patternset>
<target name="coverage-check">
<cobertura-check totallinerate="31" totalbranchrate="26" >
<regex pattern="org.torproject.metrics.collector.bridgedescs"
branchrate="87" linerate="73"/>
<regex pattern="org.torproject.metrics.collector.conf"
branchrate="87" linerate="100"/>
<regex pattern="org.torproject.metrics.collector.cron"
branchrate="66" linerate="72" />
<regex pattern="org.torproject.metrics.collector.Main"
branchrate="100" linerate="91" />
</cobertura-check>
</target>
<!-- The following line adds the common targets and properties
for Metrics' Java Projects.
-->
&base;
</project>