cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-6324) cxf-codegen-plugin: classifier ignored when there are more then one client project with the same parent
Date Thu, 30 Mar 2017 19:00:49 GMT

     [ https://issues.apache.org/jira/browse/CXF-6324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp updated CXF-6324:
-----------------------------
    Component/s: Tooling

> cxf-codegen-plugin: classifier ignored when there are more then one client project with
the same parent
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6324
>                 URL: https://issues.apache.org/jira/browse/CXF-6324
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 3.0.4, 2.7.15
>            Reporter: Fabrizio Giovannetti
>
> Given this project structure:
> parent
> - client1
> - client2
> and
> client1 with this configuration
>   <plugin>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-codegen-plugin</artifactId>
>         <version>3.0.4</version>
>         <executions>
>           <execution>
>             <id>generate-sources</id>
>             <phase>generate-sources</phase>
>             <configuration>
>               <sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot>
>               <wsdlOptions>
>                 <wsdlOption>
>                    <wsdlArtifact>
>                     <groupId>com.company</groupId>
>                     <artifactId>company-services</artifactId>
>                     <version>1.0</version>
>                     <classifier>catService</classifier>
>                    </wsdlArtifact>
>                 </wsdlOption>
>               </wsdlOptions>
>               <defaultOptions>
>                 <faultSerialVersionUID>FQCN</faultSerialVersionUID>
>               </defaultOptions>
>             </configuration>
>             <goals>
>               <goal>wsdl2java</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> and client 2 with this configuration
> <plugin>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-codegen-plugin</artifactId>
>         <version>3.0.4</version>
>         <executions>
>           <execution>
>             <id>generate-sources</id>
>             <phase>generate-sources</phase>
>             <configuration>
>               <sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot>
>               <wsdlOptions>
>                 <wsdlOption>
>                    <wsdlArtifact>
>                     <groupId>com.company</groupId>
>                     <artifactId>company-services</artifactId>
>                     <version>1.0</version>
>                     <classifier>dogService</classifier>
>                    </wsdlArtifact>
>                 </wsdlOption>
>               </wsdlOptions>
>               <defaultOptions>
>                 <faultSerialVersionUID>FQCN</faultSerialVersionUID>
>               </defaultOptions>
>             </configuration>
>             <goals>
>               <goal>wsdl2java</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> When the the build is executed of the parent project
>  
> then:
> cxf-codegen-plugin in client1 fetch correctly the 
> com.company:company-services:1.0:catService from the repository to generate the artifacts
> BUT
> cxf-codegen-plugin in client2 fetch 
> com.company:company-services:1.0:catService
> instead of
> com.company:company-services:1.0:dogService
> In other words, the classifier of the second client project is ignored and the plugin
uses for that the classifier present in the configuration of the first client.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message