Revision 111:ad31a1303f10 pom.xml

View differences:

pom.xml
406 406
			<dependencies>
407 407
				<dependency>
408 408
					<groupId>org.hibernate</groupId>
409
					<artifactId>hibernate-c3p0</artifactId>
410
					<version>3.3.1.GA</version>
411
				</dependency>
412
			</dependencies>
413
			<build>
414
				<plugins>
415
					<plugin>
416
						<groupId>org.glassfish</groupId>
417
						<artifactId>maven-embedded-glassfish-plugin</artifactId>
418
						<configuration>
419
							<app>${project.build.directory}/${project.artifactId}-${project.version}.war</app>
420
						</configuration>
421
					</plugin>
422
				</plugins>
423
			</build>
424
		</profile>
425
		<profile>
426
			<id>env-maybank-dev-jndi</id>
427
			<activation>
428
				<property>
429
					<name>env</name>
430
					<value>maybank-dev-jndi</value>
431
				</property>
432
			</activation>
433
			<properties>
434
				<config.postfix>.maybank-dev-jndi</config.postfix>
435
			</properties>
436
			<dependencies>
437
				<dependency>
438
					<groupId>org.hibernate</groupId>
409 439
					<artifactId>hibernate-core</artifactId>
410 440
					<version>3.3.1.GA</version>
411 441
					<type>jar</type>
......
440 470
					</exclusions>
441 471
				</dependency>
442 472
			</dependencies>
443
			<build>
444
				<plugins>
445
					<plugin>
446
						<groupId>org.glassfish</groupId>
447
						<artifactId>maven-embedded-glassfish-plugin</artifactId>
448
						<configuration>
449
							<app>${project.build.directory}/${project.artifactId}-${project.version}.war</app>
450
						</configuration>
451
					</plugin>
452
				</plugins>
453
			</build>
454
		</profile>
455

  
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 473
		</profile>
494 474
		<profile>
495 475
			<id>env-maybank-prod</id>
......
539 519
					</exclusions>
540 520
				</dependency>
541 521
			</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>
522
			<dependencies>
523
				<dependency>
524
					<groupId>org.hibernate</groupId>
525
					<artifactId>hibernate-core</artifactId>
526
					<version>3.3.1.GA</version>
527
					<type>jar</type>
528
					<scope>compile</scope>
529
					<exclusions>
530
						<exclusion>
531
							<groupId>xml-apis</groupId>
532
							<artifactId>xml-apis</artifactId>
533
						</exclusion>
534
					</exclusions>
535
				</dependency>
536
				<dependency>
537
					<groupId>org.hibernate</groupId>
538
					<artifactId>hibernate-c3p0</artifactId>
539
					<version>3.3.1.GA</version>
540
				</dependency>
541
				<dependency>
542
					<groupId>axis</groupId>
543
					<artifactId>axis</artifactId>
544
					<version>1.4</version>
545
					<type>jar</type>
546
					<scope>compile</scope>
547
					<exclusions>
548
						<exclusion>
549
							<artifactId>axis-jaxrpc</artifactId>
550
							<groupId>org.apache.axis</groupId>
551
						</exclusion>
552
						<exclusion>
553
							<artifactId>axis-saaj</artifactId>
554
							<groupId>org.apache.axis</groupId>
555
						</exclusion>
556
					</exclusions>
557
				</dependency>
558
			</dependencies>
553 559
		</profile>
554

  
555

  
556

  
557

  
558

  
559 560
		<profile>
560 561
			<id>env-maybank-prod-jndi</id>
561 562
			<activation>
......
905 906
			</build>
906 907
		</profile>
907 908
	</profiles>
908

  
909

  
910

  
911 909
	<dependencies>
912 910
		<dependency>
913 911
			<groupId>junit</groupId>

Also available in: Unified diff