[
https://issues.apache.org/jira/browse/CXF-8315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153854#comment-17153854
]
Freeman Yue Fang commented on CXF-8315:
---------------------------------------
Hi [~thebitmuncher],
You should put it in different lines, like
{code}
<extraargs>
<extraarg>-fe</extraarg>
<extraarg>cxf</extraarg>
</extraargs>
{code}
Btw, -fe means frontend in CXF, the valid options should be "JAXWS" or "SIMPLE"
IIRC, so shouldn't be cxf here.
Freeman
> cxf-codegen-plugin defaultOptions doesn't work with <extraargs>
> ---------------------------------------------------------------
>
> Key: CXF-8315
> URL: https://issues.apache.org/jira/browse/CXF-8315
> Project: CXF
> Issue Type: Bug
> Components: Build system
> Affects Versions: 3.3.7
> Reporter: thebitmuncher
> Assignee: Freeman Yue Fang
> Priority: Major
>
> When attempting to put the "-fe cxf" property into the
> defaultOptions/extraargs element, it adds the property mulitple times to the
> wsdl2java command. This causes a failure with the message:
> org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Duplicated
> option: frontend
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)