Maven 2 & 3

update plexus-utils to avoid leaking processes in CommandLineUtils.getSystemEnvars()

Details

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

Description

Not long ago, it was discovered that CommandLineUtils leaks processes in come circumstances (in older versions of plexus-utils) because it fails to read stderr. Later versions of plexus-utils (1.5.11 and above) have fixed this problem.

Interestingly, Hudson has had a persistent problem with leaking processes on the Windows slave VM out on https://grid.sonatype.org/ci/ - I'm pretty sure this will help alleviate those issues. We should move up to the latest version of plexus-utils to take advantage of this bugfix.

Activity

Hide
John Casey added a comment -

had to adjust some old imports that used interpolation classes from plexus-utils, since it seems that plexus-interpolation is no longer shaded into plexus-utils. This is no problem, as it really only served to highlight a latent problem in Maven's source. The code in plexus-utils has been a delegator pattern for some time now...

Show
John Casey added a comment - had to adjust some old imports that used interpolation classes from plexus-utils, since it seems that plexus-interpolation is no longer shaded into plexus-utils. This is no problem, as it really only served to highlight a latent problem in Maven's source. The code in plexus-utils has been a delegator pattern for some time now...
Hide
John Casey added a comment -

need to update plexus-interpolation as well to avoid process leaks there related to the envar value source.

Show
John Casey added a comment - need to update plexus-interpolation as well to avoid process leaks there related to the envar value source.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: