Advertisement
Guest User

Ian

a guest
Dec 28th, 2009
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.54 KB | None | 0 0
  1. <?xml version="1.0"?><project>
  2. <plugin>
  3.     <groupId>org.apache.cxf</groupId>
  4.     <artifactId>cxf-codegen-plugin</artifactId>
  5.     <version>${cxf.version}</version>
  6.     <executions>
  7.         <execution>
  8.             <id>generate-sources</id>
  9.             <phase>generate-sources</phase>
  10.             <configuration>
  11.                 <sourceRoot>${basedir}/src/main/java</sourceRoot>
  12.                 <wsdlOptions>
  13.                     <wsdlOption>
  14.                         <wsdl>http://s3.amazonaws.com/ec2-downloads/ec2.wsdl</wsdl>
  15.                         <extraargs>
  16.                             <extraarg>-b</extraarg>
  17.                             <extraarg>${basedir}/src/main/wsdl/ec2binding.xml</extraarg>
  18.                             <extraarg>-autoNameResolution</extraarg>
  19.                         </extraargs>
  20.                     </wsdlOption>
  21.                 </wsdlOptions>
  22.             </configuration>
  23.             <goals>
  24.                 <goal>wsdl2java</goal>
  25.             </goals>
  26.         </execution>
  27.     </executions>
  28. </plugin>
  29.     </plugins>
  30.   </build>
  31.  
  32.  
  33.  
  34. <properties>
  35.   <cxf.version>2.2.5</cxf.version>
  36. </properties>
  37.  
  38.   <dependencies>
  39.     <dependency>
  40.         <groupId>org.apache.cxf</groupId>
  41.         <artifactId>cxf-rt-frontend-jaxws</artifactId>
  42.         <version>${cxf.version}</version>
  43.     </dependency>
  44.     <dependency>
  45.         <groupId>org.apache.cxf</groupId>
  46.         <artifactId>cxf-rt-transports-http</artifactId>
  47.         <version>${cxf.version}</version>
  48.     </dependency>
  49.     <dependency>
  50.       <groupId>org.apache.ws.security</groupId>
  51.       <artifactId>wss4j</artifactId>
  52.       <version>1.5.8</version>
  53.     </dependency>
  54.     <dependency>
  55.       <groupId>org.apache.cxf</groupId>
  56.       <artifactId>cxf-rt-ws-security</artifactId>
  57.       <version>2.2.5</version>
  58.     </dependency>
  59.   </dependencies>
  60.  
  61. </project>
  62.  
  63.  
  64.  
  65.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement