[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Description: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.2.4 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error "Unexpected argument" with empty string. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: was: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep}
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Description: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.2.4 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error "Unexpected argument" with empty string. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: was: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.2.4 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep}
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Kieselhorst updated CXF-7751: Fix Version/s: 3.2.5 3.1.16 > Codegen plugin can't work with empty extraarg tag > - > > Key: CXF-7751 > URL: https://issues.apache.org/jira/browse/CXF-7751 > Project: CXF > Issue Type: Bug > Components: Build system >Affects Versions: 3.1.6, 3.2.4 >Reporter: Sergey Pushkin >Assignee: Daniel Kulp >Priority: Critical > Fix For: 3.1.16, 3.2.5 > > > > I use cxf codegen plugin and i have separate maven profile to generate code > by wsdl. My problem in extraarg tag. > i have soap connectors, that have pom where is configuration of codegen > plugin. When project runnnig with generate code by wsdl profile > ${wsdl.extraarg.keep} equal "-keep." And that good work. > When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize > and in codegen in extraarg put emty string " ". > {code:java} > > org.apache.cxf > cxf-codegen-plugin > 3.1.6 > > > generate-sources > generate-sources > > src/main/java > > > > ../wsdl//ReferenceDataService.wsdl > > > ${wsdl.extraarg.keep} > > > > UTF-8 > > > wsdl2java > > > > > {code} > In result i have error. > [ERROR] Failed to execute goal > org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on > project test-project: Execution generate-sources of goal > org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: > org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected > argument: > [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] > it's couse emppty is "The path and name of the WSDL file to use in generating > the code." > Okey. I cheat and use that: > {code:java} > > org.apache.cxf > cxf-codegen-plugin > 3.1.6 > > > generate-sources > generate-sources > > src/main/java > > > > ../wsdl//ReferenceDataService.wsdl > > > > ../wsdl//ReferenceDataService.wsdl > ${wsdl.extraarg.keep} > > > > UTF-8 > > > wsdl2java > > > > {code} > In result i have error "Unexpected argument" with empty string. > [ERROR] Failed to execute goal > org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on > project test-project: Execution generate-sources of goal > org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: > org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected > argument: -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Description: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error "Unexpected argument" with empty string. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: was: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep}
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Description: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: [file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl|file:///C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl] it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error for empty string arg. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: was: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Description: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.1.6:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: file:/C:/Projects/test/backend/soap-connectors/wsdl/ReferenceDataService.wsdl it's couse emppty is "The path and name of the WSDL file to use in generating the code." Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error for empty string arg. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: was: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error for empty string arg. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: > Codegen plugin can't work with empty extraarg tag > - > > Key: CXF-7751 > URL: https://issues.apache.org/jira/browse/CXF-7751 >
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Description: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. Okey. I cheat and use that: {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error for empty string arg. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: was: I use cxf codegen plugin and i have separate maven profile to generate code by wsdl. My problem in extraarg tag. i have soap connectors, that have pom where is configuration of codegen plugin. When project runnnig with generate code by wsdl profile ${wsdl.extraarg.keep} equal "-keep." And that good work. When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize and in codegen in extraarg put emty string " ". {code:java} org.apache.cxf cxf-codegen-plugin 3.1.6 generate-sources generate-sources src/main/java ../wsdl//ReferenceDataService.wsdl ${wsdl.extraarg.keep} UTF-8 wsdl2java {code} In result i have error. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on project test-project: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected argument: > Codegen plugin can't work with empty extraarg tag > - > > Key: CXF-7751 > URL: https://issues.apache.org/jira/browse/CXF-7751 > Project: CXF > Issue Type: Bug > Components: Build system >Affects Versions: 3.1.6, 3.2.4 >Reporter: Sergey Pushkin >Priority: Critical > > > I use cxf codegen plugin and i have separate maven profile to generate code > by wsdl. My problem in extraarg tag. > i have soap connectors, that have pom where is configuration of codegen > plugin. When project runnnig with generate code by wsdl profile > ${wsdl.extraarg.keep} equal "-keep." And that good work. > When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize > and in codegen in extraarg put emty string " ". > {code:java} > > org.apache.cxf > cxf-codegen-plugin > 3.1.6 > > > generate-sources > generate-sources > > src/main/java > > > > ../wsdl//ReferenceDataService.wsdl > > > ${wsdl.extraarg.keep} > > > >
[jira] [Updated] (CXF-7751) Codegen plugin can't work with empty extraarg tag
[ https://issues.apache.org/jira/browse/CXF-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Pushkin updated CXF-7751: Summary: Codegen plugin can't work with empty extraarg tag (was: Codegen plugin can't work with empty extraarg) > Codegen plugin can't work with empty extraarg tag > - > > Key: CXF-7751 > URL: https://issues.apache.org/jira/browse/CXF-7751 > Project: CXF > Issue Type: Bug > Components: Build system >Affects Versions: 3.1.6, 3.2.4 >Reporter: Sergey Pushkin >Priority: Critical > > > I use cxf codegen plugin and i have separate maven profile to generate code > by wsdl. My problem in extraarg tag. > i have soap connectors, that have pom where is configuration of codegen > plugin. When project runnnig with generate code by wsdl profile > ${wsdl.extraarg.keep} equal "-keep." And that good work. > When runnig another maven profile my ${wsdl.extraarg.keep} don't initialize > and in codegen in extraarg put emty string " ". > {code:java} > > org.apache.cxf > cxf-codegen-plugin > 3.1.6 > > > generate-sources > generate-sources > > src/main/java > > > > ../wsdl//ReferenceDataService.wsdl > > > ${wsdl.extraarg.keep} > > > > UTF-8 > > > wsdl2java > > > > > {code} > In result i have error. > [ERROR] Failed to execute goal > org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java (generate-sources) on > project test-project: Execution generate-sources of goal > org.apache.cxf:cxf-codegen-plugin:3.2.4:wsdl2java failed: > org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected > argument: > -- This message was sent by Atlassian JIRA (v7.6.3#76005)