diff --git a/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java b/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java index 50e601e7e9..ecd0151823 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java +++ b/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java @@ -26,7 +26,7 @@ public class DependencyResolutionException extends Exception { - private DependencyResolutionResult result; + private final transient DependencyResolutionResult result; public DependencyResolutionException( DependencyResolutionResult result, String message, Throwable cause ) {