Configuring Specific Contexts and Suites

If you need to configure options for a specific context or suite or specify an execution order, simply include multiple test profiles. This configuration will cause the plugin to run and validate the tests in the first test profile, then the second test profile, etc. as follows:

<project>
   ...
   <build>
      <plugins>
         <plugin>
           <groupId>net.sf.baselinetest</groupId>
           <artifactId>baselinetest-maven-plugin</artifactId>
           <version>1.5.1</version>
           <configuration>
             <testProfiles>
               <testProfile>
                 <contexts>example</contexts>
                 <suites>*</suites>
                 <runMaxMemory>1024m</runMaxMemory>
                 <runVmParams>-ss128k -oss800k</runVmParams>
               </testProfile>
               <testProfile>
                 <contexts>EmptyContext,SampleBaselineTest</contexts>
                 <suites>*</suites>
               </testProfile>
            </testProfiles>
          </configuration>
          <executions>
            <execution>
              <goals>
                 <goal>test</goal>
              </goals>  
            </execution>
          </executions>
        </plugin>
      </plugins>
   </build>
</project>