forked from jwtk/jjwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jjwt.xml
331 lines (276 loc) · 14.7 KB
/
jjwt.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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<?xml version="1.0" encoding="UTF-8"?>
<project name="jjwt" default="all">
<property file="jjwt.properties"/>
<!-- Uncomment the following property if no tests compilation is needed -->
<!--
<property name="skip.tests" value="true"/>
-->
<!-- Compiler options -->
<property name="compiler.debug" value="on"/>
<property name="compiler.generate.no.warnings" value="off"/>
<property name="compiler.args" value=""/>
<property name="compiler.max.memory" value="700m"/>
<patternset id="ignored.files">
<exclude name="**/CVS/**"/>
<exclude name="**/SCCS/**"/>
<exclude name="**/RCS/**"/>
<exclude name="**/rcs/**"/>
<exclude name="**/.DS_Store/**"/>
<exclude name="**/.svn/**"/>
<exclude name="**/.pyc/**"/>
<exclude name="**/.pyo/**"/>
<exclude name="**/*.pyc/**"/>
<exclude name="**/*.pyo/**"/>
<exclude name="**/.git/**"/>
<exclude name="**/*.hprof/**"/>
<exclude name="**/_svn/**"/>
<exclude name="**/.hg/**"/>
<exclude name="**/*.lib/**"/>
<exclude name="**/*~/**"/>
<exclude name="**/__pycache__/**"/>
<exclude name="**/.bundle/**"/>
<exclude name="**/*.rbc/**"/>
</patternset>
<patternset id="library.patterns">
<include name="*.zip"/>
<include name="*.apk"/>
<include name="*.war"/>
<include name="*.egg"/>
<include name="*.ear"/>
<include name="*.ane"/>
<include name="*.swc"/>
<include name="*.jar"/>
</patternset>
<patternset id="compiler.resources">
<exclude name="**/?*.java"/>
<exclude name="**/?*.form"/>
<exclude name="**/?*.class"/>
<exclude name="**/?*.groovy"/>
<exclude name="**/?*.scala"/>
<exclude name="**/?*.flex"/>
<exclude name="**/?*.kt"/>
<exclude name="**/?*.clj"/>
</patternset>
<!-- JDK definitions -->
<property name="jdk.bin.android_api_21_platform" value="${jdk.home.android_api_21_platform}/../../../../Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/bin"/>
<path id="jdk.classpath.android_api_21_platform">
<fileset dir="${jdk.home.android_api_21_platform}">
<include name="platforms/android-21/android.jar"/>
<include name="platforms/android-21/data/res"/>
<include name="tools/support/annotations.jar"/>
</fileset>
</path>
<property name="project.jdk.home" value="${jdk.home.android_api_21_platform}"/>
<property name="project.jdk.bin" value="${jdk.bin.android_api_21_platform}"/>
<property name="project.jdk.classpath" value="jdk.classpath.android_api_21_platform"/>
<!-- Project Libraries -->
<path id="library.maven:_cglib:cglib-nodep:2.2.2.classpath">
<pathelement location="${path.variable.maven_repository}/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar"/>
</path>
<path id="library.maven:_ch.qos.logback:logback-classic:1.0.7.classpath">
<pathelement location="${path.variable.maven_repository}/ch/qos/logback/logback-classic/1.0.7/logback-classic-1.0.7.jar"/>
</path>
<path id="library.maven:_ch.qos.logback:logback-core:1.0.7.classpath">
<pathelement location="${path.variable.maven_repository}/ch/qos/logback/logback-core/1.0.7/logback-core-1.0.7.jar"/>
</path>
<path id="library.maven:_com.beust:jcommander:1.27.classpath">
<pathelement location="${path.variable.maven_repository}/com/beust/jcommander/1.27/jcommander-1.27.jar"/>
</path>
<path id="library.maven:_com.fasterxml.jackson.core:jackson-annotations:2.4.0.classpath">
<pathelement location="${path.variable.maven_repository}/com/fasterxml/jackson/core/jackson-annotations/2.4.0/jackson-annotations-2.4.0.jar"/>
</path>
<path id="library.maven:_com.fasterxml.jackson.core:jackson-core:2.4.2.classpath">
<pathelement location="${path.variable.maven_repository}/com/fasterxml/jackson/core/jackson-core/2.4.2/jackson-core-2.4.2.jar"/>
</path>
<path id="library.maven:_com.fasterxml.jackson.core:jackson-databind:2.4.2.classpath">
<pathelement location="${path.variable.maven_repository}/com/fasterxml/jackson/core/jackson-databind/2.4.2/jackson-databind-2.4.2.jar"/>
</path>
<path id="library.maven:_junit:junit:4.10.classpath">
<pathelement location="${path.variable.maven_repository}/junit/junit/4.10/junit-4.10.jar"/>
</path>
<path id="library.maven:_org.beanshell:bsh:2.0b4.classpath">
<pathelement location="${path.variable.maven_repository}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
</path>
<path id="library.maven:_org.bouncycastle:bcprov-jdk15on:1.51.classpath">
<pathelement location="${path.variable.maven_repository}/org/bouncycastle/bcprov-jdk15on/1.51/bcprov-jdk15on-1.51.jar"/>
</path>
<path id="library.maven:_org.codehaus.groovy:groovy-all:2.3.0-beta-2.classpath">
<pathelement location="${path.variable.maven_repository}/org/codehaus/groovy/groovy-all/2.3.0-beta-2/groovy-all-2.3.0-beta-2.jar"/>
</path>
<path id="library.maven:_org.easymock:easymock:3.1.classpath">
<pathelement location="${path.variable.maven_repository}/org/easymock/easymock/3.1/easymock-3.1.jar"/>
</path>
<path id="library.maven:_org.hamcrest:hamcrest-core:1.1.classpath">
<pathelement location="${path.variable.maven_repository}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
</path>
<path id="library.maven:_org.objenesis:objenesis:1.2.classpath">
<pathelement location="${path.variable.maven_repository}/org/objenesis/objenesis/1.2/objenesis-1.2.jar"/>
</path>
<path id="library.maven:_org.slf4j:slf4j-api:1.7.6.classpath">
<pathelement location="${path.variable.maven_repository}/org/slf4j/slf4j-api/1.7.6/slf4j-api-1.7.6.jar"/>
</path>
<path id="library.maven:_org.testng:testng:6.8.classpath">
<pathelement location="${path.variable.maven_repository}/org/testng/testng/6.8/testng-6.8.jar"/>
</path>
<path id="library.maven:_org.yaml:snakeyaml:1.6.classpath">
<pathelement location="${path.variable.maven_repository}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"/>
</path>
<!-- Register Custom Compiler Taskdefs -->
<property name="javac2.home" value="${idea.home}/lib"/>
<path id="javac2.classpath">
<pathelement location="${javac2.home}/javac2.jar"/>
<pathelement location="${javac2.home}/jdom.jar"/>
<pathelement location="${javac2.home}/asm4-all.jar"/>
<pathelement location="${javac2.home}/jgoodies-forms.jar"/>
</path>
<target name="register.custom.compilers">
<taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.classpath"/>
<taskdef name="instrumentIdeaExtensions" classname="com.intellij.ant.InstrumentIdeaExtensions" classpathref="javac2.classpath"/>
<property name="grooovyc.task.sdk" value="library.maven:_org.codehaus.groovy:groovy-all:2.3.0-beta-2.classpath"/>
<taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpathref="${grooovyc.task.sdk}"/>
</target>
<!-- Modules -->
<!-- Module jjwt -->
<dirname property="module.jjwt.basedir" file="${ant.file}"/>
<property name="module.jdk.home.jjwt" value="${project.jdk.home}"/>
<property name="module.jdk.bin.jjwt" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.jjwt" value="${project.jdk.classpath}"/>
<property name="compiler.args.jjwt" value="-encoding UTF-8 -source 1.6 -target 1.6 ${compiler.args}"/>
<property name="jjwt.output.dir" value="${module.jjwt.basedir}/target/classes"/>
<property name="jjwt.testoutput.dir" value="${module.jjwt.basedir}/target/test-classes"/>
<path id="jjwt.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="jjwt.module.production.classpath">
<path refid="${module.jdk.classpath.jjwt}"/>
<path refid="library.maven:_org.slf4j:slf4j-api:1.7.6.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-databind:2.4.2.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-annotations:2.4.0.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-core:2.4.2.classpath"/>
</path>
<path id="jjwt.runtime.production.module.classpath">
<pathelement location="${jjwt.output.dir}"/>
<path refid="library.maven:_org.slf4j:slf4j-api:1.7.6.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-databind:2.4.2.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-annotations:2.4.0.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-core:2.4.2.classpath"/>
<path refid="library.maven:_org.bouncycastle:bcprov-jdk15on:1.51.classpath"/>
</path>
<path id="jjwt.module.classpath">
<path refid="${module.jdk.classpath.jjwt}"/>
<pathelement location="${jjwt.output.dir}"/>
<path refid="library.maven:_org.slf4j:slf4j-api:1.7.6.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-databind:2.4.2.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-annotations:2.4.0.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-core:2.4.2.classpath"/>
<path refid="library.maven:_org.bouncycastle:bcprov-jdk15on:1.51.classpath"/>
<path refid="library.maven:_ch.qos.logback:logback-classic:1.0.7.classpath"/>
<path refid="library.maven:_ch.qos.logback:logback-core:1.0.7.classpath"/>
<path refid="library.maven:_org.testng:testng:6.8.classpath"/>
<path refid="library.maven:_junit:junit:4.10.classpath"/>
<path refid="library.maven:_org.hamcrest:hamcrest-core:1.1.classpath"/>
<path refid="library.maven:_org.beanshell:bsh:2.0b4.classpath"/>
<path refid="library.maven:_com.beust:jcommander:1.27.classpath"/>
<path refid="library.maven:_org.yaml:snakeyaml:1.6.classpath"/>
<path refid="library.maven:_org.codehaus.groovy:groovy-all:2.3.0-beta-2.classpath"/>
<path refid="library.maven:_org.easymock:easymock:3.1.classpath"/>
<path refid="library.maven:_cglib:cglib-nodep:2.2.2.classpath"/>
<path refid="library.maven:_org.objenesis:objenesis:1.2.classpath"/>
</path>
<path id="jjwt.runtime.module.classpath">
<pathelement location="${jjwt.testoutput.dir}"/>
<pathelement location="${jjwt.output.dir}"/>
<path refid="library.maven:_org.slf4j:slf4j-api:1.7.6.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-databind:2.4.2.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-annotations:2.4.0.classpath"/>
<path refid="library.maven:_com.fasterxml.jackson.core:jackson-core:2.4.2.classpath"/>
<path refid="library.maven:_org.bouncycastle:bcprov-jdk15on:1.51.classpath"/>
<path refid="library.maven:_ch.qos.logback:logback-classic:1.0.7.classpath"/>
<path refid="library.maven:_ch.qos.logback:logback-core:1.0.7.classpath"/>
<path refid="library.maven:_org.testng:testng:6.8.classpath"/>
<path refid="library.maven:_junit:junit:4.10.classpath"/>
<path refid="library.maven:_org.hamcrest:hamcrest-core:1.1.classpath"/>
<path refid="library.maven:_org.beanshell:bsh:2.0b4.classpath"/>
<path refid="library.maven:_com.beust:jcommander:1.27.classpath"/>
<path refid="library.maven:_org.yaml:snakeyaml:1.6.classpath"/>
<path refid="library.maven:_org.codehaus.groovy:groovy-all:2.3.0-beta-2.classpath"/>
<path refid="library.maven:_org.easymock:easymock:3.1.classpath"/>
<path refid="library.maven:_cglib:cglib-nodep:2.2.2.classpath"/>
<path refid="library.maven:_org.objenesis:objenesis:1.2.classpath"/>
</path>
<patternset id="excluded.from.module.jjwt">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.jjwt">
<patternset refid="excluded.from.module.jjwt"/>
</patternset>
<path id="jjwt.module.sourcepath">
<dirset dir="${module.jjwt.basedir}">
<include name="src/main/java"/>
</dirset>
</path>
<path id="jjwt.module.test.sourcepath">
<dirset dir="${module.jjwt.basedir}">
<include name="src/test/groovy"/>
</dirset>
</path>
<target name="compile.module.jjwt" depends="compile.module.jjwt.production,compile.module.jjwt.tests" description="Compile module jjwt"/>
<target name="compile.module.jjwt.production" depends="register.custom.compilers" description="Compile module jjwt; production classes">
<mkdir dir="${jjwt.output.dir}"/>
<groovyc destdir="${jjwt.output.dir}" fork="yes">
<src refid="jjwt.module.sourcepath"/>
<classpath refid="jjwt.module.production.classpath"/>
<patternset refid="excluded.from.compilation.jjwt"/>
<javac debug="${compiler.debug}">
<compilerarg line="${compiler.args.jjwt}"/>
</javac>
</groovyc>
<instrumentIdeaExtensions destdir="${jjwt.output.dir}">
<compilerarg line="${compiler.args.jjwt}"/>
<bootclasspath refid="jjwt.module.bootclasspath"/>
<classpath refid="jjwt.module.production.classpath"/>
<src refid="jjwt.module.sourcepath"/>
<patternset refid="excluded.from.compilation.jjwt"/>
</instrumentIdeaExtensions>
<copy todir="${jjwt.output.dir}">
<fileset dir="${module.jjwt.basedir}/src/main/java">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.jjwt.tests" depends="register.custom.compilers,compile.module.jjwt.production" description="compile module jjwt; test classes" unless="skip.tests">
<mkdir dir="${jjwt.testoutput.dir}"/>
<groovyc destdir="${jjwt.testoutput.dir}" fork="yes">
<src refid="jjwt.module.test.sourcepath"/>
<classpath refid="jjwt.module.classpath"/>
<patternset refid="excluded.from.compilation.jjwt"/>
<javac debug="${compiler.debug}">
<compilerarg line="${compiler.args.jjwt}"/>
</javac>
</groovyc>
<instrumentIdeaExtensions destdir="${jjwt.testoutput.dir}">
<compilerarg line="${compiler.args.jjwt}"/>
<bootclasspath refid="jjwt.module.bootclasspath"/>
<classpath refid="jjwt.module.classpath"/>
<src refid="jjwt.module.test.sourcepath"/>
<patternset refid="excluded.from.compilation.jjwt"/>
</instrumentIdeaExtensions>
<copy todir="${jjwt.testoutput.dir}">
<fileset dir="${module.jjwt.basedir}/src/test/groovy">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="clean.module.jjwt" description="cleanup module">
<delete dir="${jjwt.output.dir}"/>
<delete dir="${jjwt.testoutput.dir}"/>
</target>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.jjwt" description="cleanup all"/>
<target name="build.modules" depends="init, clean, compile.module.jjwt" description="build all modules"/>
<target name="all" depends="build.modules" description="build all"/>
</project>