MavenProject p0 = r0.getMavenProject();
assertNull( p0.getProperties().getProperty( "embedderProfile" ) );
assertNull( p0.getProperties().getProperty( "name" ) );
assertNull( p0.getProperties().getProperty( "occupation" ) );
MavenExecutionRequest request = new DefaultMavenExecutionRequest()
<BUG>.setPomFile( new File( targetDirectory, "pom.xml" ).getAbsolutePath() )
.setGoals( Arrays.asList( new String[]{ "validate" } ) )</BUG>
.addActiveProfile( "embedderProfile" );
MavenExecutionResult r1 = maven.execute( request );
MavenProject p1 = r1.getMavenProject();

MavenProject p0 = r0.getMavenProject();
assertNull( p0.getProperties().getProperty( "embedderProfile" ) );
assertNull( p0.getProperties().getProperty( "name" ) );
assertNull( p0.getProperties().getProperty( "occupation" ) );
MavenExecutionRequest request = new DefaultMavenExecutionRequest()
.setPomFile( new File( targetDirectory, "pom.xml" ).getAbsolutePath() )
.setShowErrors( true )
.setGoals( Arrays.asList( new String[]{ "validate" } ) )
.addActiveProfile( "embedderProfile" );
MavenExecutionResult r1 = maven.execute( request );
MavenProject p1 = r1.getMavenProject();
