maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject maven git commit: [MNG-6130] Lost of profile information in workaround for MNG-4900
Date Mon, 15 May 2017 18:44:57 GMT
Repository: maven
Updated Branches:
  refs/heads/MNG-6130 [created] f22f43866


[MNG-6130] Lost of profile information in workaround for MNG-4900

Submitted-by: Boris Brodski <Brodsky_Boris@yahoo.com>


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/f22f4386
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/f22f4386
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/f22f4386

Branch: refs/heads/MNG-6130
Commit: f22f4386678045c64a5d995735e51cb9593cda45
Parents: f4ede96
Author: Michael Osipov <michaelo@apache.org>
Authored: Mon May 15 20:43:46 2017 +0200
Committer: Michael Osipov <michaelo@apache.org>
Committed: Mon May 15 20:43:46 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/maven/project/DefaultMavenProjectBuilder.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/f22f4386/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
----------------------------------------------------------------------
diff --git a/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
b/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
index 7bc5a5c..2060666 100644
--- a/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
+++ b/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
@@ -83,6 +83,7 @@ public class DefaultMavenProjectBuilder
         {
             request.setActiveProfileIds( profileManager.getExplicitlyActivatedIds() );
             request.setInactiveProfileIds( profileManager.getExplicitlyDeactivatedIds() );
+            request.setProfiles( req.getProfiles() )
         }
         else
         {


Mime
View raw message