Advertisement
gusto2

pom.xml cxf-codegen-plugin

Oct 5th, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.87 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <!--
  4. deleted bundle data because of privacy concerns
  5. -->
  6.     <build>
  7.         <plugins>
  8.             <plugin>
  9.                 <groupId>org.apache.cxf</groupId>
  10.                 <artifactId>cxf-codegen-plugin</artifactId>
  11.                 <version>${cxf.version}</version>
  12.                 <executions>
  13.                     <execution>
  14.                         <id>generate-sources</id>
  15.                         <phase>generate-sources</phase>
  16.                         <configuration>
  17.                             <defaultOptions>
  18.                                 <bindingFiles>
  19.                                     <bindingFile>${basedir}/src/main/resources/xsd/Binding.xjb</bindingFile>
  20.                                 </bindingFiles>
  21.                                 <noAddressBinding>true</noAddressBinding>
  22.                             </defaultOptions>                            
  23.                             <sourceRoot>${basedir}/target/generated-sources/cxf</sourceRoot>
  24.                             <wsdlOptions>
  25.                                 <wsdlOption>
  26.                                     <wsdl>${basedir}/src/main/resources/xsd/OrganizationService.wsdl</wsdl>
  27.                                     <extraargs>
  28.                                         <extraarg>-verbose</extraarg>
  29.                                         <extraarg>-xjc-b,src/main/resources/episodes/oslo.episode</extraarg>
  30.                                     </extraargs>
  31.                                 </wsdlOption>
  32.                             </wsdlOptions>        
  33.                             <extension>true</extension>
  34.                         </configuration>
  35.                         <goals>
  36.                             <goal>wsdl2java</goal>
  37.                         </goals>
  38.                     </execution>
  39.                 </executions>
  40.                 <dependencies></dependencies>
  41.             </plugin>
  42.             <plugin>
  43.                 <groupId>org.apache.felix</groupId>
  44.                 <artifactId>maven-bundle-plugin</artifactId>
  45.                 <version>2.3.7</version>
  46.                 <extensions>true</extensions>
  47.                 <configuration>
  48.                     <instructions>
  49.                         <Export-Package>
  50. <!-- deleted too -->
  51.                         </Export-Package>
  52.                         <Import-Package>
  53. <!-- deleted again -->                            
  54.                             *  
  55.                         </Import-Package>
  56.                     </instructions>
  57.                 </configuration>
  58.             </plugin>
  59.         </plugins>
  60.     </build>
  61.     <dependencies>
  62. <!-- and again -->
  63.     </dependencies>
  64. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement