-
Notifications
You must be signed in to change notification settings - Fork 35
/
pom.xml
1000 lines (972 loc) · 33.3 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
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.phoenixctms.ctsms</groupId>
<artifactId>ctsms</artifactId>
<packaging>pom</packaging>
<version>1.8.1</version>
<name>Clinical Trial Site Management System</name>
<description>The Clinical Trial Site Management System Project.</description>
<scm>
<connection></connection>
<developerConnection></developerConnection>
<url></url>
</scm>
<organization>
<name></name>
<url></url>
</organization>
<ciManagement>
<system></system>
</ciManagement>
<developers>
<developer>
<id></id>
<name>Rene Krenn</name>
<email>[email protected]</email>
<organization></organization>
<roles>
<role>Developer</role>
</roles>
<timezone></timezone>
</developer>
</developers>
<repositories>
<!-- https://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-to-a-maven-project -->
<repository>
<id>local-maven-repo</id>
<url>file:///${project.basedir}/../repository</url>
</repository>
<!-- <repository>
<id>primefacerepo</id>
<name>PrimeFaces Repository</name>
<url>https://repository.primefaces.org/</url>
</repository> -->
<!-- <repository>
<id>springrepo</id>
<name>Spring Repository</name>
<url>https://repo.spring.io/plugins-release/</url>
</repository> -->
<!-- <repository>
<id>jcenter</id>
<name>jcenter</name>
<url>https://jcenter.bintray.com</url>
</repository> -->
<!-- <repository>
<id>maven-repo</id>
<name>repo1 maven.org</name>
<url>https://repo1.maven.org/maven2</url>
</repository> -->
<repository>
<id>terracotta-snapshots</id>
<name>Terracotta Repo</name>
<url>https://www.terracotta.org/download/reflector/releases</url>
</repository>
<repository>
<id>jbossrepo</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
<dependency>
<groupId>org.andromda</groupId>
<artifactId>andromda-core</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.andromda.translationlibraries</groupId>
<artifactId>andromda-ocl-translation-core</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.andromda.translationlibraries</groupId>
<artifactId>andromda-ocl-validation-library</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
<version>1.7.36</version>
</dependency>
<dependency>
<groupId>org.andromda</groupId>
<artifactId>andromda-utils</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.andromda</groupId>
<artifactId>andromda-core</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.andromda.translationlibraries</groupId>
<artifactId>andromda-ocl-query-library</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.andromda</groupId>
<artifactId>andromda-script-wrappers</artifactId>
<version>${andromda.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
<version>4.2.3.GA</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.5.6-Final</version>
</dependency>
<!-- Hibernate c3p0 connection pool -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-c3p0</artifactId>
<version>3.5.6-Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
<exclusions>
<exclusion>
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>2.4.8</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.13.0-GA</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- Uncomment out below if using JDBC or aop or spring test -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>3.3.0</version>
<scope>runtime</scope>
</dependency>
<!-- <dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>3.3.0</version>
<scope>runtime</scope>
</dependency> -->
<!-- <dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.7</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2.2</version>
<scope>runtime</scope>
</dependency> -->
<!-- Following is necessary for deployment on Payara to avoid version conflicts -->
<!-- <dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2.2</version>
<scope>runtime</scope>
</dependency> -->
<!-- <dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>3.3.1</version>
<scope>runtime</scope>
</dependency> -->
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
<scope>runtime</scope>
</dependency>
<!-- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency> -->
<!-- <dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency> -->
<dependency>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<version>1.2.19</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>3.0.0</version>
</dependency>
<!-- start mail support -->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
<!-- velocity -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.3.9</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<!-- <version>5.14.6</version> -->
<!-- <version>7.6.1</version> -->
<version>6.14.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<!-- <version>3.141.59</version> -->
<version>4.4.0</version>
<scope>test</scope>
</dependency>
<!-- <dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
<scope>test</scope>
</dependency> -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<!-- <version>3.141.59</version> -->
<version>4.4.0</version>
<scope>test</scope>
</dependency>
<!-- <dependency>
<groupId>com.github.stephenc.monte</groupId>
<artifactId>monte-screen-recorder</artifactId>
<version>0.7.7.0</version>
<scope>test</scope>
</dependency> -->
<dependency>
<groupId>net.sourceforge.jexcelapi</groupId>
<artifactId>jxl</artifactId>
<version>2.6.12</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.9.0</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>1.8.16</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.21</version>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>1.28.3</version>
</dependency>
<dependency>
<groupId>dk.brics.automaton</groupId>
<artifactId>automaton</artifactId>
<version>1.11-8</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<defaultGoal>install</defaultGoal>
<!-- To change from default src/main/java and src/test/java - doesn't work
for Cobertura> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>src-test</testSourceDirectory -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromda-maven-plugin</artifactId>
<version>${andromda.version}</version>
</plugin>
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromdapp-maven-plugin</artifactId>
<version>${andromda.version}</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<delimiters>
<delimiter>${*}</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.8</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<excludes>
<exclude>**/*.ref</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<!-- <groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<contextFile>${project.basedir}/src/main/resources/META-INF/context.xml</contextFile>
<additionalConfigFilesDir>${project.basedir}/src/main/resources</additionalConfigFilesDir>
</configuration> -->
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<url>http://localhost:8080/manager/text</url>
<server>TomcatServer</server>
<path>/ctsms-web</path>
</configuration>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<!-- <version>3.6.0.1398</version> -->
<version>3.8.0.2131</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sonar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<!-- <inherited>false</inherited> -->
<configuration>
<rules>
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
<requireJavaVersion>
<message>You need at least Java ${java.version}!</message>
<version>${java.version}</version>
</requireJavaVersion>
<requirePluginVersions>
<message>Best Practice is to always define plugin versions!</message>
<banSnapshots>false</banSnapshots>
<phases>clean,deploy,site</phases>
</requirePluginVersions>
<bannedDependencies>
<excludes>
<exclude>org.apache.logging.log4j:log4j-core:(,2.15.0)</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}</directory>
<includes>
<include>*.log</include>
<include>**/*.exc</include>
<include>**/*.bak</include>
</includes>
<excludes>
<!-- Allow mvn clean install > install.log -->
<exclude>build.log</exclude>
<exclude>install.log</exclude>
</excludes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<showDeprecation>false</showDeprecation>
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-Xlint:cast,unchecked,fallthrough,finally,serial</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<!-- Save the values used to generate this project from andromdapp ejb3Persistence=$ejb3Persistence
ear=$ear ejb=$ejb ejb3=$ejb3 transactionPersistenceType=spring jsr181Webservice=$jsr181Webservice
hibernate=$hibernate spring=true webservice=false web=true struts=$struts
jsf=true cxf=$cxf rest=$rest ear=$ear jbossSeam=$jbossSeam soapStack=$soapStack
embeddedJetty=false -->
<module>mda</module>
<module>common</module>
<module>core</module>
<module>web</module>
</modules>
<properties>
<!-- SonarCloud properties -->
<sonar.organization>phoenixctms</sonar.organization>
<sonar.projectKey>phoenixctms_ctsms</sonar.projectKey>
<sonar.projectBaseDir>.</sonar.projectBaseDir>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<!-- SonarQube apparently has a problem with .xml files -->
<sonar.exclusions> **/*.xml</sonar.exclusions>
<andromda.version>3.4</andromda.version>
<java.version>1.8</java.version>
<downloadSources>true</downloadSources>
<createChecksum>true</createChecksum>
<uniqueVersion>false</uniqueVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Change this to generate to the correct MDA database mappings, For
MySql use: MySQL For Hypersonic use: HypersonicSql For H2 use: H2 For Oracle9i
use: Oracle9i For DB2 use: DB2 For Informix use: InformixDB For MSSQL use:
MSSQL For Pointbase use: PointBase For Postgres use: PostgreSQL For Sybase
use: Sybase For SapDB use: SapDB For Derby use: Derby -->
<sql.mappings>
PostgreSQL
</sql.mappings>
<!-- Change this for the appropriate database For DB2 use: org.hibernate.dialect.DB2Dialect
or org.hibernate.dialect.DB2390Dialect org.hibernate.dialect.DB2400Dialect
For Derby use: org.hibernate.dialect.DerbyDialect For H2 use: org.hibernate.dialect.H2Dialect
For Hypersonic use: org.hibernate.dialect.HSQLDialect For Informix use: org.hibernate.dialect.InformixDialect
For MySql4 use: org.hibernate.dialect.MySQLDialect For MySql5+ use: org.hibernate.dialect.MySQL5Dialect
For MySql InnoDB use: org.hibernate.dialect.MySQL5InnoDBDialect For MySql
MyISAM use: org.hibernate.dialect.MySQLMyISAMDialect For MSSQL use: org.hibernate.dialect.SQLServerDialect
For Oracle any version use: org.hibernate.dialect.OracleDialect For Oracle8i
use: org.hibernate.dialect.Oracle8iDialect For Oracle9i use: org.hibernate.dialect.Oracle9iDialect
For Oracle10g or later use: org.hibernate.dialect.Oracle10gDialect For Pointbase
use: org.hibernate.dialect.PointbaseDialect For Postgres use: org.hibernate.dialect.PostgreSQLDialect
For Progress use: org.hibernate.dialect.ProgressDialect For SapDB use: org.hibernate.dialect.SAPDBDialect
For Sybase use: org.hibernate.dialect.SybaseDialect or org.hibernate.dialect.Sybase11Dialect
For Sybase Anywhere use: org.hibernate.dialect.SybaseAnywhereDialect -->
<hibernate.dialect>
org.phoenixctms.ctsms.PostgreSQLDialect
</hibernate.dialect>
<!--suppress UnresolvedMavenProperty -->
<tomcat.home>${env.CATALINA_HOME}</tomcat.home>
<application.id>ctsms</application.id>
<application.package>org.phoenixctms.ctsms</application.package>
<application.name>Phoenix Clinical Trial Management System</application.name>
<application.version>1.8.1</application.version>
<application.abbreviation>Phoenix CTMS</application.abbreviation>
<application.uuid>test</application.uuid>
<dataSource.name>jdbc/${application.id}</dataSource.name>
<dataSource>java:comp/env/${dataSource.name}</dataSource>
<spring.version>3.0.5.RELEASE</spring.version>
<!-- SCM user ID and Password here, or in user specific settings.xml file -->
<username></username>
<password></password>
<!-- https://stackoverflow.com/questions/51124987/change-the-maven-surefire-reportsdirectory-using-command-line -->
<surefireReportsDirectory/><!-- Empty means use the default value. -->
</properties>
<profiles>
<profile>
<id>local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<skipTests>
true
</skipTests>
<!-- Change driver path and jar for appropriate database For MySQL use:
mysql-connector-java-X-bin.jar For Hypersonic use: hsqldb.jar -->
<jdbc.driver.jar>
/path/to/postgres/lib/postgresql.jar
</jdbc.driver.jar>
<!-- Change driver for appropriate database For MySQL use: com.mysql.jdbc.Driver
For H2 use: org.h2.Driver For Hypersonic use: org.hsqldb.jdbcDriver For Oracle9i
use: oracle.jdbc.driver.OracleDriver For DB2 use: COM.ibm.db2.jdbc.app.DB2Driver
For Informix use: com.informix.jdbc.IfxDriver For MSSQL use: com.microsoft.jdbc.sqlserver.SQLServerDriver
For Pointbase use: com.pointbase.jdbc.jdbcUniversalDriver For Postgres use:
org.postgresql.Driver For Sybase use: com.sybase.jdbc2.jdbc.SybDataSource
For SapDB use: com.sap.dbtech.jdbc.DriverSapDB For Progress use: com.progress.sql.jdbc.JdbcProgressDriver
For Derby use: org.apache.derby.jdbc.EmbeddedDriver -->
<jdbc.driver>
org.postgresql.Driver
</jdbc.driver>
<!-- Change connection url for appropriate database For MySQL use: jdbc:mysql://localhost:3306/ctsms
For Hypersonic use: jdbc:hsqldb:hsql://127.0.0.1:1701 For Oracle9i use: jdbc:oracle:thin:@localhost:1521:yoursid
For DB2 use: jdbc:db2:ctsms For Informix use: jdbc:informix-sqli://localhost:1557/ctsms:INFORMIXSERVER=myserver
For MSSQL use: jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=ctsms
For Pointbase use: jdbc:pointbase:server://@pointbase.server@:@pointbase.port/pointbase.ctsms@,new
For Postgres use: jdbc:postgresql://localhost/ctsms For Sybase use: jdbc:sybase:Tds:localhost:5000/ctsms?JCONNECT_VERSION=6
For SapDB use: jdbc:sapdb://127.0.0.1/ctsms For Progress use: jdbc:JdbcProgress:T:localhost:3305:ctsms -->
<jdbc.url>
jdbc:postgresql://localhost/ctsms
</jdbc.url>
<!-- Enter id/password for the database connection -->
<jdbc.username>
ctsms
</jdbc.username>
<jdbc.password>
ctsms
</jdbc.password>
<!-- Change exception sorter class name for appropriate database For
MySQL use: org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter For
Hypersonic use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
For Oracle9i use: org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
For DB2 use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
For Informix use: org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter
For MSSQL use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
For Pointbase use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
For Postgres use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
For Sybase use: org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter
For SapDB use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
For Progress use: org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter -->
<jdbc.exception.sorter>
org.jboss.resource.adapter.jdbc.NullExceptionSorter
</jdbc.exception.sorter>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.andromda.maven.plugins</groupId>
<artifactId>andromdapp-maven-plugin</artifactId>
<version>${andromda.version}</version>
<!-- provides the injection of the script wrapper support into the
class files (this should only be done when developing locally), uncomment
this executions element to enable <executions> <execution> <id>instrument-scripts</id>
<goals> <goal>instrument-scripts</goal> </goals> </execution> </executions> -->
<configuration>
<scriptWrapper>org.andromda.scriptwrappers.GroovyScriptWrapper</scriptWrapper>
<locations>
<location>
<rootPath>${project.basedir}/src/main/java</rootPath>
<!-- adjust these to include or exclude specific files, by default
all files found in the rootPath are considered <includes> <include>relative/path/to/file/to/include/SomeClass.java</include>
</includes> <excludes> <exclude>relative/path/to/file/to/include/SomeClass.java</exclude>
</excludes> -->
</location>
</locations>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.8</version>
<configuration>
<skipTests>${skipTests}</skipTests>
<failIfNoTests>false</failIfNoTests>
<reportsDirectory>${surefireReportsDirectory}</reportsDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
<pluginRepositories>
<pluginRepository>
<id>maven-repo</id>
<name>repo1 maven.org</name>
<url>https://repo1.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<!-- Comment to disable project reporting using default maven plugins -->
<reporting>
<plugins>
<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.3.1</version>
<reportSets>
<reportSet>
<reports>
<report>cim</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>dependency-management</report>
<report>help</report>
<report>index </report>
<report>issue-tracking</report>
<report>license</report>
<report>mailing-list</report>
<report>modules</report>
<report>plugin-management</report>
<report>plugins</report>
<report>project-team</report>
<report>scm</report>
<report>summary</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<minmemory>128m</minmemory>
<maxmemory>1g</maxmemory>
<sourcepath>${project.basedir}/src/main/java;${project.basedir}/target/src/main/java</sourcepath>
<detectLinks />
<links>
<link>http://java.sun.com/javase/6/docs/api/</link>
<link>http://java.sun.com/j2ee/1.4/docs/api/</link>
<link>http://docs.jboss.org/hibernate/stable/core/api</link>
<link>http://static.springsource.org/spring/docs/3.0.x/javadoc-api</link>
<link>http://jakarta.apache.org/commons/collections/apidocs</link>
<link>http://jakarta.apache.org/commons/lang/apidocs</link>
<link>http://jakarta.apache.org/commons/logging/apidocs/</link>
<link>http://www.junit.org/junit/javadoc/</link>
<link>http://logging.apache.org/log4j/docs/api/</link>
</links>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.7.1</version>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<targetJdk>${java.version}</targetJdk>
<linkXRef>true</linkXRef>
<rulesets>
<ruleset>/rulesets/basic.xml</ruleset>
<ruleset>/rulesets/braces.xml</ruleset>
<ruleset>/rulesets/clone.xml</ruleset>
<ruleset>/rulesets/codesize.xml</ruleset>
<ruleset>/rulesets/controversial.xml</ruleset>
<ruleset>/rulesets/coupling.xml</ruleset>
<ruleset>/rulesets/design.xml</ruleset>
<ruleset>/rulesets/finalizers.xml</ruleset>
<ruleset>/rulesets/logging-java.xml</ruleset>
<ruleset>/rulesets/j2ee.xml</ruleset>
<ruleset>/rulesets/javabeans.xml</ruleset>
<ruleset>/rulesets/junit.xml</ruleset>
<ruleset>/rulesets/naming.xml</ruleset>
<ruleset>/rulesets/optimizations.xml</ruleset>
<ruleset>/rulesets/strictexception.xml</ruleset>
<ruleset>/rulesets/strings.xml</ruleset>
<ruleset>/rulesets/sunsecure.xml</ruleset>
<ruleset>/rulesets/typeresolution.xml</ruleset>
<ruleset>/rulesets/unusedcode.xml</ruleset>
</rulesets>
</configuration>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<configuration>
<configLocation>config/maven_checks.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
<plugin>
<artifactId>maven-changes-plugin</artifactId>
<version>2.3</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
<!-- Uncomment if using JIRA -->
<!--report>jira-report</report -->
</reports>
</reportSet>
</reportSets>
<configuration>
<columnNames>Key,Type,Summary,Assignee,Status,Resolution,Priority,Component</columnNames>
<sortColumnNames>Key</sortColumnNames>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>Todo Work</displayName>
<tags>
<tag>
<matchString>todo</matchString>
<matchType>ignoreCase</matchType>
</tag>
<tag>
<matchString>FIXME</matchString>
<matchType>exact</matchType>
</tag>
<tag>
<matchString>XXX</matchString>
<matchType>exact</matchType>
</tag>
<tag>
<matchString>@deprecated</matchString>
<matchType>exact</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
</configuration>
</plugin>
<!-- Compare APIs to a previous version, uncomment when a release version
exists -->
<!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId>
<version>2.3</version> <inherited>true</inherited> <configuration> <minSeverity>info</minSeverity>
</configuration> </plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
<version>2.0</version>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<xmlOutput>true</xmlOutput>
<effort>Default</effort>
<threshold>Normal</threshold>
<!--xmlOutputDirectory>directory location of findbugs xdoc xml report</xmlOutputDirectory>
<threshold>High|Normal|Low|Exp|Ignore</threshold> <effort>Min|Default|Max</effort>
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile> <includeFilterFile>findbugs-include.xml</includeFilterFile>
<visitors>FindDeadLocalStores,UnreadFields</visitors> <omitVisitors>FindDeadLocalStores,UnreadFields</omitVisitors>
<onlyAnalyze>org.codehaus.mojo.findbugs.*</onlyAnalyze> <pluginList>/libs/fb-contrib/fb-contrib-2.8.0.jar</pluginList>
<debug>true|false</debug> <relaxed>true|false</relaxed> <findbugsXmlOutput>true|false</findbugsXmlOutput>
<findbugsXmlOutputDirectory>location of legacy xml format report</findbugsXmlOutputDirectory -->
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>1.2</version>
<reportSets>
<reportSet>
<reports>
<report>dependency-updates-report</report>
<report>plugin-updates-report</report>
<report>property-updates-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>