Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4484

CLONE -[wsdl2code] Incorrect target directory for generated sources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.1
    • None
    • Tools
    • None
    • Solaris 10, Maven2 2.0.4, JDK 1.5_06

    Description

      When generating sources from wsdl, even if the outputDirectory parameter is specified (non-default) in the pom.xml, while the plugin will use the value specified, it will insert a "src" directory after the specified outputDirectory value and before the project package. For example:

      outputDirectory=src/main/java // relative to pom.xml
      and
      package=org.sourceforge.xyz

      the generated classes will go in:
      src/main/java/src/org/sourceforge/xyz

      Is there a way to eliminate that, so generated sources are exactly in the same directories as project source files?

      Somewhat related, an ant build.xml file seems to be generated at the same time under src/main/java, is there an expectation that it will be used (given build with mvn2), if not, can its generation be suspended.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              turksheadsw Sam Wilson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: