[ 
https://issues.apache.org/jira/browse/CXF-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754267#action_12754267
 ] 

Daniel Kulp commented on CXF-2275:
----------------------------------


Christian,

The place in remote-resouces is inthe downloadBundles call.  Specifically:
List list = mavenSession.getSortedProjects();
                    Iterator it = list.iterator();
                    while ( it.hasNext() )
                    {
                        MavenProject p = (MavenProject) it.next();
                        if ( s[0].equals( p.getGroupId() )
                            && s[1].equals( p.getArtifactId() ) 
                            && s[2].equals( p.getVersion() ) ) 
                        {
                            artifact = new File( 
p.getBuild().getOutputDirectory() );
                        }
                    }


Basically, it loops through the projects to find it and if found, sets the 
artifact.   In your case, you would need to loop through the artifacts attached 
to the project to find the "wsdl" instead of grabbing the outputDIrectory like 
above.


> 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
>             Fix For: 2.3
>
>
> 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.

Reply via email to