Hello Rusty WRight

I have created a mvn plugin called "foo" that needs a jar file say "xyz.jar"
in order to compile and run.  in the pom file of plugin project foo I have
provided xyz.jar with "provided" scope in the dependencies section. I do not
want to package the xyz.jar file in the plugin. The plugin "foo"  will be
triggered by another project say "bar" in its install phase. so I added the
plugin foo in the <build><plugins><plugin>...</plugin></plugins></build>
section of the project bar. project bar has the dependency of "xyz.jar"  in
its <dependencies> section.  when I run install goal the classes present in
the xyz.jar and which are refered by the plugin foo throw
ClassNotFoundException at Runtime. 

Please let me know how to resolve this.



--
View this message in context: 
http://maven.40175.n5.nabble.com/dependencies-needed-by-plugin-tp5781651.html
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