You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Deviruchi (JIRA)" <ji...@apache.org> on 2019/04/06 14:29:00 UTC

[jira] [Created] (CXF-8012) "-suppress-generated-date" still generates timestamp

Deviruchi created CXF-8012:
------------------------------

             Summary: "-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


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
(v7.6.3#76005)