You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "member sound (JIRA)" <ji...@apache.org> on 2018/07/30 09:59:00 UTC
[jira] [Created] (CXFXJC-28) Unrecognized parameter
-suppress-generated-date
member sound created CXFXJC-28:
----------------------------------
Summary: Unrecognized parameter -suppress-generated-date
Key: CXFXJC-28
URL: https://issues.apache.org/jira/browse/CXFXJC-28
Project: CXF XJC Utils
Issue Type: Bug
Components: Maven Plugin
Environment: Java 1.8
cxf 3.2.2
spring-boot 2.0.3
Reporter: member sound
Trying to use the new parameter " -suppress-generated-date" results in:
[ERROR] Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.2.2:xsdtojava (generate-sources) on project: unrecognized parameter -suppress-generated-date -> [Help 1]
{{ <plugin>}}
{{ <groupId>org.apache.cxf</groupId>}}
{{ <artifactId>cxf-xjc-plugin</artifactId>}}
{{ <version>3.2.2</version>}}
{{ <configuration>}}
{{ <extensions>}}
{{ <extension>org.apache.cxf.xjcplugins:cxf-xjc-ts:3.2.2</extension>}}
{{ <extension>org.jvnet.jaxb2_commons:jaxb2-basics:1.11.1</extension>}}
{{ </extensions>}}
{{ </configuration>}}
{{ <executions>}}
{{ <execution>}}
{{ <id>generate-sources</id>}}
{{ <phase>generate-sources</phase>}}
{{ <configuration>}}
{{ <sourceRoot>${project.build.directory}/generated-sources</sourceRoot>}}
{{ <xsdOptions>}}
{{ <xsdOption>}}
{{ <xsdDir>${project.basedir}/src/main/resources/xsd</xsdDir>}}
{{ <packagename>my.auto.generated</packagename>}}
{{ <extensionArgs>}}
{{ <extensionArg>-mark-generated</extensionArg>}}
{{ <extensionArg>-suppress-generated-date</extensionArg>}}
{{ <extensionArg>-Xts</extensionArg>}}
{{ </extensionArgs>}}
{{ </xsdOption>}}
{{ </xsdOptions>}}
{{ </configuration>}}
{{ <goals>}}
{{ <goal>xsdtojava</goal>}}
{{ </goals>}}
{{ </execution>}}
{{ </executions>}}
{{ </plugin>}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)