Maven 1.x Distribution Plugin
  1. Maven 1.x Distribution Plugin
  2. MPDIST-12

build-src goal use predefined src field, not sourceDirectory

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Labels:
      None
    • Environment:
      win2k SP4, java 1.4.2_04,
      maven 1.0-rc4
    • Number of attachments :
      0

      Description

      When I run maven dist:build-src I get product-src.zip containing only build.xml, LICENSE.txt, project.properties and project.xml.
      No files from sourceDirectory is taken.
      If I move all contents of my sourceDirectory (Source/java) to src in project root directory everything is OK.

      I suppose that maven is always taking default location (src) and do not change it with value from /project/build/sourceDirectory.

      PS. Other actions like compiling, jar, javadoc are working perfect, so it should not be a problem with my project.xml and mavem.xml.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Lukas Theussl
              Reporter:
              Marcin S.
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified