You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/27 13:07:58 UTC

[jira] [Commented] (CXF-7156) java2ws-plugin - add portName as configuration option

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

ASF GitHub Bot commented on CXF-7156:
-------------------------------------

GitHub user sdutry opened a pull request:

    https://github.com/apache/cxf/pull/208

    java2ws-plugin - added portName as configuration option

    #CXF-7156

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sdutry/cxf portname

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/208.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #208
    
----
commit a417012151abff953f922f10893a416779a21e43
Author: Stefaan Dutry <st...@gmail.com>
Date:   2016-11-27T12:47:19Z

    added portName configuration option to the Java2WSMojo to no longer have to use argline for the portname option

----


> java2ws-plugin - add portName as configuration option
> -----------------------------------------------------
>
>                 Key: CXF-7156
>                 URL: https://issues.apache.org/jira/browse/CXF-7156
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Stefaan Dutry
>            Priority: Trivial
>
> Using the {{java2ws-plugin}}, when you want to generate a WSDL, you currently need to use the {{argline}} option to specify a portname.
> It would be easier if this was a seperate configuration parameter
> {code:xml|title=current configuration}
>             <plugin>
>                 <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-java2ws-plugin</artifactId>
>                 <version>${cxf.version}</version>
>                 ...
>                 <executions>
>                     <execution>
>                         ...
>                         <configuration>
>                             ...
> 			    <argline>-portname MyPort</argline>
>                         </configuration>
>                         ...
>                     </execution>
>                 </executions>
>             </plugin>
> {code}
> {code:xml|title=desired configuration}
>             <plugin>
>                 <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-java2ws-plugin</artifactId>
>                 <version>${cxf.version}</version>
>                 ...
>                 <executions>
>                     <execution>
>                         ...
>                         <configuration>
>                             ...
>                             <portName>MyPort</portName>
>                         </configuration>
>                         ...
>                     </execution>
>                 </executions>
>             </plugin>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)