-
Notifications
You must be signed in to change notification settings - Fork 69
/
maven-trang.xml
122 lines (122 loc) · 4.92 KB
/
maven-trang.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
<project name="trang" basedir="."
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<xmlproperty file="version.xml"/>
<property name="dist" location="build/dist" />
<property name="base" location="${dist}/trang-${version}" />
<property name="src" location="mod" />
<property name="javadoc-dir" value="${dist}/javadoc" />
<property name="javadoc-jar" value="${base}-javadoc.jar" />
<property name="sources-jar" value="${base}-sources.jar" />
<property name="bundle-jar" value="${base}-bundle.jar" />
<property name="catalog-src" location="${src}/catalog/src/main" />
<property name="convert-from-dtd-src" location="${src}/convert-from-dtd/src/main" />
<property name="convert-from-xml-src" location="${src}/convert-from-xml/src/main" />
<property name="convert-to-dtd-src" location="${src}/convert-to-dtd/src/main" />
<property name="convert-to-xsd-src" location="${src}/convert-to-xsd/src/main" />
<property name="datatype-src" location="${src}/datatype/src/main" />
<property name="dtd-parse-src" location="${src}/dtd-parse/src/main" />
<property name="infer-src" location="${src}/infer/src/main" />
<property name="regex-src" location="${src}/regex/src/main" />
<property name="resolver-src" location="${src}/resolver/src/main" />
<property name="rng-parse-src" location="${src}/rng-parse/src/main" />
<property name="rng-schema-src" location="${src}/rng-schema/src/main" />
<property name="trang-src" location="${src}/trang/src/main" />
<property name="util-src" location="${src}/util/src/main" />
<property name="xsd-datatype-src" location="${src}/xsd-datatype/src/main" />
<target name="javadoc-jar">
<javadoc destdir="${javadoc-dir}" additionalparam="-html5 -Xdoclint:none">
<fileset dir="${catalog-src}"/>
<fileset dir="${convert-from-dtd-src}"/>
<fileset dir="${convert-from-xml-src}"/>
<fileset dir="${convert-to-dtd-src}"/>
<fileset dir="${convert-to-xsd-src}"/>
<fileset dir="${datatype-src}"/>
<fileset dir="${dtd-parse-src}"/>
<fileset dir="${infer-src}"/>
<fileset dir="${regex-src}"/>
<fileset dir="${resolver-src}"/>
<fileset dir="${rng-parse-src}"/>
<fileset dir="${rng-schema-src}"/>
<fileset dir="${trang-src}"/>
<fileset dir="${util-src}"/>
<fileset dir="${xsd-datatype-src}"/>
<classpath>
<fileset dir="lib/">
<include name="**/*.jar" />
</fileset>
<fileset dir="build">
<include name="*.jar"/>
</fileset>
</classpath>
</javadoc>
<jar destfile="${javadoc-jar}">
<fileset dir="${javadoc-dir}" />
</jar>
<delete dir="${javadoc-dir}"/>
</target>
<target name="sources-jar">
<jar destfile="${sources-jar}">
<fileset dir="${catalog-src}"/>
<fileset dir="${convert-from-dtd-src}"/>
<fileset dir="${convert-from-xml-src}"/>
<fileset dir="${convert-to-dtd-src}"/>
<fileset dir="${convert-to-xsd-src}"/>
<fileset dir="${datatype-src}"/>
<fileset dir="${dtd-parse-src}"/>
<fileset dir="${infer-src}"/>
<fileset dir="${regex-src}"/>
<fileset dir="${resolver-src}"/>
<fileset dir="${rng-parse-src}"/>
<fileset dir="${rng-schema-src}"/>
<fileset dir="${trang-src}"/>
<fileset dir="${util-src}"/>
<fileset dir="${xsd-datatype-src}"/>
</jar>
</target>
<target name="artifacts" depends="javadoc-jar,sources-jar">
<artifact:pom
id="trang-pom"
groupId="org.relaxng"
artifactId="trang"
version="${version}"
name="Trang"
description="Trang, a multi-format schema converter based on RELAX NG."
url="http://www.thaiopensource.com/relaxng/trang.html"
packaging="jar">
<license
name="3-clause BSD license"
distribution="repo"
url="https://github.com/relaxng/jing-trang/blob/master/copying.txt"/>
<scm
connection="scm:git:[email protected]:relaxng/jing-trang.git"
developerConnection="scm:git:[email protected]:relaxng/jing-trang.git"
url="https://github.com/relaxng/jing-trang/"/>
<issueManagement
system="GitHub Issues"
url="https://github.com/relaxng/jing-trang/issues"/>
<ciManagement
system="Travis CI"
url="https://travis-ci.org/relaxng/jing-trang"/>
<developer
name="James Clark"
id="[email protected]"
email="[email protected]"
url="http://jclark.com/"/>
<developer
name="George Bina"
id="georgebina"
email="[email protected]"
url="http://www.oxygenxml.com"/>
<developer
name="Michael[tm] Smith"
id="sideshowbarker"
email="[email protected]"
url="https://people.w3.org/mike/"/>
</artifact:pom>
<artifact:writepom pomRefId="trang-pom" file="${base}.pom"/>
<copy file="build/trang.jar" tofile="${base}.jar"/>
</target>
<target name="bundle">
<jar basedir="${dist}" destfile="${bundle-jar}"/>
</target>
</project>