Maven 1.x Distribution Plugin

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
  • Component/s: None
  • 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

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

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