Is it possible to stop wsdl2java from generating xmlbeans? I believe that I have check every combination of true and false in the generate options, but still can't find a combination that stops the xmlbeans from being generated.
I'm working on a JEE application that basically exists of 8 maven modules. parent : pom, wrapper project schema : jar : xmlbeans projects data : jar : jpa objects and controllers --- depends on schema core : jar : code business code and helper classes --- depends on data --- depends on schema service : ejb : service code, use for transaction boundaries and dependency injection, all interfaces are currently xmlbean's --- depends on core --- depends on data --- depends on schema website : war : web interface into application --- depends on schema --- depends on service ejb-client webservice : aar : jar that creates a aar file for deployment into axis2 --- depends on schema --- depends on service ejb-client --- currently not as clean as I'ld like as wsdl uses imports using ../../../../schema/src/main/xsl/file.xsd app : ear : application --- depends directly on axis2 (webservice aar is deployed into here) --- depends directly on website --- depends directly on service The current configuration means that xmlbeans are compile twice, once inside the schema jar and again when the wsdl2java plugin executes. Any idea's how I can get xmlbeans to be generated once and when executing wsdl2java it just depends upon the already generate xmlbean jar as a dependency. John [code] <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <executions> <execution> <id>generate-sources-wsdl2code</id> <phase>generate-sources</phase> <goals> <goal>wsdl2code</goal> </goals> <configuration> <packageName>com.example</packageName> <wsdlFile>src/main/wsdl/example.wsdl</wsdlFile> <databindingName>xmlbeans</databindingName> <generateAllClasses>...</generateAllClasses> <generateServerSide>...</generateServerSide> <generateServerSideInterface>...</generateServerSideInterface> <generateServicesXml>...</generateServicesXml> <generateTestcase>...</generateTestcase> </configuration> </execution> </executions> </plugin> [code] --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org