-
Notifications
You must be signed in to change notification settings - Fork 6
/
pom.xml
2545 lines (2355 loc) · 96.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"?>
<!--
Copyright 2005-2014 The Kuali Foundation
Licensed under the Educational Community License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.opensource.org/licenses/ecl2.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<parent>
<groupId>org.kuali.pom</groupId>
<artifactId>kuali-common</artifactId>
<version>4.2.0</version>
</parent>
<groupId>org.kuali.rice</groupId>
<artifactId>rice</artifactId>
<packaging>pom</packaging>
<name>Rice</name>
<inceptionYear>2005</inceptionYear>
<version>2.5.0-M5-SNAPSHOT</version>
<description>
The Kuali Rice effort provides an enterprise class middleware suite of integrated products that allows
both Kuali and non-Kuali applications
to be built in an agile fashion, such that developers will be able to
react to
end-user business requirements in an efficient and productive manner, so
that they can produce high
quality business
applications.
</description>
<url>http://${kuali.site.hostname}/rice/${project.version}</url>
<ciManagement>
<url>http://ci.rice.kuali.org</url>
</ciManagement>
<properties>
<tools.jar.path>${java.home}/../lib/tools.jar</tools.jar.path>
<!-- These properties modify the release process -->
<kuali.release.prepare.goals>clean</kuali.release.prepare.goals>
<kuali.release.goals>deploy</kuali.release.goals>
<kuali.release.arguments>-DskipTests</kuali.release.arguments>
<appserver.port>8080</appserver.port>
<gmaven.stubs.phase>generate-resources</gmaven.stubs.phase>
<gmaven.compile.phase>compile</gmaven.compile.phase>
<gmaven.test.compile.phase>test-compile</gmaven.test.compile.phase>
<checkstyle.suppressions.location>/org/kuali/rice/suppressions.xml</checkstyle.suppressions.location>
<oracle.jdbc.version>10.2.0.3.0</oracle.jdbc.version>
<oracle.jdbc.artifactId>ojdbc14</oracle.jdbc.artifactId>
<mysql.jdbc.version>5.1.24</mysql.jdbc.version>
<mysql.jdbc.artifactId>mysql-connector-java</mysql.jdbc.artifactId>
<jmeter.phase>verify</jmeter.phase>
<jmeter.goal>jmeter</jmeter.goal>
<jmeter.testFilesDirectory>${basedir}/src/test/resources/jmeter</jmeter.testFilesDirectory>
<jmeter.jMeterTestFile>**/*.jmx</jmeter.jMeterTestFile>
<jmeter.excludeJmeterTestFile>NOT_NULL</jmeter.excludeJmeterTestFile>
<!-- JMeter properties here will override JMeter User Defined Variable defaults. JMeter User Defined Variable defaults
for these properties are only defaulted to if run from the JMeter UI or command line script. -->
<jmeter.testResultsTimestamp>false</jmeter.testResultsTimestamp>
<jmeter.server>localhost</jmeter.server>
<jmeter.port>8080</jmeter.port>
<jmeter.threads>1</jmeter.threads>
<jmeter.loops>1</jmeter.loops>
<jmeter.rampseconds>1</jmeter.rampseconds>
<jmeter.userprefix>testuser</jmeter.userprefix>
<jmeter.counterconfigstart>1</jmeter.counterconfigstart>
<jmeter.counterconfigend>6</jmeter.counterconfigend>
<jmeter.counterconfigincr>1</jmeter.counterconfigincr>
<maven.skip.packaging>false</maven.skip.packaging>
<maven.failsafe.forkmode>once</maven.failsafe.forkmode>
<maven.failsafe.forkedProcessTimeoutInSeconds>7200</maven.failsafe.forkedProcessTimeoutInSeconds>
<maven.failsafe.useSystemClassLoader>true</maven.failsafe.useSystemClassLoader>
<maven.failsafe.skip>true</maven.failsafe.skip>
<maven.failsafe.includes>**/*Test.java</maven.failsafe.includes>
<maven.failsafe.includes.file />
<maven.failsafe.excludes>NOT_NULL</maven.failsafe.excludes>
<maven.failsafe.excludes.file />
<readme.date.format>MMMM d, yyyy</readme.date.format>
<!-- must provide an explicit pattern - surefire default does not work
b/c of non-unit test classes that are included in default expression -->
<maven.surefire.includes>**/*Test.java</maven.surefire.includes>
<maven.surefire.skip>false</maven.surefire.skip>
<!-- project dependencies -->
<ant.version>1.7.0</ant.version>
<antlr.version>2.7.7</antlr.version>
<aopalliance.version>1.0</aopalliance.version>
<asm.version>3.3.1</asm.version>
<bcprov.version>1.46</bcprov.version>
<cas-client-core.version>3.2.1</cas-client-core.version>
<cglib.version>2.2.2</cglib.version>
<aspectj.version>1.6.8</aspectj.version>
<bitronix.version>2.1.2</bitronix.version>
<commons-beanutils.version>1.8.3-kuali-4</commons-beanutils.version>
<commons-codec.version>1.6</commons-codec.version>
<commons-collections.version>3.2.1</commons-collections.version>
<commons-dbcp.version>1.4</commons-dbcp.version>
<commons-fileupload.version>1.3.1</commons-fileupload.version>
<commons-io.version>2.1</commons-io.version>
<commons-lang.version>2.6</commons-lang.version>
<commons-lang3.version>3.2.1</commons-lang3.version>
<commons-pool.version>1.5.7</commons-pool.version>
<commons-digester.version>2.0</commons-digester.version>
<commons-validator.version>1.3.1</commons-validator.version>
<cxf.version>2.7.0</cxf.version>
<jaxb-impl.version>2.2.6</jaxb-impl.version>
<!--
There appears to be a problem with the 2.2.5 version of jaxb-impl which cxf 2.7.0 depends on by default.
Get the following exception when attempting to run cxf-java2ws-plugin on services that use certain Enums:
java.lang.ClassCastException: com.sun.xml.bind.v2.model.impl.RuntimeEnumLeafInfoImpl cannot be cast to com.sun.xml.bind.v2.model.impl.ClassInfoImpl
One of the specific offenders here is WorkflowDocumentService and it's use of DocumentStatus enum.
Switching to the 2.1-based verson of jaxb-impl version 2.1.13 causes the problem to go away.
-->
<!-- Not used in RICE
<cxf-java2ws-plugin.jaxb-impl.version>2.1.13</cxf-java2ws-plugin.jaxb-impl.version>
-->
<displaytag.version>1.2</displaytag.version>
<dom4j.version>1.6.1</dom4j.version>
<dwr.version>3.0.RC2</dwr.version>
<ehcache.version>2.6.9</ehcache.version>
<filemonitor.version>1.0-kuali</filemonitor.version>
<freemarker.version>2.3.20-patch2</freemarker.version>
<plexus-utils.version>3.0.10</plexus-utils.version>
<lesscss.version>1.3.3</lesscss.version>
<yuicompressor.version>2.4.7</yuicompressor.version>
<closure.version>v20130603</closure.version>
<wro4j.version>1.7.0</wro4j.version>
<glassfish-javax-json.version>1.0.1</glassfish-javax-json.version>
<groovy.version>1.8.6</groovy.version>
<guava.version>13.0</guava.version>
<httpclient.version>4.3.3</httpclient.version>
<eclipselink.version>2.5.1</eclipselink.version>
<jpa.version>2.1.0</jpa.version>
<jackson.version>1.8.8</jackson.version>
<javassist.version>3.15.0-GA</javassist.version>
<javax.inject.version>1</javax.inject.version>
<jaxen.version>1.1.3</jaxen.version>
<jdom.version>1.1</jdom.version>
<jetty.version>8.1.15.v20140411</jetty.version>
<plugin.jmeter.version>1.8.1</plugin.jmeter.version>
<plugin.saucelabs.connect.version>1.0.19</plugin.saucelabs.connect.version>
<plugin.build-helper.version>1.8</plugin.build-helper.version>
<plugin.gmaven.version>1.5</plugin.gmaven.version>
<joda-time.version>2.3</joda-time.version>
<joda-time-jsptags.version>1.1.1</joda-time-jsptags.version>
<jotm.version>2.1.10-kuali-1</jotm.version>
<json-api.version>1.0</json-api.version>
<jsp-api.version>2.1</jsp-api.version>
<jsr311-api.version>1.1.1</jsr311-api.version>
<validation.version>1.0.0.GA</validation.version>
<!--
KULRICE-7262: Bad jstl version in maven repository
When we are able to bump this version from 1.2, go back to the javax.servlet artifact
-->
<jstl.version>1.2</jstl.version>
<jta.version>1.1</jta.version>
<junit.version>4.11</junit.version>
<kuali-mvn.version>1.0.2</kuali-mvn.version>
<log4j.version>1.2.16</log4j.version>
<mail.version>1.4.4</mail.version>
<mockito.version>1.9.5</mockito.version>
<persistence.version>1.0.1.Final</persistence.version>
<!-- Quartz 1.8.5 appears to cause strange errors in spring on startup,
Quartz 2.0.x is an impacting api and database-level change -->
<quartz.version>1.8.4</quartz.version>
<sauce.java.common.version>1.0.19</sauce.java.common.version>
<sauce.junit.version>1.0.19</sauce.junit.version>
<sauce.rest.version>1.0.11</sauce.rest.version>
<saucelabs.connect.version>3.1.32</saucelabs.connect.version>
<saucelabs.connect.excludes>NOT_NULL</saucelabs.connect.excludes>
<saucelabs.connect.includes>**/*SeAFT.java</saucelabs.connect.includes>
<saucelabs.connect.skip>true</saucelabs.connect.skip>
<saucelabs.connect.failsafe.timeout>0</saucelabs.connect.failsafe.timeout>
<saucelabs.user>SAUCELABS_USER</saucelabs.user>
<saucelabs.key>SAUCELABS_KEY</saucelabs.key>
<selenium-java.version>2.41.0</selenium-java.version>
<stests.excludes>NOT_NULL</stests.excludes>
<stests.excludes.file />
<stests.includes>**/*SeTest.java</stests.includes>
<stests.includes.file />
<stests.skip>true</stests.skip>
<stests.failsafe.timeout>0</stests.failsafe.timeout>
<xalan.version>2.7.1</xalan.version>
<serializer.version>2.7.1</serializer.version>
<servlet-api.version>3.0.1</servlet-api.version>
<slf4j.version>1.7.7</slf4j.version>
<soa.model.core.version>1.2.2</soa.model.core.version>
<spring-modules-ojb.version>0.8a</spring-modules-ojb.version>
<spring.version>4.0.5.RELEASE</spring.version>
<spring.security.version>3.2.4.RELEASE</spring.security.version>
<struts.version>1.3.10</struts.version>
<subethasmtp.version>3.1.6</subethasmtp.version>
<velocity.version>1.6.4</velocity.version>
<velocity.tools.version>2.0</velocity.tools.version>
<!-- Version 2.3.6 of cxf requires wss4j 1.5.11 or 1.5.12 and does not work with 1.6.0 -->
<wss4j.version>1.6.7</wss4j.version>
<xapool.version>1.5.0-patch4</xapool.version>
<!-- 2.11.0 is not in maven central repo https://issues.apache.org/jira/browse/XERCESJ-1454 -->
<xercesImpl.version>2.9.1</xercesImpl.version>
<xmlunit.version>1.3</xmlunit.version>
<xstream.version>1.2.2</xstream.version>
<reflections.version>0.9.9-RC1</reflections.version>
<!-- database drivers location -->
<jdbc.drivers.location>${settings.localRepository}</jdbc.drivers.location>
<mysql-connector-java.jar.location>
${jdbc.drivers.location}/mysql/${mysql.jdbc.artifactId}/${mysql.jdbc.version}/${mysql.jdbc.artifactId}-${mysql.jdbc.version}.jar
</mysql-connector-java.jar.location>
<ojdbc14.jar.location>
${jdbc.drivers.location}/com/oracle/${oracle.jdbc.artifactId}/${oracle.jdbc.version}/${oracle.jdbc.artifactId}-${oracle.jdbc.version}.jar
</ojdbc14.jar.location>
<cobertura.maven.plugin.version>2.5.1</cobertura.maven.plugin.version>
<web.launch.context.path>/kr-dev</web.launch.context.path>
<!-- Connect documentation generation to site generation -->
<rice.docbook.phase>pre-site</rice.docbook.phase>
<rice.docbook.phase.html>${rice.docbook.phase}</rice.docbook.phase.html>
<rice.docbook.phase.pdf>${rice.docbook.phase}</rice.docbook.phase.pdf>
<rice.docbook.phase.multi>${rice.docbook.phase}</rice.docbook.phase.multi>
<!-- Where the original documentation source is located -->
<rice.docbook.src>${basedir}/src/site/docbook</rice.docbook.src>
<!-- Where the filtered documentation source is located -->
<rice.docbook.filtered>${basedir}/target/docbook-filtered</rice.docbook.filtered>
<!-- The directory containing content that gets published to the website -->
<rice.site.dir>${basedir}/target/site</rice.site.dir>
<!-- Where the generated documentation (pdf, html) will be generated -->
<rice.docbook.dest>${rice.site.dir}/reference</rice.docbook.dest>
<docbook.date.format>MM-dd-yyyy</docbook.date.format>
<rice.previousVersion>1.0.3.3</rice.previousVersion>
<!-- phase for wsdl generation from jaxws annotated interfaces -->
<rice.java2ws.phase>process-classes</rice.java2ws.phase>
<enforcer.phase>validate</enforcer.phase>
<failsafe.phase>integration-test</failsafe.phase>
<!-- Directory wsdl's get generated into -->
<wsdl.dir>${project.build.directory}/wsdl</wsdl.dir>
<plugin.http.version>1.0.5</plugin.http.version>
<!-- Location's for Spring instrumentation related jar's -->
<spring.jar.base>${settings.localRepository}/org/springframework</spring.jar.base>
<spring-instrument.jar>${spring.jar.base}/spring-instrument/${spring.version}/spring-instrument-${spring.version}.jar</spring-instrument.jar>
<spring-instrument-tomcat.jar>${spring.jar.base}/spring-instrument-tomcat/${spring.version}/spring-instrument-tomcat-${spring.version}.jar</spring-instrument-tomcat.jar>
<spring.instrument.javaagent>
-javaagent:${spring-instrument.jar}
</spring.instrument.javaagent>
<!-- Pin the tomcat7 plugin to an explicit version -->
<plugin.tomcat7.version>2.1</plugin.tomcat7.version>
<plugin.selenium.version>2.3</plugin.selenium.version>
</properties>
<profiles>
<!-- Optimize the nightly build -->
<profile>
<id>nightly</id>
<properties>
<skipTests>true</skipTests>
<server.phase>none</server.phase>
<src.phase>none</src.phase>
<bin.phase>none</bin.phase>
<maven.javadoc.skip>true</maven.javadoc.skip>
<kuali.gpg.phase>none</kuali.gpg.phase>
</properties>
</profile>
<!-- Don't need to run the enforcer to validate scm information -->
<profile>
<id>scm</id>
<properties>
<enforcer.phase>none</enforcer.phase>
</properties>
</profile>
<!-- Profile for quickly creating basic Maven site -->
<profile>
<id>minsite</id>
<properties>
<rice.docbook.phase>none</rice.docbook.phase>
</properties>
</profile>
<!-- Profile for site generation. Assumes "mvn clean install" has been run -->
<profile>
<id>site</id>
<properties>
<gmaven.stubs.phase>none</gmaven.stubs.phase>
<gmaven.compile.phase>none</gmaven.compile.phase>
<gmaven.test.compile.phase>none</gmaven.test.compile.phase>
<skipTests>true</skipTests>
<enforcer.phase>none</enforcer.phase>
<failsafe.phase>none</failsafe.phase>
<rice.java2ws.phase>none</rice.java2ws.phase>
</properties>
</profile>
<!-- Setup the dependency tree needed by the deploy logic -->
<profile>
<id>jmeter</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>${plugin.jmeter.version}</version>
<executions>
<execution>
<id>jmeter-tests</id>
<phase>${jmeter.phase}</phase>
<goals>
<goal>${jmeter.goal}</goal>
</goals>
<configuration>
<testFilesDirectory>${jmeter.testFilesDirectory}</testFilesDirectory>
<testFilesIncluded>
<jMeterTestFile>${jmeter.jMeterTestFile}</jMeterTestFile>
</testFilesIncluded>
<testFilesExcluded>
<excludeJmeterTestFile>${jmeter.excludeJmeterTestFile}</excludeJmeterTestFile>
</testFilesExcluded>
<testResultsTimestamp>${jmeter.testResultsTimestamp}</testResultsTimestamp>
<propertiesUser>
<!-- server and port must be defined (and used) in the JMeter jmx file as User Defined Variables
${__P(server,localhost)}
${__P(port,80)}
See http://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables
http://jmeter.apache.org/usermanual/test_plan.html#using_variables
http://jmeter.apache.org/usermanual/functions.html#__P
http://jmeter.apache.org/usermanual/best-practices.html#parameterising_tests
-->
<server>${jmeter.server}</server>
<port>${jmeter.port}</port>
<threads>${jmeter.threads}</threads>
<loops>${jmeter.loops}</loops>
<rampseconds>${jmeter.rampseconds}</rampseconds>
<userprefix>${jmeter.userprefix}</userprefix>
<counterconfigstart>${jmeter.counterconfigstart}</counterconfigstart>
<counterconfigend>${jmeter.counterconfigend}</counterconfigend>
<counterconfigincr>${jmeter.counterconfigincr}</counterconfigincr>
</propertiesUser>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>kdo</id>
<properties>
<kdo.psc>org.kuali.rice.deploy.spring.DeployPSC</kdo.psc>
<kdo.class>org.kuali.rice.deploy.spring.DeployConfig</kdo.class>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>spring-maven-plugin</artifactId>
<executions>
<execution>
<id>load</id>
<phase>initialize</phase>
<goals>
<goal>load</goal>
</goals>
<configuration>
<removeExistingPropertySources>true</removeExistingPropertySources>
<propertySourcesConfig>${kdo.psc}</propertySourcesConfig>
<annotatedClasses>
<annotatedClass>${kdo.class}</annotatedClass>
</annotatedClasses>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-instrument-tomcat</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.rice</groupId>
<artifactId>rice-sql</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.rice</groupId>
<artifactId>rice-deploy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.common</groupId>
<artifactId>kuali-jdbc</artifactId>
<version>${kuali-jdbc.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.common</groupId>
<artifactId>kuali-util</artifactId>
<version>${kuali-util.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.common</groupId>
<artifactId>kuali-deploy</artifactId>
<version>${kuali-deploy.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>license</id>
<properties>
<kuali.testjar.phase>none</kuali.testjar.phase>
<gmaven.stubs.phase>none</gmaven.stubs.phase>
<gmaven.compile.phase>none</gmaven.compile.phase>
<gmaven.test.compile.phase>none</gmaven.test.compile.phase>
<maven.test.skip>true</maven.test.skip>
<enforcer.phase>none</enforcer.phase>
<failsafe.phase>none</failsafe.phase>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
<excludes>
<!-- Directory excludes -->
<exclude>db/impex/**</exclude>
<exclude>config/ide/**</exclude>
<exclude>**/.idea/**</exclude>
<exclude>src/site/docbook/**</exclude>
<exclude>rice-framework/krad-web/src/main/webapp/plugins/**</exclude>
<exclude>rice-framework/config/ide/**</exclude>
<exclude>rice-middleware/config/ide/**</exclude>
<exclude>rice-middleware/web/src/main/webapp/kr/scripts/jscalendar-1.0/**</exclude>
<!-- all IT tests license headers are skipped TODO don't skip IT java files -->
<exclude>rice-middleware/it/**</exclude>
<exclude>rice-framework/krad-it/**</exclude>
<!-- test generation files -->
<!-- rice-middleware/sampleapp/src/it/resources/Gen/*.ftl are used to generate java so ftl headers cause errors, update manually -->
<exclude>rice-middleware/sampleapp/src/it/resources/Gen/*.ftl</exclude>
<!-- rice-middleware/sampleapp/src/it/resources/XML/*.ftl are used to generate js or xml so ftl headers cause errors, update manually -->
<exclude>rice-middleware/sampleapp/src/it/resources/XML/*.ftl</exclude>
<!-- rice-framework/krad-sampleapp/web/src/test/resources/jmeter/KRAD-JMeter.ftl is used to generate jmx so ftl headers cause errors, update manually -->
<exclude>rice-framework/krad-sampleapp/web/src/test/resources/jmeter/KRAD-JMeter.ftl</exclude>
<!-- js plugin folders -->
<exclude>**/datatables/**</exclude>
<exclude>**/easyXDM/**</exclude>
<exclude>**/jscalendar-1.0/**</exclude>
<exclude>**/plugins/cookie/**</exclude>
<exclude>**/plugins/dirtyform/**</exclude>
<exclude>**/plugins/easing/**</exclude>
<exclude>**/plugins/easydrag/**</exclude>
<exclude>**/plugins/fancybox/**</exclude>
<exclude>**/plugins/globalize/**</exclude>
<exclude>**/plugins/jgrowl/**</exclude>
<exclude>**/plugins/jqform/**</exclude>
<exclude>**/plugins/jquery/**</exclude>
<exclude>**/plugins/jqueryUI/**</exclude>
<exclude>**/plugins/json/**</exclude>
<exclude>**/plugins/jstree/**</exclude>
<exclude>**/plugins/prettify/**</exclude>
<exclude>**/plugins/scrollto/**</exclude>
<exclude>**/plugins/tooltip/**</exclude>
<exclude>**/plugins/validate/**</exclude>
<exclude>**/plugins/watermark/**</exclude>
<!-- File excludes -->
<exclude>LICENSE.txt</exclude>
<exclude>scripts/bean-rename/beanReplacements.txt</exclude>
<exclude>scripts/bean-rename/cssReplacements.txt</exclude>
<exclude>scripts/krad-conversion/**/*.conversion.properties</exclude>
<exclude>scripts/krad-conversion/**/*.config.properties</exclude>
<exclude>**/jquery.*</exclude>
<exclude>**/kew/scripts/cal2.js</exclude>
<exclude>**/kew/scripts/cal_conf2.js</exclude>
<exclude>**/kew/scripts/prototype.js</exclude>
<exclude>**/smartspinner.*</exclude>
<!-- File type excludes -->
<exclude>**/*.pdf</exclude>
<exclude>**/*.swf</exclude>
<exclude>**/*.launch</exclude>
<exclude>**/.gitignore</exclude>
<exclude>**/rice.cer</exclude>
<exclude>**/rice.keystore</exclude>
<exclude>**/ricekeystore</exclude>
<exclude>**/*.template</exclude>
<exclude>**/*.psd</exclude>
<exclude>**/.springBeans</exclude>
<exclude>**/*.tag</exclude>
<exclude>**/Thumbs.db</exclude>
<exclude>**/README</exclude>
<exclude>**/*.readme</exclude>
<exclude>**/*.tmp</exclude>
<exclude>**/ChangeLog</exclude>
<exclude>**/org.apache.cxf.Logger</exclude>
<exclude>**/jquery*.js</exclude>
<exclude>**/*.developer</exclude>
<exclude>**/authorized_keys</exclude>
<exclude>**/*.txt</exclude>
<exclude>**/*.iml</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sauceconnect</id>
<properties>
<!-- Should these be maven.failsafes or saucelabs.connect -->
<maven.failsafe.skip>${saucelabs.connect.skip}</maven.failsafe.skip>
<maven.failsafe.includes>${saucelabs.connect.includes}</maven.failsafe.includes>
<!-- exclude krad/labs and krad/demo which only work against krad-sampleapp (env11) -->
<maven.failsafe.excludes>${saucelabs.connect.excludes}</maven.failsafe.excludes>
<maven.failsafe.forkedProcessTimeoutInSeconds>${saucelabs.connect.failsafe.timeout}</maven.failsafe.forkedProcessTimeoutInSeconds>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.saucelabs.maven.plugin</groupId>
<artifactId>sauce-connect-plugin</artifactId>
<version>${plugin.saucelabs.connect.version}</version>
<configuration>
<sauceUsername>${saucelabs.user}</sauceUsername>
<sauceAccessKey>${saucelabs.key}</sauceAccessKey>
</configuration>
<executions>
<!-- Start Sauce Connect prior to running the integration tests -->
<execution>
<id>start-sauceconnct</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start-sauceconnect</goal>
</goals>
</execution>
<!-- Stop the Sauce Connect process after the integration tests have finished -->
<execution>
<id>stop-sauceconnect</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop-sauceconnect</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${plugin.failsafe.version}</version>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.saucelabs</groupId>
<artifactId>sauce-connect</artifactId>
<version>${saucelabs.connect.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>stests</id>
<properties>
<maven.failsafe.skip>${stests.skip}</maven.failsafe.skip>
<maven.failsafe.includes>${stests.includes}</maven.failsafe.includes>
<maven.failsafe.includes.file>${stests.includes.file}</maven.failsafe.includes.file>
<maven.failsafe.excludes>${stests.excludes}</maven.failsafe.excludes>
<maven.failsafe.excludes.file>${stests.excludes.file}</maven.failsafe.excludes.file>
<maven.failsafe.forkedProcessTimeoutInSeconds>${stests.failsafe.timeout}</maven.failsafe.forkedProcessTimeoutInSeconds>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<executions>
<!--
<execution>
<id>xvfb</id>
<phase>pre-integration-test</phase>
<goals>
<goal>xvfb</goal>
</goals>
</execution>
-->
<execution>
<id>start-selenium-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start-server</goal>
</goals>
<configuration>
<background>true</background>
<logOutput>true</logOutput>
</configuration>
</execution>
<execution>
<id>stop-selenium-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop-server</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${plugin.failsafe.version}</version>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<testResources>
<!-- NOTE: Because Maven test runs can be spawned in a new JVM, the system
properties on the initial Maven command line are not necessarily propagated
to the spawned test run. This means we cannot automatically use System property
definitions to override configuration parameters. To work around this, we
have configured the test resources to be pre-filtered by maven prior to running,
which results in config parameter tokens being replaced by System property
definitions (because the ${token} syntax happens to be the same. So. If you
need to introduce a new configuration property that needs to be overridable
by Bamboo/CI, make sure to set the property in one of the below config files,
so that it can be pre-emptively replaced by Maven prior to kicking off the
test run. E.g. <param name="my.new.param">${my.new.param}</param> -->
<testResource>
<filtering>true</filtering>
<directory>${basedir}/src/test/resources/META-INF</directory>
<includes>
<include>${project.name}-test-config.xml</include>
<include>sample-app-test-config.xml</include>
</includes>
</testResource>
<testResource>
<directory>${basedir}/src/test/resources</directory>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>${plugin.tomcat7.version}</version>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.kuali.common</groupId>
<artifactId>kuali-cm</artifactId>
<version>${kuali-cm.version}</version>
</dependency>
<dependency>
<groupId>org.kuali.rice</groupId>
<artifactId>rice-checkstyle</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.14</version>
<configuration>
<sourceDirectory>${rice.docbook.filtered}/books</sourceDirectory>
<xincludeSupported>true</xincludeSupported>
</configuration>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.saucelabs.maven.plugin</groupId>
<artifactId>sauce-connect-plugin</artifactId>
<version>${plugin.saucelabs.connect.version}</version>
</plugin>
<!--
This plugin helps enforce that excluded dependencies stay excluded
and don't sneak back in through another dependency (a global ban). Here are
a few common situations this plugin helps with:
1) multiple implementations of a dependency - you only want to use one implementation
(ex: commons-logging vs jcl-over-slf4j, javax.mail vs geronimo-javamail_1.4_spec)
2) similar maven artifacts are produced for the same project - you only need to include one
(ex: cglib vs cglib-nodep)
3) an artifact's group id or artifact id has been renamed - maven considers these different
artifacts and you only want to include one
(ex: opensymphony:quartz vs org.opensymphony.quartz:quartz vs org.quartz-scheduler:quartz)
4) an artifact was added to the container and no longer is needed
(ex: jaxb in java 6)
This plugin also helps enforce consistent a consistent Java & Maven version are used. This helps the
stability of builds across systems.
This plugin also enforces that plugins specify a version number. Using meta version tags or not specifing a version
on a plugin is a decrecated feature as it leads to build instability.
Finally, the DependencyConvergence rule helps ensure that all of our submodules are resolving the same versions
of
artifacts by making sure that all deps converge. This managed at the dep management section which is critical.
-->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-banned-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>${enforcer.phase}</phase>
<configuration>
<rules>
<requireJavaVersion>
<version>1.7</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.0,4.0)</version>
</requireMavenVersion>
<!-- has problems with snapshots
<DependencyConvergence /> -->
<!-- Maven 3 Migration: This rule is not supported by Maven 3. See:
http://jira.codehaus.org/browse/MENFORCER-98 -->
<!-- <requirePluginVersions>
<message>Specifying a plugin w/o a version is a deprecated
feature b/c it can cause non-reproducible builds</message>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<banSnapshots>true</banSnapshots>
<phases>clean,deploy,site</phases>
</requirePluginVersions> -->
<bannedDependencies>
<excludes>
<!-- using the kuali version of ojb -->
<exclude>ojb</exclude>
<!-- using the kuali version of jotm-core -->
<exclude>org.ow2.jotm:jotm-core</exclude>
<!-- renamed (decrecated) groupids -->
<exclude>struts</exclude>
<exclude>wss4j</exclude>
<exclude>acegisecurity</exclude>
<exclude>xstream</exclude>
<exclude>uk.ltd.getahead</exclude>
<exclude>quartz</exclude>
<exclude>jdom</exclude>
<exclude>groovy</exclude>
<exclude>bouncycastle</exclude>
<exclude>org.opensymphony.quartz</exclude>
<exclude>opensymphony:quartz</exclude>
<exclude>javassist</exclude>
<exclude>org.jasig.cas</exclude>
<exclude>com.google.code.google-collections</exclude>
<exclude>com.google.collections</exclude>
<!-- jcl-over-slf4j is an alternate implementation of commons-logging - excluding commons-logging -->
<exclude>commons-logging</exclude>
<!-- already including a different jcl-over-slf4j -->
<exclude>org.slf4j:jcl104-over-slf4j</exclude>
<!-- excluding all slf4j -->
<exclude>org.slf4j</exclude>
<!-- already including cglib-nodep -->
<exclude>cglib:cglib</exclude>
<!-- already including the jdk16 version -->
<exclude>org.bouncycastle:bcprov-jdk14</exclude>
<!-- already including the jdk16 version -->
<exclude>org.bouncycastle:bcprov-jdk15</exclude>
<!-- excluding old jstl implementations which can cause hard-to-detect errors -->
<exclude>taglibs:standard</exclude>
<exclude>javax.servlet:jstl</exclude>
<!-- allowing (including) a specific version below -->
<!-- already including javax.mail -->
<exclude>javamail</exclude>
<exclude>geronimo:geronimo-mail</exclude>
<exclude>org.apache.geronimo.javamail:geronimo-javamail_1.4_mail</exclude>
<exclude>org.apache.geronimo.javamail:geronimo-javamail_1.3.1_mail</exclude>
<exclude>org.apache.geronimo.modules:geronimo-mail</exclude>
<exclude>org.apache.geronimo.specs:geronimo-javamail_1.4_spec</exclude>
<exclude>org.apache.geronimo.specs:geronimo-javamail_1.3.1_spec</exclude>
<!-- already including javax.transation -->
<exclude>org.apache.geronimo.specs:geronimo-jta_1.1_spec</exclude>
<exclude>org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec</exclude>
<exclude>geronimo-spec:geronimo-spec-jta</exclude>
<exclude>org.ow2.spec.ee:ow2-jta-1.1-spec</exclude>
<exclude>jta</exclude>
<!-- activation apis - in jdk 6 -->
<exclude>javax.activation</exclude>
<exclude>org.apache.geronimo.specs:geronimo-activation_1.0.2_spec</exclude>
<exclude>org.apache.geronimo.specs:geronimo-activation_1.1_spec</exclude>
<!-- metadata apis - in jdk 6 -->
<exclude>javax.jws</exclude>
<exclude>org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec</exclude>
<!-- These are repackaged parser apis - some of these apis are
included in jdk 6. The non-jdk parsers can be added indivually if needed. -->
<exclude>xerces:xmlParserAPIs</exclude>
<exclude>xml-apis</exclude>
<!-- group ids for many sun xml apis - in jdk 6 -->
<exclude>javax.xml</exclude>
<exclude>com.sun.xml</exclude>
<!-- jaxb apis - in jdk 6 -->
<exclude>javax.xml.bind</exclude>
<exclude>org.apache.geronimo.specs:geronimo-jaxb_2.1_spec</exclude>
<exclude>org.apache.geronimo.specs:geronimo-jaxb_2.2_spec</exclude>
<exclude>com.sun.xml.bind:jaxb-impl</exclude>
<!-- jaxws apis - in jdk 6 -->
<exclude>javax.xml.ws</exclude>
<exclude>com.sun.xml.ws</exclude>
<exclude>org.apache.geronimo.specs:geronimo-jaxws_2.1_spec</exclude>
<exclude>org.apache.geronimo.specs:geronimo-jaxws_2.2_spec</exclude>
<!-- stax apis - in jdk 6 -->
<exclude>javax.xml.stream</exclude>
<exclude>com.sun.xml.stream</exclude>
<exclude>org.apache.geronimo.specs:geronimo-stax-api_1.0_spec</exclude>
<exclude>org.apache.geronimo.specs:geronimo-stax-api_1.2_spec</exclude>
<exclude>stax</exclude>
<!-- jaxp apis - in jdk 6 -->
<exclude>javax.xml.parsers</exclude>
<exclude>com.sun.xml.parsers</exclude>
<exclude>org.apace.servicemix.specs:org.apache.servicemix.specs.jaxp-api-1.4
</exclude>
<exclude>
org.apache.servicemix.specs:org.apache.servicemix.specs.jaxp-api-1.3
</exclude>
<!-- saaj apis - in jdk 6 -->
<exclude>javax.xml.soap</exclude>
<exclude>javax.xml.soap:saaj-api</exclude>
<exclude>javax.xml.soap:saaj-impl</exclude>
<exclude>com.sun.xml.messaging.saaj</exclude>
<exclude>org.apache.geronimo.specs:geronimo-saaj_1.3_spec</exclude>
<exclude>geronimo-spec:geronimo-spec-saaj</exclude>
<exclude>org.apache.servicemix.specs:org.apache.servicemix.specs.saaj-api-1.3</exclude>
<!--
excluding standard release - we are using a patches kuali version
because of
http://bugs.sun.com/view_bug.do?bug_id=6528714
https://issues.apache.org/jira/browse/BEANUTILS-340
-->
<exclude>commons-beanutils:commons-beanutils</exclude>
<exclude>org.apache.commons:commons-beanutils</exclude>
<!-- exclude eh cache in general - only allow at a specific scope -->
<exclude>net.sf.ehcache</exclude>
<!--
KULRICE-7262: Bad jstl version in maven repository
When we go back to the javax.servlet artifact, we'll need to remove this
-->
<exclude>javax.servlet:jstl</exclude>
</excludes>
<includes>
<!-- only allow in this specific version -->
<!--
KULRICE-7262: Bad jstl version in maven repository
When we are able to bump this version, go back to the javax.servlet artifact
-->
<!-- <include>javax.servlet:jstl:${jstl.version}</include> -->
<include>org.glassfish.web:jstl-impl:${jstl.version}</include>
<include>org.slf4j:*:${slf4j.version}</include>
<include>net.sf.ehcache:*:${ehcache.version}:jar:runtime</include>
<include>com.sun.xml.bind:jaxb-impl:${jaxb-impl.version}</include>
</includes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- impl module is huge and requires at least 768m to compile -->
<fork>true</fork>
<meminitial>256</meminitial>
<maxmem>1024</maxmem>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>${plugin.gmaven.version}</version>
<configuration>
<providerSelection>1.8</providerSelection>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.gmaven.runtime</groupId>
<artifactId>gmaven-runtime-1.8</artifactId>
<version>${plugin.gmaven.version}</version>
<exclusions>
<exclusion>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>gmaven-generate-stubs</id>
<phase>${gmaven.stubs.phase}</phase>
<goals>
<goal>generateStubs</goal>
</goals>
</execution>
<execution>