-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
743 lines (740 loc) · 26.5 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
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
<?xml version="1.0" encoding="utf-8"?>
<!--
SpamSchutz - simple way to protect your mail addresses from naïve spammers
Copyright (C) 2011, Aiki IT
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<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>de.aikiit</groupId>
<artifactId>spamschutz</artifactId>
<packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>SpamSchutz - simple way to protect your mail addresses from naïve spammers</name>
<description>This spamschutz (=spam protector in German) can be launched as
an applet or a standalone application. It converts all given characters
to their ASCII representation, thus making it hard for regular
expressions to find mail addresses.
</description>
<url>https://github.com/ottlinger/spamschutz/</url>
<organization>
<name>Aiki IT</name>
<url>https://www.aiki-it.de</url>
</organization>
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
</license>
</licenses>
<issueManagement>
<system>GitHub issues</system>
<url>https://github.com/ottlinger/spamschutz/issues</url>
</issueManagement>
<distributionManagement>
<site>
<id>spamschutz-site</id>
<url>scp://localhost/www/docs/project/spamschutz</url>
</site>
</distributionManagement>
<scm>
<connection>scm:git:git://github.com/ottlinger/spamschutz.git</connection>
<developerConnection>scm:git:[email protected]:ottlinger/spamschutz.git</developerConnection>
<url>https://github.com/ottlinger/spamschutz</url>
</scm>
<properties>
<logger.version>3.0.0-beta2</logger.version>
<junit.version>4.13.2</junit.version>
<mockito.version>5.14.2</mockito.version>
<lombok.version>1.18.36</lombok.version>
<javadoc.version>3.11.2</javadoc.version>
<surefire.version>3.5.2</surefire.version>
<rat.version>0.16.1</rat.version>
<guava.version>33.4.0-jre</guava.version>
<encoding.utf8>UTF-8</encoding.utf8>
<shade.version>3.6.0</shade.version>
<project.reporting.outputEncoding>${encoding.utf8}</project.reporting.outputEncoding>
<project.build.sourceEncoding>${encoding.utf8}</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- http://logging.apache.org/log4j/2.x/manual/api.html -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${logger.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<version>${logger.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${logger.version}</version>
</dependency>
</dependencies>
<build>
<defaultGoal>clean versions:display-dependency-updates versions:display-plugin-updates install org.pitest:pitest-maven:mutationCoverage
</defaultGoal>
<extensions>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-git-commons</artifactId>
<!--version>1.9.4</version-->
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<!--version>2.10</version-->
</extension>
</extensions>
<!-- class that contains the buildnumber -->
<resources>
<!-- perform regular filtering without taking care of version stuff -->
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<excludes>
<exclude>filtered/*</exclude>
</excludes>
</resource>
</resources>
<pluginManagement>
<plugins>
<!-- Use ./mvnw apache-whisker:generate to generate a combined LICENSE under target locally -->
<!--plugin>
<groupId>org.apache.creadur.whisker</groupId>
<artifactId>apache-whisker-maven-plugin</artifactId>
<version>0.2-SNAPSHOT</version>
<executions>
<execution>
<id>generate-stuff</id>
<phase>package</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptor>spamschutz-whisker-descriptor.xml</descriptor>
</configuration>
</plugin-->
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.8.6.6</version>
<configuration>
<!--includeFilterFile>spotbugs-security-include.xml</includeFilterFile>
<excludeFilterFile>spotbugs-security-exclude.xml</excludeFilterFile-->
<plugins>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.13.0</version>
</plugin>
</plugins>
</configuration>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>9.0.1</version>
<executions>
<execution>
<id>get-the-git-infos</id>
<goals>
<goal>revision</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
<configuration>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties
</generateGitPropertiesFilename>
<includeOnlyProperties>
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
<includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
</includeOnlyProperties>
<commitIdGenerationMode>full</commitIdGenerationMode>
</configuration>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.17.3</version>
<configuration>
<timeoutConstant>8000</timeoutConstant>
<threads>8</threads>
<coverageThreshold>45</coverageThreshold>
<!--mutationThreshold>8</mutationThreshold-->
<failWhenNoMutations>false</failWhenNoMutations>
<verbose>true</verbose>
<targetClasses>
<param>de.aikiit.spamprotector*</param>
</targetClasses>
<targetTests>
<param>de.aikiit.spamprotector*</param>
</targetTests>
</configuration>
<executions>
<execution>
<id>mutationcoverage</id>
<goals>
<goal>mutationCoverage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>${rat.version}</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<ignoreErrors>false</ignoreErrors>
<useDefaultExcludes>true</useDefaultExcludes>
<useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
<useMavenDefaultExcludes>true</useMavenDefaultExcludes>
<useIdeaDefaultExcludes>true</useIdeaDefaultExcludes>
<addDefaultLicenseMatchers>true</addDefaultLicenseMatchers>
<excludes>
<exclude>.github/**</exclude>
<exclude>.travis.yml</exclude>
<exclude>LICENSE.txt</exclude>
<exclude>*.md</exclude>
<exclude>src/main/resources/**/*</exclude>
<exclude>src/test/resources/**/*</exclude>
<exclude>**/webpage/**/*</exclude>
<exclude>**/webpage/**</exclude>
<exclude>**/webpage/*</exclude>
<exclude>webpage/**</exclude>
<exclude>webpage/**/*</exclude>
<exclude>webpage/*</exclude>
<exclude>**/out*/**</exclude>
<exclude>**/site*/**</exclude>
<exclude>**/*.log</exclude>
<exclude>**/.checkstyle/**/*</exclude>
<exclude>**/.gitignore</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>de.aikiit.spamprotector.AntiSpamApplication</mainClass>
</manifest>
<manifestEntries>
<Codebase>*</Codebase>
<Permissions>sandbox</Permissions>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${shade.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>executable</shadedClassifierName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>de.aikiit.spamprotector.AntiSpamApplication</Main-Class>
<Build-Number>${project.version}</Build-Number>
<Codebase>*</Codebase>
<Permissions>sandbox</Permissions>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<excludedGroups>de.aikiit.spamprotector.UITest</excludedGroups>
<enableAssertions>true</enableAssertions>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<!--systemProperties>
<property>
<name>java.awt.headless</name>
<value>true</value>
</property>
</systemProperties-->
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
<!-- Build an executable JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<!-- Licence compliance for GPL, configuration is performed in reporting section -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<encoding>${encoding.utf8}</encoding>
<propertiesEncoding>${encoding.utf8}</propertiesEncoding>
</configuration>
<executions>
<execution>
<id>copy-sidebar-icon</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<resources>
<resource>
<directory>${basedir}/webpage/logo/</directory>
</resource>
</resources>
<outputDirectory>${basedir}/target/site/img/</outputDirectory>
</configuration>
</execution>
<!-- copy Version.java out of normal resource copying to avoid eclipse errors -->
<execution>
<id>copy-version-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/generated-sources/de/aikiit/spamprotector/util
</outputDirectory>
<resources>
<resource>
<directory>
${basedir}/src/main/resources/filtered
</directory>
<filtering>true</filtering>
<includes>
<include>Version.java</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<!-- add generated sources as source dir in eclipse itself -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>
${project.build.directory}/generated-sources/
</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<!-- hudson finds Version.java twice and fails with a duplicate class-error -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<filesets>
<fileset>
<directory>${basedir}/src/main/java/de/aikiit/spamprotector/util/</directory>
<includes>
<include>Version.java</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<encoding>${encoding.utf8}</encoding>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<!-- generate source and javadoc.jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>javadoc</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<source>8</source>
<encoding>${encoding.utf8}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.3</version>
<configuration>
<dateFormat>EEE MMM dd HH:mm:ss yyyy Z</dateFormat>
<outputEncoding>${encoding.utf8}</outputEncoding>
</configuration>
</plugin>
<!-- generate site with correct encoding -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M16</version>
<configuration>
<outputEncoding>${encoding.utf8}</outputEncoding>
<inputEncoding>${encoding.utf8}</inputEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<!-- 2011-03-26 generates build number for filtering, seems to fail with hg as SCM provider, see http://jira.codehaus.org/browse/MOJO-1436 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration/>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<!-- Licence compliance for GPL -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<configuration>
<encoding>${encoding.utf8}</encoding>
<source>8</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<aggregate>true</aggregate>
<linkJavadoc>true</linkJavadoc>
<encoding>${encoding.utf8}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.26.0</version>
<configuration>
<linkXRef>true</linkXRef>
<sourceEncoding>${encoding.utf8}</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.8</targetJdk>
<excludes>
<exclude>**/generated/**/*.java</exclude>
<exclude>**/target/clover/**/*.java</exclude>
</excludes>
</configuration>
</plugin>
<!-- jdepend plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
</plugin>
<!-- catch code tags -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<encoding>${encoding.utf8}</encoding>
<tags>
<tag>TODO</tag>
<tag>todo</tag>
<tag>FIXME</tag>
<tag>fixme</tag>
<tag>REFACTOR</tag>
<tag>refactor</tag>
<tag>REVIEW</tag>
<tag>review</tag>
<tag>@todo</tag>
<tag>@deprecated</tag>
</tags>
</configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.8.0</version>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>uitest</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
<configuration>
<groups>de.aikiit.spamprotector.UITest</groups>
<enableAssertions>true</enableAssertions>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<!--systemProperties>
<property>
<name>java.awt.headless</name>
<value>true</value>
</property>
</systemProperties-->
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
</plugins>
</build>
</profile>
<!-- Run mvn clean install -Plive-demo for a live demo of this tool -->
<profile>
<id>live-demo</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>de.aikiit.spamprotector.AntiSpamApplication</mainClass>
</configuration>
</execution>
</executions>
</plugin>
<!-- see http://jira.codehaus.org/browse/MNG-4672 - if sources are generated by default dependencies are not added to the JNLP -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<developers>
<developer>
<name>Hugo Hirsch</name>
<id>hirsch</id>
</developer>
</developers>
<!-- To be able to use the latest version/release candidate
<pluginRepositories>
<pluginRepository>
<id>staged-releases</id>
<url>https://repository.apache.org/content/repositories/orgapachecreadur-1005/</url>
</pluginRepository>
</pluginRepositories-->
</project>