Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8012

"-suppress-generated-date" still generates timestamp

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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:

          <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>
      

      and always getting in interface class:

      /**
       * 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 {
      ...
      }
      

      If there is any additional information, please let me know to collect.
      BR,
      Deviruchi

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              Deviruchi Deviruchi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: