jax-ws-commons
  1. jax-ws-commons
  2. JAX_WS_COMMONS-82

jaxws maven plugin should fail build when encountering errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: maven-plugin
    • Labels:
      None

      Description

      The jaxws maven plugin currently does not fail the maven build when it encounters errors such as these:

      [WARNING] derivation-ok-restriction.5.4.2: Error for type '#AnonType_SaveKlant'. The particle of the type is not a valid restriction of the particle of the base.
      line 47 of file:/C:/Documents%20and%20Settings/gschuring/workspace/service-klant-origineel/src/main/resources/META-INF/wsdl/service-klant.wsdl#types?schema1

      My build fails some time later on compilation errors that are a result of the fact that the WSDL is not valid and doesn't produce the correct java artifacts. I would like to propose a configurable property that fails the maven build directly when errors are encountered while processing the WSDL.

        Activity

        Hide
        Lukas Jungmann added a comment -

        Are you sure that those compilation errors are exactly because of this issue? That is very unlikely...

        Can you share your pom+wsdl+xsd(s) because another possible reason for your issue can be that you're missing something on your cp or endorsed directory is not set. Also which JDK are you using?

        Thanks!

        Show
        Lukas Jungmann added a comment - Are you sure that those compilation errors are exactly because of this issue? That is very unlikely... Can you share your pom+wsdl+xsd(s) because another possible reason for your issue can be that you're missing something on your cp or endorsed directory is not set. Also which JDK are you using? Thanks!
        Hide
        Lukas Jungmann added a comment -

        incomplete for now

        Show
        Lukas Jungmann added a comment - incomplete for now
        Hide
        Lukas Jungmann added a comment -

        closing old and already fixed issues

        Show
        Lukas Jungmann added a comment - closing old and already fixed issues

          People

          • Assignee:
            Lukas Jungmann
            Reporter:
            Geert Schuring
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: