Generate classes with jaxb2-maven-plugin from WSDL

后端 未结 5 1944
不思量自难忘°
不思量自难忘° 2020-12-03 07:23

I am having trouble configuring the jaxb2-maven-plugin to generate Java classes from a WSDL and multiple XSD files that all exist in the same standard directory

5条回答
  •  不思量自难忘°
    2020-12-03 08:11

    You can use the follows code in the configuration:

                  
                        
                        com.example.demo.wsdl
                        
                        true
                        
                        false
                        
                        horarios.wsdl
                        
                        ${project.basedir}/src/main/resources
                        
                        ${project.basedir}/src/main/java
                        
                        false
                    
    

提交回复
热议问题