Maven 1

Un-deprecate maven.src.dir

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-3
  • Fix Version/s: 1.1-rc1
  • Component/s: documentation
  • Labels:
    None
  • Number of attachments :
    0

Description

The current properties reference [1] falsely states that maven.src.dir is not used anymore, - it is still used in current ear, ejb, rar, war plugins (at least). I'd also like to use it to resolve MPDIST-29, are there any objections/remarks? We'd just have to update the documentation.

[1] http://maven.apache.org/maven-1.x/reference/properties.html#Build_Structure_Properties

Issue Links

Activity

Hide
Arnaud Heritier added a comment -

But what"s happen if sourceDirectory and maven.src.dir are defined together ???

Show
Arnaud Heritier added a comment - But what"s happen if sourceDirectory and maven.src.dir are defined together ???
Hide
Lukas Theussl added a comment -

sourceDirectory only indicates the java sources, while maven.src.dir contains 'everything', ie src, test,site, conf,...
Cleary, sourceDirectory should be a subdirectory of maven.src.dir, as long as that's the case, there should be no problem if they are defined together (they are already defined at the same time in the current maven version).

Show
Lukas Theussl added a comment - sourceDirectory only indicates the java sources, while maven.src.dir contains 'everything', ie src, test,site, conf,... Cleary, sourceDirectory should be a subdirectory of maven.src.dir, as long as that's the case, there should be no problem if they are defined together (they are already defined at the same time in the current maven version).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: