<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>ca.utoronto</groupId>
  <artifactId>echo-app</artifactId>
  <packaging>pom</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>Maven Echo</name>
  <build>
      <plugins>
          <plugin>
              <artifactId>maven-antrun-plugin</artifactId>
              <executions>
                  <execution>
                      <id>echo-no-properties</id>
                      <phase>initialize</phase>
                      <configuration>
                          <tasks>
                              <ant inheritRefs="true" inheritAll="true">
                                  <target name="echo"/>
                              </ant>
                          </tasks>
                      </configuration>
                      <goals>
                          <goal>run</goal>
                      </goals>
                  </execution>
                  <execution>
                      <id>echo-with-properties</id>
                      <phase>initialize</phase>
                      <configuration>
                          <tasks>
                              <ant inheritRefs="true" inheritAll="true">
                                  <target name="echo"/>
                                  <property name="line.separator"
                                      value="${line.separator}"/>
                                  <property name="os.name"
                                      value="${os.name}"/>
                              </ant>
                          </tasks>
                      </configuration>
                      <goals>
                          <goal>run</goal>
                      </goals>
                  </execution>
              </executions>
          </plugin>
      </plugins>
  </build>
</project>

