Add additional path to exec-maven-plugin
Posted
by KornP
on Stack Overflow
See other posts from Stack Overflow
or by KornP
Published on 2010-04-06T20:11:55Z
Indexed on
2010/04/06
20:13 UTC
Read the original article
Hit count: 730
I would like to add an additional class path to the exec-maven-plugin.
Besides the %classpath, I would like to add an extra path to a directory containing resources (/Users/kornp/resources).
Currently, my pom looks like this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<configuration>
<executable>java</executable>
<classpathScope>runtime</classpathScope>
<arguments>
<argument>%classpath:/Users/kornp/resources</argument>
<argument>org.drrabbit.maventest.App</argument>
</arguments>
</configuration>
</plugin>
How should I configure this?
© Stack Overflow or respective owner