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

maven plugin sourceRoot parameter does not match maven conventions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.1.3
    • 2.2
    • Tooling
    • None

    Description

      Maven Wsdl2Java Mojo defines sourceRoot default-value as ${project.build.directory}/generated/src/main/java

      This does not follow maven convention to use ${project.build.directory}/generated-sources/<plugin-name>
      (see for example http://mail-archives.apache.org/mod_mbox/maven-users/200712.mbox/<BABD22D888C2324882332D027F51BB9501FA1117@ATLANTIS-EVS.oz.hubbub.com.au>)

      A better default value would be ${project.build.directory}/generated-sources/cxf

      Please note changing this default requires no change for users as the compileSourceRoots will automagically be updated during project build.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            ndeloof nicolas de loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: