[ https://issues.apache.org/jira/browse/CXF-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750364#action_12750364 ]
Christian Schneider commented on CXF-2275: ------------------------------------------ I have written a first implementation. It uses the wsdl path of wsdloption. If this path contains a colon then the path is treated as an artifact. The artifact is downloaded to the local repository and the wsdl path is replaced by the absolute path to the wsdl in the local repository. The rest of the processing can then proceed as before. What do you think about the concept? Is it a good idea to use the wsdl element or should I rather introduce a new wsdlArtifact element as proposed. <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <executions> <execution> <id>generate-sources</id> <phase>generate-sources</phase> <configuration> <sourceRoot>${project.build.directory}/generated/cxf</sourceRoot> <wsdlOptions> <wsdlOption> <wsdl>com.acme:my-wsdl:1.0:wsdl</wsdl> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> > Maven plugins: Support reading WSDLs from Maven repository > ---------------------------------------------------------- > > Key: CXF-2275 > URL: https://issues.apache.org/jira/browse/CXF-2275 > Project: CXF > Issue Type: New Feature > Components: Tooling > Affects Versions: 2.2.2 > Reporter: Trygve Laugstøl > Assignee: Christian Schneider > > The Maven plugins should support reading WSDL files directly from a Maven > repository to make it easier to consume WSDLs in a repository. Currently it > is required to use the dependency plugin or similar to copy the WSDL from the > repository to target/ to process it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.