2016-12-26 12:20:49 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!DOCTYPE project [
|
|
|
|
<!ENTITY base SYSTEM "src/build/java/base.xml">
|
|
|
|
]>
|
|
|
|
|
2019-08-06 15:04:41 +00:00
|
|
|
<project default="usage" name="collector" basedir="."
|
|
|
|
xmlns:ivy="antlib:org.apache.ivy.ant">
|
2016-12-26 12:20:49 +00:00
|
|
|
|
|
|
|
<property name="javadoc-title" value="CollecTor API Documentation"/>
|
|
|
|
<property name="implementation-title" value="CollecTor" />
|
2020-04-30 15:42:00 +00:00
|
|
|
<property name="release.version" value="1.15.0" />
|
2018-07-05 08:58:44 +00:00
|
|
|
<property name="project-main-class" value="org.torproject.metrics.collector.Main" />
|
2016-12-26 12:20:49 +00:00
|
|
|
<property name="name" value="collector"/>
|
2020-04-30 15:29:35 +00:00
|
|
|
<property name="metricslibversion" value="2.12.1" />
|
2016-12-26 12:20:49 +00:00
|
|
|
<property name="jarincludes" value="collector.properties logback.xml" />
|
|
|
|
|
2016-05-03 20:00:52 +00:00
|
|
|
<patternset id="runtime" >
|
2019-07-28 19:50:09 +00:00
|
|
|
<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"/>
|
2019-05-02 20:02:23 +00:00
|
|
|
<include name="metrics-lib-${metricslibversion}-thin.jar"/>
|
2019-07-28 19:50:09 +00:00
|
|
|
<include name="logback-core-1.1.9.jar" />
|
|
|
|
<include name="logback-classic-1.1.9.jar" />
|
|
|
|
<include name="slf4j-api-1.7.22.jar" />
|
2016-05-03 20:00:52 +00:00
|
|
|
</patternset>
|
2016-12-26 12:20:49 +00:00
|
|
|
|
|
|
|
<target name="coverage-check">
|
2016-09-30 10:13:24 +00:00
|
|
|
<cobertura-check totallinerate="31" totalbranchrate="26" >
|
2018-07-05 08:58:44 +00:00
|
|
|
<regex pattern="org.torproject.metrics.collector.bridgedescs"
|
2016-09-30 10:13:24 +00:00
|
|
|
branchrate="87" linerate="73"/>
|
2018-07-05 08:58:44 +00:00
|
|
|
<regex pattern="org.torproject.metrics.collector.conf"
|
2016-08-02 19:36:07 +00:00
|
|
|
branchrate="87" linerate="100"/>
|
2018-07-05 08:58:44 +00:00
|
|
|
<regex pattern="org.torproject.metrics.collector.cron"
|
2016-09-30 10:13:24 +00:00
|
|
|
branchrate="66" linerate="72" />
|
2018-07-05 08:58:44 +00:00
|
|
|
<regex pattern="org.torproject.metrics.collector.Main"
|
2016-09-05 18:54:09 +00:00
|
|
|
branchrate="100" linerate="91" />
|
2016-05-30 13:14:49 +00:00
|
|
|
</cobertura-check>
|
2016-04-21 13:25:25 +00:00
|
|
|
</target>
|
2016-12-26 12:20:49 +00:00
|
|
|
|
|
|
|
<!-- The following line adds the common targets and properties
|
|
|
|
for Metrics' Java Projects.
|
|
|
|
-->
|
|
|
|
&base;
|
|
|
|
|
2010-06-30 21:17:52 +00:00
|
|
|
</project>
|
2011-01-28 15:12:46 +00:00
|
|
|
|