Hi all,

My plugin is failing because the classes that I'm accessing within my plugin
are not being initialized upon loading (specifically, their static
initializers are not being called).  Is there some configuration setting
that I can make to cause classes that are loaded by the
org.codehaus.classworlds.RealmClassLoader (the classloader that loads my
plugin's class) to be initialized?  Is there some way that I can configure
my plugin's execution to occur in a forked JVM?

FYI, my plugin is a thin wrapper around a tool.  I also have an ant task
that wraps the same tool, and everything works fine in it.  Additionally, if
I use the maven-antrun-plugin to invoke the tool, everything works fine. 
It's only when I try to use it from within the Maven plugin framework that
it fails.

Any pointers or help are appreciated!

Thanks,
Matthew

-- 
View this message in context: 
http://www.nabble.com/Classes-loaded-by-my-plugin-are-not-initialized-tf3037602s177.html#a8442164
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to