[
https://issues.apache.org/jira/browse/CXF-8012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855810#comment-17855810
]
Benjamin Marwell commented on CXF-8012:
---------------------------------------
I do not think this is still the case. Can you confirm?
> "-suppress-generated-date" still generates timestamp
> -----------------------------------------------------
>
> Key: CXF-8012
> URL: https://issues.apache.org/jira/browse/CXF-8012
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 3.3.1
> Reporter: Deviruchi
> Assignee: Colm O hEigeartaigh
> Priority: Minor
>
> I started to use *cxf-codegen-plugin* maven plugin for generation of java
> classes.
> Strange problem is that I got two maven modules in multi-module
> configuration, with exact same configuration for plugin, but always for one
> module its working fine - no timestamp, but for another I always get
> timestamp..
> my configuration looks like this:
> {code:java}
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-codegen-plugin</artifactId>
> <executions>
> <execution>
> <id>generate-sources</id>
> <phase>generate-sources</phase>
> <configuration>
> <defaultOptions>
>
> <bindingFiles>${basedir}/src/main/resources/wsdl/jaxb-bindings.xml</bindingFiles>
> </defaultOptions>
> <sourceRoot>${basedir}/generated/src/</sourceRoot>
> <wsdlOptions>
> <wsdlOption>
>
> <wsdl>${basedir}/src/main/resources/wsdl/VinOnline_1.wsdl</wsdl>
> <extraargs>
> <!--<extraarg>-impl</extraarg>-->
> <!--<extraarg>-client</extraarg>-->
> <extraarg>-verbose</extraarg>
> <extraarg>-suppress-generated-date</extraarg>
> </extraargs>
> </wsdlOption>
> </wsdlOptions>
> </configuration>
> <goals>
> <goal>wsdl2java</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> {code}
> and always getting in interface class:
> {code:java}
> /**
> * This class was generated by Apache CXF 3.3.1
> * 2019-04-06T15:40:37.215+02:00
> * Generated source version: 3.3.1
> *
> */
> @WebService(targetNamespace = "http://dummy.com/vinonline", name =
> "IVinOnlineService")
> @XmlSeeAlso({com.microsoft.schemas._2003._10.serialization.ObjectFactory.class,
> ObjectFactory.class})
> public interface IVinOnlineSkService {
> ...
> }
> {code}
> If there is any additional information, please let me know to collect.
> BR,
> Deviruchi
--
This message was sent by Atlassian Jira
(v8.20.10#820010)