How to customize $(project.compileClasspathElement) like expression in Maven?
Posted
by zbdiablo
on Stack Overflow
See other posts from Stack Overflow
or by zbdiablo
Published on 2010-04-19T00:48:31Z
Indexed on
2010/04/19
0:53 UTC
Read the original article
Hit count: 261
When i try to run a maven plugin, i found that the default classpath defined in expression $(project.compileClasspathElement) is too long. So, i just want to customize a shorter classpath for this plugin. The default configuration is as follows:
<plugin>
<groupId>org.datanucleus</groupId>
<artifactId>maven-datanucleus-plugin</artifactId>
<version>2.0.1</version>
<configuration>
...<classpathElements>${project.compileClasspathElements}</classpathElements>
</configuration>
and the value of classpathElements should be a String List. May i solve this problem? and how? thx!
© Stack Overflow or respective owner