<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org /2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0  http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.example</groupId>
  <artifactId>ProfileProject</artifactId>
  <packaging>pom</packaging>
  <version>0.1-SNAPSHOT</version>
  <profiles>
    <profile>
      <id>default.val</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <default.profile.val>54</default.profile.val>
      </properties>
    </profile>
    <profile>
      <id>qual.val</id>
      <properties>
        <some.val>69</some.val>
      </properties>
    </profile>
  </profiles>
  <build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <executions>
        <execution>
          <id>Testing Active by Default Profiles</id>
          <phase>clean</phase>
          <goals>
            <goal>
              run
            </goal>
          </goals>
          <configuration>
            <tasks>
              <echo message="default profile val ${default.profile.val}" />
              <echo message="some val ${some.val}" />
            </tasks>
          </configuration>
        </execution>
      </executions>
    </plugin>
  </plugins>
  </build>
  <properties>
    <some.val>42</some.val>
  </properties>
</project>