Setting the a Property to what maven.compile.classpath Contains WITHOUT Ant
Posted
by Nicholas White
on Stack Overflow
See other posts from Stack Overflow
or by Nicholas White
Published on 2009-04-21T18:08:00Z
Indexed on
2010/05/12
20:34 UTC
Read the original article
Hit count: 270
Hi,
I'd like to set a property in my pom to a classpath containing all the project's dependencies. The ant plugin does something like this, so I know it's definitely possible.
I basically want to use ${maven.compile.classpath} wherever I like in my pom and have it 'just work'. I don't mind using plugins or anything else to achieve this.
Many thanks,
Nick
© Stack Overflow or respective owner