You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2019/07/25 20:20:57 UTC

[maven] branch MNG-6653 updated (0ba61c4 -> 5c82269)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch MNG-6653
in repository https://gitbox.apache.org/repos/asf/maven.git.


 discard 0ba61c4  toll
 discard 9f7b1d4  test
     new 5c82269  [MNG-6653] DefaultProjectBuildingRequest copy constructor does not copy all fields

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (0ba61c4)
            \
             N -- N -- N   refs/heads/MNG-6653 (5c82269)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


[maven] 01/01: [MNG-6653] DefaultProjectBuildingRequest copy constructor does not copy all fields

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MNG-6653
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 5c822694404c58bd0677cd8dc6ac1434eb9b50b3
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Thu Jul 25 22:05:09 2019 +0200

    [MNG-6653] DefaultProjectBuildingRequest copy constructor does not copy all fields
---
 .../java/org/apache/maven/project/DefaultProjectBuildingRequest.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
index 811f2b8..39ccf96 100644
--- a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
@@ -100,6 +100,8 @@ public class DefaultProjectBuildingRequest
         setProject( request.getProject() );
         setResolveDependencies( request.isResolveDependencies() );
         setValidationLevel( request.getValidationLevel() );
+        setResolveVersionRanges( request.isResolveVersionRanges() );
+        setRepositoryMerging( request.getRepositoryMerging() );
     }
 
     public MavenProject getProject()