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

"-suppress-generated-date" still generates timestamp

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.3.1
    • None
    • Tooling
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            coheigea Colm O hEigeartaigh
            Deviruchi Deviruchi

            Dates

              Created:
              Updated:

              Slack

                Issue deployment