fabric8io/fabric8 — pull request #2538 by hekonsek (2014-09-15 20:22:00+00:00)
Title: Fixed UnsupportedOperationException in ProjectDeployer

Hi,

As the `parentProfiles` reference is passed to the `addAll` method, we should wrap the `profile.getParentIds()` results into the mutable collection.

As default `profile.getParentIds()` result is immutable, `ProjectDeployerImpl` throws `UnsupportedOperationException` in `addAll()` when adding new profile via `mvn fabric8:deploy`.

Fixed by making `parentProfiles` mutable.

Cheers.