Revision 61:d98a1f2ddb58 pom.xml

View differences:

pom.xml
600 600
				</plugins>
601 601
			</build>
602 602
		</profile>
603
		<profile>
604
			<id>wstools</id>
605
			<build>
606
				<plugins>
607
					<plugin>
608
						<groupId>org.apache.maven.plugins</groupId>
609
						<artifactId>maven-antrun-plugin</artifactId>
610
						<executions>
611
							<execution>
612
								<phase>generate-resources</phase>
613
								<configuration>
614
									<target>
615
										<mkdir dir="${project.build.directory}/wsdl" />
616
										<property name="compile_classpath" refid="maven.compile.classpath" />
617
										<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen" />
618
										<wsgen sei="my.com.upass.maybank.MaybankFacadeImpl" classpath="${compile_classpath}" genWsdl="true"
619
											encoding="UTF-8" keep="false" verbose="true" inlineSchemas="false" resourcedestdir="${project.build.directory}/wsdl"
620
											xendorsed="true" />
621
										<replace file="${project.build.directory}/wsdl/MaybankFacade.wsdl" token="REPLACE_WITH_ACTUAL_URL"
622
											value="http://dummy.endpoint.url" />
623
									</target>
624
								</configuration>
625
								<goals>
626
									<goal>run</goal>
627
								</goals>
628
							</execution>
629
						</executions>
630
						<dependencies>
631
							<dependency>
632
								<groupId>com.sun.xml.ws</groupId>
633
								<artifactId>jaxws-tools</artifactId>
634
								<version>2.2.6</version>
635
							</dependency>
636
						</dependencies>
637
					</plugin>
638
				</plugins>
639
			</build>
640
		</profile>
603 641
	</profiles>
604 642
	<dependencies>
605 643
		<dependency>

Also available in: Unified diff