Revision 110:479f2fec2270 pom.xml

View differences:

pom.xml
136 136
			</plugin>
137 137
		</plugins>
138 138
	</build>
139

  
140

  
141

  
142 139
	<profiles>
143 140
		<profile>
144 141
			<id>env-staging-ci</id>
......
151 148
			<properties>
152 149
				<config.postfix>.staging-ci</config.postfix>
153 150
			</properties>
151
			<dependencies>
152
				<dependency>
153
					<groupId>org.hibernate</groupId>
154
					<artifactId>hibernate-core</artifactId>
155
					<version>3.3.1.GA</version>
156
					<type>jar</type>
157
					<scope>compile</scope>
158
				</dependency>
159
				<dependency>
160
					<groupId>org.hibernate</groupId>
161
					<artifactId>hibernate-c3p0</artifactId>
162
					<version>3.3.1.GA</version>
163
				</dependency>
164
				<dependency>
165
					<groupId>axis</groupId>
166
					<artifactId>axis</artifactId>
167
					<version>1.4</version>
168
					<type>jar</type>
169
					<scope>compile</scope>
170
				</dependency>
171
			</dependencies>
154 172
			<build>
155 173
				<plugins>
156 174
<!-- 
......
292 310
					</plugin>
293 311
				</plugins>
294 312
			</build>
295
			<dependencies>
296
				<dependency>
297
					<groupId>axis</groupId>
298
					<artifactId>axis</artifactId>
299
					<version>1.4</version>
300
					<type>jar</type>
301
					<scope>compile</scope>
302
				</dependency>
303
			</dependencies>
304 313
		</profile>
305 314
		<profile>
306 315
			<id>env-ant</id>
......
319 328
								<phase>process-resources</phase>
320 329
								<configuration>
321 330
									<target>
331
										<delete file="${project.build.outputDirectory}/upassMin.properties" />
332
										<copy file="src/main/resources/upassMin${config.postfix}.properties" tofile="${project.build.outputDirectory}/upassMin.properties" />
333

  
334
										<delete>
335
											<fileset dir="${project.build.outputDirectory}" includes="upassMin.*.properties" />
336
										</delete>
337
										<delete file="${project.build.outputDirectory}/hibernate.cfg.xml" />
338
										<copy file="src/main/resources/hibernate${config.postfix}.cfg.xml" tofile="${project.build.outputDirectory}/hibernate.cfg.xml" />
339

  
340
										<delete>
341
											<fileset dir="${project.build.outputDirectory}" includes="hibernate.*.cfg.xml" />
342
										</delete>
343

  
344
										<delete file="${project.build.outputDirectory}/spring-ldap.xml" />
345
										<copy file="src/main/resources/spring-ldap.xml" tofile="${project.build.outputDirectory}/spring-ldap.xml" />
346
										<delete>
347
											<fileset dir="${project.build.outputDirectory}" includes="spring-ldap.*.xml" />
348
										</delete>
349

  
322 350
										<delete file="${project.build.outputDirectory}/log4j.xml" />
323 351
										<copy file="resources/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" />
324 352

  
......
349 377
			</properties>
350 378
			<dependencies>
351 379
				<dependency>
380
					<groupId>org.hibernate</groupId>
381
					<artifactId>hibernate-core</artifactId>
382
					<version>3.3.1.GA</version>
383
					<type>jar</type>
384
					<scope>compile</scope>
385
				</dependency>
386
				<dependency>
352 387
					<groupId>axis</groupId>
353 388
					<artifactId>axis</artifactId>
354 389
					<version>1.4</version>
......
370 405
			</properties>
371 406
			<dependencies>
372 407
				<dependency>
373
					<groupId>axis</groupId>
374
					<artifactId>axis</artifactId>
375
					<version>1.4</version>
408
					<groupId>org.hibernate</groupId>
409
					<artifactId>hibernate-core</artifactId>
410
					<version>3.3.1.GA</version>
376 411
					<type>jar</type>
377 412
					<scope>compile</scope>
378 413
					<exclusions>
379 414
						<exclusion>
380
							<artifactId>axis-jaxrpc</artifactId>
381
							<groupId>org.apache.axis</groupId>
382
						</exclusion>
383
						<exclusion>
384
							<artifactId>axis-saaj</artifactId>
385
							<groupId>org.apache.axis</groupId>
415
							<groupId>xml-apis</groupId>
416
							<artifactId>xml-apis</artifactId>
386 417
						</exclusion>
387 418
					</exclusions>
388 419
				</dependency>
389
			</dependencies>
390
			<build>
391
				<plugins>
392
					<plugin>
393
						<groupId>org.glassfish</groupId>
394
						<artifactId>maven-embedded-glassfish-plugin</artifactId>
395
						<configuration>
396
							<app>${project.build.directory}/${project.artifactId}-${project.version}.war</app>
397
						</configuration>
