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.
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.