Maven 1.x Clean Plugin

maven clean doesn't clean the maven.build.dest directory

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

When doing a maven clean the maven.build.dest dir isn't cleaned.
This can cause a lot of errors:

  • When refactoring, the new and old files are both in the maven.build.dest.
  • When changing the resources the old resources are still in the maven.build.dest.
  • In some cases you get exceptions because some classes aren't recompilled when they should.
  • When having multiprojects like the maven plugins the building process is often broken because one of these errors.

Activity

Hide
Brett Porter added a comment -

is this because maven.build.dest is outside maven.build.dir?

Show
Brett Porter added a comment - is this because maven.build.dest is outside maven.build.dir?

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: