[ https://issues.apache.org/jira/browse/CXFXJC-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580855#comment-16580855 ]
Colm O hEigeartaigh commented on CXFXJC-28: ------------------------------------------- OK thanks - I can reproduce the error. I think that https://issues.apache.org/jira/browse/CXF-7719 needs to be fixed first. > 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 > Priority: Minor > > Trying to use the new parameter "-suppress-generated-date" results in: > {quote}[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] > {quote} > {code:java} > <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> > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)