<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>org.codehaus.mojo.exec.project2</groupId>
  <artifactId>project2</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>Maven Quick Start Archetype</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.9</version>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.1</version>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>exec-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>test</phase>
            <goals>
              <goal>java</goal>
            </goals>
           </execution>
        </executions>

        <configuration>
          <systemProperties>
            <systemProperty>
              <key>propkey</key>
              <value>propvalue</value>
            </systemProperty>
            <systemProperty>
              <key>com.sun.management.jmxremote</key>
            </systemProperty>
          </systemProperties>
          <mainClass>
            org.codehaus.mojo.exec.project2.App
          </mainClass>
          <arguments>
            <argument>argument1</argument>
            <argument>argument2</argument>
          </arguments>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
