<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.cb.maven.plugins.exec</groupId>
  <artifactId>project14</artifactId>
  <version>0.1</version>
  <packaging>jar</packaging>
  <name>Maven Exec Plugin</name>
  <description>Test that one can force adding the test-classpath for the java mojo</description>

  <inceptionYear>2005</inceptionYear>
  <licenses>
    <license>
      <name>Apache License 2</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Jerome Lacoste</name>
      <id>jerome</id>
      <email>jerome@coffeebreaks.org</email>
      <organization>CoffeeBreaks</organization>
      <organizationUrl>http://www.coffeebreaks.org</organizationUrl>
      <roles>
        <role>Java Developer</role>
      </roles>
      <timezone>+1</timezone>
    </developer>
  </developers>

  <dependencies>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.1</version>
    </dependency>      
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.0.4</version>
    </dependency>  
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <!-- for manual tests. Can't be automated in the unit tests as the plugin's not installed. What about integration tests? -->
    <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>
          <classpathScope>test</classpathScope>
          <mainClass>org.codehaus.mojo.exec.test1.Test</mainClass>
          <arguments>
            <argument>target/output.txt</argument>
            <argument>arg1</argument>
            <argument>arg2</argument>
          </arguments>
        </configuration>
      </plugin>
    </plugins>
    <!--extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh-external</artifactId>
        <version>1.0-alpha-5-SNAPSHOT</version>
      </extension>
    </extensions-->
  </build>

</project>
