Bryan Loofbourrow wrote:
Sorry if this is an elementary question, I am learning about Maven (2),
but I've certainly tried to do my homework.

I have a need to add a directory to the classpath that's visible to a
plugin I'm writing, and I don't see how to do it. All I see is stuff
that seems to assume:

- Maven controls the classpath, which it constructs from artifacts on
which you depend.
- You can make your own artifact types, and specify that they be added
to the classpath
- It appears that an artifact is assumed to be a file.
- That's the only way to get something onto the classpath.
You could add it as a resource, but you may not want it to end in the jar archive, see
http://www.nabble.com/-discussion-idea--resource-scoping-tf2042404.html

where I reference an extension to the surefire plugin.
(Just realised the patch isn't right, so I'll fix that tomorrow.)

--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to