From 8c9c23574493493f57337a1f3a21d2a42b493c32 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Fri, 8 May 2009 15:14:02 +0000 Subject: [PATCH] o Fixed profile handling git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773030 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/project/DefaultMavenProjectBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index 4cfe5af98d..e53c4486af 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -224,6 +224,7 @@ public class DefaultMavenProjectBuilder project.addCompileSourceRoot( build.getSourceDirectory() ); project.addTestCompileSourceRoot( build.getTestSourceDirectory() ); project.setFile( pomFile ); + project.setActiveProfiles( projectProfiles ); setBuildOutputDirectoryOnParent( project );