forked from perf4j/perf4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
720 lines (665 loc) · 28 KB
/
pom.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
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.perf4j</groupId>
<artifactId>perf4j</artifactId>
<version>0.9.17-1</version>
<packaging>jar</packaging>
<name>Perf4J</name>
<description>Performance statistics logging and monitoring toolkit extension to log4j, logback and the java.util.logging framework.</description>
<url>http://www.perf4j.org</url>
<inceptionYear>2008</inceptionYear>
<licenses>
<license>
<name>Apache 2</name>
<url>LICENSE.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<organization>
<name>perf4j.org</name>
<url>http://www.perf4j.org</url>
</organization>
<ciManagement>
<system>TeamCity</system>
<url>http://managed.on.a.private.build.server</url>
</ciManagement>
<mailingLists>
<mailingList>
<name>Perf4j Users</name>
<post>[email protected]</post>
<subscribe>http://xircles.codehaus.org/lists/[email protected]/subscribe</subscribe>
<unsubscribe>http://xircles.codehaus.org/lists/[email protected]/unsubscribe</unsubscribe>
<archive>http://markmail.org/search/list:org.codehaus.perf4j.user</archive>
</mailingList>
<mailingList>
<name>Perf4j Dev</name>
<post>[email protected]</post>
<subscribe>http://xircles.codehaus.org/lists/[email protected]/subscribe</subscribe>
<unsubscribe>http://xircles.codehaus.org/lists/[email protected]/unsubscribe</unsubscribe>
<archive>http://markmail.org/search/list:org.codehaus.perf4j.dev</archive>
</mailingList>
<mailingList>
<name>Perf4j SCM</name>
<post>[email protected]</post>
<subscribe>http://xircles.codehaus.org/lists/[email protected]/subscribe</subscribe>
<unsubscribe>http://xircles.codehaus.org/lists/[email protected]/unsubscribe</unsubscribe>
<archive>http://markmail.org/search/list:org.codehaus.perf4j.scm</archive>
</mailingList>
<mailingList>
<name>Perf4j Announce</name>
<post>[email protected]</post>
<subscribe>http://xircles.codehaus.org/lists/[email protected]/subscribe</subscribe>
<unsubscribe>http://xircles.codehaus.org/lists/[email protected]/unsubscribe</unsubscribe>
<archive>http://markmail.org/search/list:org.codehaus.perf4j.announce</archive>
</mailingList>
</mailingLists>
<issueManagement>
<system>JIRA</system>
<url>http://jira.codehaus.org/browse/PERFFORJ</url>
</issueManagement>
<developers>
<developer>
<id>adevine</id>
<name>Alex Devine</name>
<email>[email protected]</email>
<organization>perf4j.org</organization>
<timezone>-6</timezone>
<roles>
<role>despot</role>
<role>developer</role>
</roles>
</developer>
<developer>
<id>dchakraborty</id>
<name>Doran Chakraborty</name>
<email>[email protected]</email>
<organization>perf4j.org</organization>
<timezone>-6</timezone>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>cberry</id>
<name>Chris Berry</name>
<email>[email protected]</email>
<organization>perf4j.org</organization>
<timezone>-6</timezone>
<roles>
<role>despot</role>
<role>developer</role>
</roles>
</developer>
<developer>
<id>bjacob</id>
<name>Bryon Jacob</name>
<email>[email protected]</email>
<organization>perf4j.org</organization>
<timezone>-6</timezone>
<roles>
<role>despot</role>
<role>developer</role>
</roles>
</developer>
<developer>
<id>alexvictoria</id>
<name>Alex Victoria</name>
<email>[email protected]</email>
<organization>perf4j.org</organization>
<timezone>-6</timezone>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Patrick Moore</name>
<url>http://www.sworddance.com/blog/</url>
</contributor>
<contributor>
<name>Nicholas Whitehead</name>
<url>https://helios.dev.java.net/</url>
</contributor>
<contributor>
<name>Xu Huisheng</name>
</contributor>
<contributor>
<name>Thomas Buckel</name>
</contributor>
</contributors>
<scm>
<url>http://github.com/perf4j/perf4j</url>
<connection>scm:git:git://github.com/perf4j/perf4j.git</connection>
<developerConnection>scm:git:git://github.com/perf4j/perf4j.git</developerConnection>
</scm>
<repositories>
<repository>
<id>Apache iBiblio Mirror</id>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository/</url>
</repository>
<repository>
<id>Maven2</id>
<url>http://repo1.maven.org/maven2/</url>
</repository>
<repository>
<id>Codehaus</id>
<url>http://repository.codehaus.org/</url>
</repository>
<repository>
<id>Apache Incubator</id>
<url>http://people.apache.org/repo/m2-incubating-repository/</url>
</repository>
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/2/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Codehaus</id>
<url>http://repository.codehaus.org/</url>
</pluginRepository>
<pluginRepository>
<id>Codehaus Mojo</id>
<url>http://repository.codehaus.org/org/codehaus/mojo/</url>
</pluginRepository>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
<pluginRepository>
<id>Maven2</id>
<url>http://repo1.maven.org/maven2/</url>
</pluginRepository>
<pluginRepository>
<id>maven snapshots</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
</pluginRepository>
</pluginRepositories>
<properties>
<!-- this property is used by the apt files in src/site/apt -->
<currentProductionVersion>0.9.16</currentProductionVersion>
<currentSnapshotVersion>0.9.17-SNAPSHOT</currentSnapshotVersion>
<git.executable>git</git.executable>
<aspectjVersion>1.6.11</aspectjVersion>
</properties>
<profiles>
<profile>
<id>Windows</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<git.executable>git.exe</git.executable>
</properties>
</profile>
<profile>
<id>ajc</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.4</version>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${aspectjVersion}</version>
</dependency>
</dependencies>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal> <!-- use this goal to weave all your main classes -->
<goal>test-compile</goal> <!-- use this goal to weave all your test classes -->
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- if you use the log4j implementation of perf4j, you must also include this dependency -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- if you use the commons logging code (in the commonslog package), you must also include this dependency -->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- if you use the slf4j logging code, you must also include this dependency -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.6</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- if you use logback as slf4j impl, you must also include this dependency -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>0.9.15</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- If you use the graphing servlets of perf4j, the servlet package should be provided by your container -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<!-- if you use the Aspect-J based AOP functionality, you must also include these following dependencies -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectjVersion}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectjVersion}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-jexl</groupId>
<artifactId>commons-jexl</artifactId>
<version>1.1</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!--
if you use EJB Interceptors, you DON'T need to include the following dependency as the required
classes shouldcome with your Java EE server
-->
<dependency>
<groupId>javax.ejb</groupId>
<artifactId>ejb-api</artifactId>
<version>3.0</version>
<scope>provided</scope>
</dependency>
<!-- if you use Spring to manage the AOP funcionality, you must also include these following dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.0.6</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.1_3</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- The following dependencies are required for testing only -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-mock</artifactId>
<version>2.0.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Tell Maven to compile for Java 1.5 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- need to use later version of release plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.1</version>
</plugin>
<!-- When deploying tell Maven not to create unique binaries for each snapshot -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<inherited>true</inherited>
<configuration>
<uniqueVersion>false</uniqueVersion>
</configuration>
</plugin>
<!-- Set up code coverage -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-1</version>
<inherited>true</inherited>
</plugin>
<!-- Genearate a javadoc jar when deploying -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.1</version>
<inherited>true</inherited>
<configuration>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
<link>http://logging.apache.org/log4j/1.2/apidocs</link>
<link>http://commons.apache.org/logging/apidocs</link>
<link>http://www.slf4j.org/api</link>
</links>
<charset>UTF-8</charset>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<!-- Generate a jar containing the source files when deploying -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<inherited>true</inherited>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<attach>true</attach>
</configuration>
</execution>
</executions>
</plugin>
<!-- Tell maven to generate a version.properties files from SVN -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>build-versions-file</id>
<phase>compile</phase>
<inherited>false</inherited>
<configuration>
<tasks>
<mkdir dir="${project.build.directory}" />
<exec executable="${git.executable}" output="${project.build.directory}/version.properties">
<arg value="log" />
<arg value="-1" />
<arg value="--pretty=perf4j.revision=%H" />
</exec>
<echo file="${project.build.directory}/version.properties" append="true">
perf4j.version=${project.version}
</echo>
<fixcrlf srcdir="${project.build.directory}" eol="lf" includes="version.properties" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!--
Tell the Maven jar plugin to generate multiple jars: one with all the files, then ones that JUST contain
the particular logging framework extensions (e.g. log4j, java.util.logging, commons logging or slf4j).
These separate log4j, javalog, commonslog and slf4j jars are needed when using the AspectJ compiler so
that only ONE TimingAspect is included.
Also, tell the jar plugin to make org.per4j.LogParser the main executable class.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<!--
The main jar includes all classes and generates a META-INF manifest file that species
LogParser as the jar's main class
-->
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<mainClass>org.perf4j.LogParser</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<!-- This jar includes only the log4j classes and NOT the other logging framework classes -->
<execution>
<id>log4jAspects</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>log4jonly</classifier>
<excludes>
<exclude>**/javalog/**</exclude>
<exclude>**/commonslog/**</exclude>
<exclude>**/slf4j/**</exclude>
<exclude>**/logback/**</exclude>
</excludes>
</configuration>
</execution>
<!-- This jar includes only the java.util.logging classes and NOT the other logging frameworks -->
<execution>
<id>javalogAspects</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javalogonly</classifier>
<excludes>
<exclude>**/log4j/**</exclude>
<exclude>**/commonslog/**</exclude>
<exclude>**/slf4j/**</exclude>
<exclude>**/logback/**</exclude>
</excludes>
</configuration>
</execution>
<!-- This jar includes only the commonslog classes and NOT the other logging framework classes -->
<execution>
<id>commonslogAspects</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>commonslogonly</classifier>
<excludes>
<exclude>**/log4j/**</exclude>
<exclude>**/javalog/**</exclude>
<exclude>**/slf4j/**</exclude>
<exclude>**/logback/**</exclude>
</excludes>
</configuration>
</execution>
<!-- This jar includes only the slf4j classes and NOT the other logging framework classes -->
<execution>
<id>slf4jAspects</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>slf4jonly</classifier>
<excludes>
<exclude>**/log4j/**</exclude>
<exclude>**/javalog/**</exclude>
<exclude>**/commonslog/**</exclude>
<exclude>**/logback/**</exclude>
</excludes>
</configuration>
</execution>
<!-- This jar includes the slf4j and logback classes and NOT the other logging framework classes -->
<execution>
<id>logbackAspects</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>logbackonly</classifier>
<excludes>
<exclude>**/log4j/**</exclude>
<exclude>**/javalog/**</exclude>
<exclude>**/commonslog/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- Tell surefire which tests to run, and to fork once when running, and set system properties. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.3</version>
<inherited>true</inherited>
<configuration>
<forkMode>once</forkMode>
<reportFormat>plain</reportFormat>
<trimStackTrace>false</trimStackTrace>
<includes>
<include>**/*Test.java</include>
</includes>
<argLine>-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectjVersion}/aspectjweaver-${aspectjVersion}.jar</argLine>
<systemProperties>
<property>
<name>log4j.debug</name>
<value>false</value>
</property>
</systemProperties>
</configuration>
</plugin>
<!-- For the the perf4j site generation, tack the site plugin to 3.0 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
</extensions>
</build>
<reporting>
<plugins>
<!-- Add the javadoc to the reporting section in the maven site -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<attach>true</attach>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
<link>http://logging.apache.org/log4j/1.2/apidocs</link>
<link>http://commons.apache.org/logging/apidocs</link>
<link>http://www.slf4j.org/api</link>
</links>
</configuration>
<inherited>true</inherited>
</plugin>
<!-- Add the code coverage reports to the site -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-1</version>
</plugin>
<!-- Add the test results to the site -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.9</version>
<configuration>
<argLine>-Xmx512m</argLine>
</configuration>
</plugin>
<!-- Create a javadoc-style source reference on the site -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<!-- <repository>
<id>codehaus.org</id>
<name>Perf4j Repository</name>
<url>dav:https://dav.codehaus.org/repository/perf4j/</url>
</repository>
<snapshotRepository>
<id>codehaus.org</id>
<uniqueVersion>false</uniqueVersion>
<name>Perf4j Snapshot Repository</name>
<url>dav:https://dav.codehaus.org/snapshots.repository/perf4j/</url>
</snapshotRepository>-->
<repository>
<id>apex-nexus</id>
<name>Apex Internal Nexus Server</name>
<url>http://172.16.8.250:8081/nexus/content/repositories/thirdparty</url>
</repository>
<site>
<id>codehaus.org</id>
<url>dav:https://dav.codehaus.org/perf4j/</url>
</site>
<downloadUrl>
http://repository.codehaus.org/org/perf4j/perf4j/
</downloadUrl>
</distributionManagement>
</project>