Revision 83:7924ebcf5539

View differences:

pom.xml
68 68
						<autoDelete>true</autoDelete>
69 69
						<port>9090</port>
70 70
						<contextRoot>${project.artifactId}</contextRoot>
71
						<autoDelete>yes</autoDelete>
72 71
					</configuration>
73 72
				</plugin>
74 73
			</plugins>
......
121 120
								<copy file="resources/log4j${config.postfix}.xml" tofile="${project.build.outputDirectory}/log4j.xml" />
122 121

  
123 122
								<delete>
124
									<fileset dir="${project.build.outputDirectory}"
125
										includes="log4j.*.xml" />
123
									<fileset dir="${project.build.outputDirectory}" includes="log4j.*.xml" />
126 124
								</delete>
127 125
							</target>
128 126
						</configuration>
......
191 189
			</properties>
192 190
			<build>
193 191
				<plugins>
194
					<!-- <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> 
195
						<configuration> <webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory> 
196
						<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> 
197
						</configuration> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> 
198
						<goals> <goal>run</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> 
199
						<daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> 
200
						<phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> 
201
						</executions> <dependencies> <dependency> <groupId>net.sourceforge.cobertura</groupId> 
202
						<artifactId>cobertura-runtime</artifactId> <version>${cobertura.version}</version> 
203
						<scope>compile</scope> <type>pom</type> </dependency> </dependencies> </plugin> -->
192
<!-- 
193
					<plugin>
194
						<groupId>org.mortbay.jetty</groupId>
195
						<artifactId>maven-jetty-plugin</artifactId>
196
						<configuration>
197
							<webAppSourceDirectory>${basedir}/WebContent</webAppSourceDirectory>
198
							<classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory>
199
						</configuration>
200
						<executions>
201
							<execution>
202
								<id>start-jetty</id>
203
								<phase>pre-integration-test</phase>
204
								<goals>
205
									<goal>run</goal>
206
								</goals>
207
								<configuration>
208
									<scanIntervalSeconds>0</scanIntervalSeconds>
209
									<daemon>true</daemon>
210
								</configuration>
211
							</execution>
212
							<execution>
213
								<id>stop-jetty</id>
214
								<phase>post-integration-test</phase>
215
								<goals>
216
									<goal>stop</goal>
217
								</goals>
218
							</execution>
219
						</executions>
220
						<dependencies>
221
							<dependency>
222
								<groupId>net.sourceforge.cobertura</groupId>
223
								<artifactId>cobertura-runtime</artifactId>
224
								<version>${cobertura.version}</version>
225
								<scope>compile</scope>
226
								<type>pom</type>
227
							</dependency>
228
						</dependencies>
229
					</plugin>
230
 -->
204 231
					<plugin>
205 232
						<groupId>org.glassfish</groupId>
206 233
						<artifactId>maven-embedded-glassfish-plugin</artifactId>
207 234
						<configuration>
208 235
							<app>${project.build.directory}/${project.artifactId}-${project.version}-${m2u-upass-classifier}.war</app>
236
							<!-- <app>${project.build.directory}/${project.artifactId}-${project.version}</app> -->
209 237
						</configuration>
210 238
						<executions>
211 239
							<execution>
......
222 250
									<goal>deploy</goal>
223 251
								</goals>
224 252
							</execution>
225
							<execution>
253
							<!--
254
							 <execution>
226 255
								<id>glassfish-undeploy</id>
227 256
								<phase>post-integration-test</phase>
228 257
								<goals>
......
236 265
									<goal>stop</goal>
237 266
								</goals>
238 267
							</execution>
268
							 -->
239 269
						</executions>
240 270
						<dependencies>
241 271
							<dependency>
......
274 304
										<projectProperty>invokerPassword=password</projectProperty>
275 305
									</projectProperties>
276 306
 -->
277
 								</configuration>
307
								</configuration>
278 308
							</execution>
279 309
							<execution>
280 310
								<id>MaybankFacadeTests</id>
......
476 506
									<target>
477 507
										<!-- <echo>Shutting down the Tomcat</echo> <exec dir="${tomcat.home}/bin" 
478 508
											executable="${tomcat.home}/bin/shutdown.sh" /> -->
479
										<copy
480
											file="${basedir}/target/${project.artifactId}-${project.version}.war"
481
											tofile="${tomcat.home}/webapps/${project.artifactId}.war"
509
										<copy file="${basedir}/target/${project.artifactId}-${project.version}.war" tofile="${tomcat.home}/webapps/${project.artifactId}.war"
482 510
											overwrite="true" />
483 511
										<!-- <echo>Starting up the Tomcat</echo> <exec dir="${tomcat.home}/bin" 
484 512
											executable="${tomcat.home}/bin/startup.sh" /> -->
......
650 678
										<mkdir dir="${project.build.directory}/wsdl" />
651 679
										<property name="compile_classpath" refid="maven.compile.classpath" />
652 680
										<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen" />
653
										<wsgen sei="my.com.upass.maybank.MaybankFacadeImpl"
654
											classpath="${compile_classpath}" genWsdl="true" encoding="UTF-8"
655
											keep="false" verbose="true" inlineSchemas="false"
656
											resourcedestdir="${project.build.directory}/wsdl" xendorsed="true" />
657
										<replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl"
658
											token="REPLACE_WITH_ACTUAL_URL" value="http://dummy.endpoint.url" />
681
										<wsgen sei="my.com.upass.maybank.MaybankFacadeImpl" classpath="${compile_classpath}" genWsdl="true"
682
											encoding="UTF-8" keep="false" verbose="true" inlineSchemas="false" resourcedestdir="${project.build.directory}/wsdl"
683
											xendorsed="true" />
684
										<replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl" token="REPLACE_WITH_ACTUAL_URL"
685
											value="http://dummy.endpoint.url" />
659 686
									</target>
660 687
								</configuration>
661 688
								<goals>

Also available in: Unified diff