398
					</plugin>
399
				</plugins>
400
			</build>
401
		</profile>
402
		<profile>
403
			<id>env-maybank-prod</id>
404
			<activation>
405
				<property>
406
					<name>env</name>
407
					<value>maybank-prod</value>
408
				</property>
409
			</activation>
410
			<properties>
411
				<config.postfix>.maybank-prod</config.postfix>
412
			</properties>
413
			<dependencies>
420
				<dependency>
421
					<groupId>org.hibernate</groupId>
422
					<artifactId>hibernate-c3p0</artifactId>
423
					<version>3.3.1.GA</version>
424
				</dependency>
414 425
				<dependency>
415 426
					<groupId>axis</groupId>
416 427
					<artifactId>axis</artifactId>
......
443 454
		</profile>
444 455

  
445 456

  
457

  
458

  
459

  
460

  
461

  
462

  
463

  
464

  
465

  
466

  
467
		<profile>
468
			<id>env-maybank-dev-jndi</id>
469
			<activation>
470
				<property>
471
					<name>env</name>
472
					<value>maybank-dev-jndi</value>
473
				</property>
474
			</activation>
475
			<properties>
476
				<config.postfix>.maybank-dev-jndi</config.postfix>
477
			</properties>
478
			<dependencies>
479
				<dependency>
480
					<groupId>org.hibernate</groupId>
481
					<artifactId>hibernate-core</artifactId>
482
					<version>3.3.1.GA</version>
483
					<type>jar</type>
484
					<scope>compile</scope>
485
					<exclusions>
486
						<exclusion>
487
							<groupId>xml-apis</groupId>
488
							<artifactId>xml-apis</artifactId>
489
						</exclusion>
490
					</exclusions>
491
				</dependency>
492
			</dependencies>
493
		</profile>
494
		<profile>
495
			<id>env-maybank-prod</id>
496
			<activation>
497
				<property>
498
					<name>env</name>
499
					<value>maybank-prod</value>
500
				</property>
501
			</activation>
502
			<properties>
503
				<config.postfix>.maybank-prod</config.postfix>
504
			</properties>
505
			<dependencies>
506
				<dependency>
507
					<groupId>org.hibernate</groupId>
508
					<artifactId>hibernate-core</artifactId>
509
					<version>3.3.1.GA</version>
510
					<type>jar</type>
511
					<scope>compile</scope>
512
					<exclusions>
513
						<exclusion>
514
							<groupId>xml-apis</groupId>
515
							<artifactId>xml-apis</artifactId>
516
						</exclusion>
517
					</exclusions>
518
				</dependency>
519
				<dependency>
520
					<groupId>org.hibernate</groupId>
521
					<artifactId>hibernate-c3p0</artifactId>
522
					<version>3.3.1.GA</version>
523
				</dependency>
524
				<dependency>
525
					<groupId>axis</groupId>
526
					<artifactId>axis</artifactId>
527
					<version>1.4</version>
528
					<type>jar</type>
529
					<scope>compile</scope>
530
					<exclusions>
531
						<exclusion>
532
							<artifactId>axis-jaxrpc</artifactId>
533
							<groupId>org.apache.axis</groupId>
534
						</exclusion>
535
						<exclusion>
536
							<artifactId>axis-saaj</artifactId>
537
							<groupId>org.apache.axis</groupId>
538
						</exclusion>
539
					</exclusions>
540
				</dependency>
541
			</dependencies>
542
			<build>
543
				<plugins>
544
					<plugin>
545
						<groupId>org.glassfish</groupId>
546
						<artifactId>maven-embedded-glassfish-plugin</artifactId>
547
						<configuration>
548
							<app>${project.build.directory}/${project.artifactId}-${project.version}.war</app>
549
						</configuration>
550
					</plugin>
551
				</plugins>
552
			</build>
553
		</profile>
554

  
555

  
556

  
557

  
558

  
559
		<profile>
560
			<id>env-maybank-prod-jndi</id>
561
			<activation>
562
				<property>
563
					<name>env</name>
564
					<value>maybank-prod-jndi</value>
565
				</property>
566
			</activation>
567
			<properties>
568
				<config.postfix>.maybank-prod-jndi</config.postfix>
569
			</properties>
570
			<dependencies>
571
				<dependency>
572
					<groupId>org.hibernate</groupId>
573
					<artifactId>hibernate-core</artifactId>
574
					<version>3.3.1.GA</version>
575
					<type>jar</type>
576
					<scope>compile</scope>
577
					<exclusions>
578
						<exclusion>
579
							<groupId>xml-apis</groupId>
580
							<artifactId>xml-apis</artifactId>
581
						</exclusion>
582
					</exclusions>
583
				</dependency>
584
			</dependencies>
585
		</profile>
446 586
		<profile>
447 587
			<id>cobertura-instrument</id>
448 588
			<activation>

Also available in: Unified diff