diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-07 09:13:21 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-07 09:13:21 +0000 |
commit | 6e0936c9442716c66407abf8d2520ee0f362be27 (patch) | |
tree | 9325b1a23463fdbac4674d60251294400169e442 /sandbox/travelsample | |
parent | 902736267fc94068f4f1a436090b2f0333681394 (diff) |
Generate Java code from all 3 WSDL files and eliminate test scope dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896808 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample')
-rw-r--r-- | sandbox/travelsample/contributions/payment-bpel/pom.xml | 57 |
1 files changed, 39 insertions, 18 deletions
diff --git a/sandbox/travelsample/contributions/payment-bpel/pom.xml b/sandbox/travelsample/contributions/payment-bpel/pom.xml index 9cf89110ca..9723a152dd 100644 --- a/sandbox/travelsample/contributions/payment-bpel/pom.xml +++ b/sandbox/travelsample/contributions/payment-bpel/pom.xml @@ -72,20 +72,6 @@ </dependency> <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>scatours-contribution-emailgateway</artifactId> - <version>${pom.version}</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.tuscany.sca</groupId> - <artifactId>scatours-contribution-creditcard-payment-jaxb</artifactId> - <version>${pom.version}</version> - <scope>test</scope> - </dependency> - - <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.5</version> @@ -128,17 +114,52 @@ </goals> <configuration> <packageName>com.tuscanyscatours.payment</packageName> - <wsdlDirectory>${basedir}/src/main/resources - </wsdlDirectory> + <wsdlDirectory>${basedir}/src/main/resources</wsdlDirectory> <wsdlFiles> <wsdlFile>Payment.wsdl</wsdlFile> </wsdlFiles> - <sourceDestDir>${project.build.directory}/jaxws-source - </sourceDestDir> + <sourceDestDir>${project.build.directory}/jaxws-source</sourceDestDir> + <staleFile>${project.build.directory}/jaxws-source/stale/payment.stale</staleFile> <verbose>false</verbose> <xnocompile>true</xnocompile> </configuration> </execution> + <execution> + <id>payment.creditcard</id> + <phase>process-sources</phase> + <goals> + <goal>wsimport</goal> + </goals> + <configuration> + <packageName>com.tuscanyscatours.payment.creditcard</packageName> + <wsdlDirectory>${basedir}/src/main/resources</wsdlDirectory> + <wsdlFiles> + <wsdlFile>CreditCardPayment.wsdl</wsdlFile> + </wsdlFiles> + <sourceDestDir>${project.build.directory}/jaxws-source</sourceDestDir> + <staleFile>${project.build.directory}/jaxws-source/stale/creditcard.stale</staleFile> + <verbose>false</verbose> + <xnocompile>true</xnocompile> + </configuration> + </execution> + <execution> + <id>emailgateway</id> + <phase>process-sources</phase> + <goals> + <goal>wsimport</goal> + </goals> + <configuration> + <packageName>com.tuscanyscatours.emailgateway</packageName> + <wsdlDirectory>${basedir}/src/main/resources</wsdlDirectory> + <wsdlFiles> + <wsdlFile>EmailGateway.wsdl</wsdlFile> + </wsdlFiles> + <sourceDestDir>${project.build.directory}/jaxws-source</sourceDestDir> + <staleFile>${project.build.directory}/jaxws-source/stale/emailgateway.stale</staleFile> + <verbose>false</verbose> + <xnocompile>true</xnocompile> + </configuration> + </execution> </executions> </plugin> <plugin> |