SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <plugin>
  2.     <groupId>org.apache.cxf</groupId>
  3.     <artifactId>cxf-codegen-plugin</artifactId>
  4.     <version>${cxf.version}</version>
  5.     <executions>
  6.         <execution>
  7.             <id>generate-sources</id>
  8.             <phase>generate-sources</phase>
  9.             <!--<phase>none</phase>-->
  10.      
  11. mvn org.apache.cxf:cxf-codegen-plugin:wsdl2java
  12.      
  13. <plugin>
  14.     <groupId>org.apache.cxf</groupId>
  15.     <artifactId>cxf-codegen-plugin</artifactId>
  16.     <version>${cxf.version}</version>
  17.     <configuration><!-- HERE YOUR CONFIG --></configuration>
  18. </plugin>
  19.      
  20. mvn generate-sources
  21.      
  22. <profiles>
  23.    <profile>
  24.       <id>generate-cxf</id>
  25.       <build>
  26.          <defaultGoal>generate-sources</defaultGoal>
  27.          <plugins>
  28.            <plugin>
  29.                 <groupId>org.apache.cxf</groupId>
  30.                 <artifactId>cxf-codegen-plugin</artifactId>
  31.                 <version>${cxf.version}</version>
  32.                 <executions><!-- HERE YOUR EXECUTIONS--></executions>
  33.             </plugin>
  34.          </plugins>
  35.       </build>
  36.      </profile>
  37. </profiles>
  38.      
  39. mvn generate-sources -Pgenerate-cxf
  40.      
  41. mvn -Pgenerate-cxf
  42.      
  43. mvn org.apache.cxf:cxf-codegen-plugin:VERSION_HERE:wsdl2java:@EXEC_ID_HERE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top