<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>generate-sources</id> <phase>generate-sources</phase> <configuration> <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>${basedir}/src/main/resources/CustomerOrders.wsdl</wsdl> <wsdlLocation>classpath:CustomerOrders.wsdl</wsdlLocation> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
I am trying to generate stubs from the WSDL file using Apache CXF-Codegen plugin. Error in execution tag while trying to update the maven.Tried enclosing the plugin in pluginManagement tag but no result whatsoever.
https://stackoverflow.com/questions/65802519/error-while-using-apache-cxf-codegen-plugin-in-pom-xml-how-to-resolve-this January 20, 2021 at 11:05AM
没有评论:
发表评论