You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting java.lang.ClassNotFoundException for a class in the same Maven project as the plugin is running against. This despite the fact that the class was available in target/classes.
That's the same piece of code I referenced (you from 1.6, I from master). My point is that it behaves like it is false despite what it says in that annotation.
I was getting
java.lang.ClassNotFoundException
for a class in the same Maven project as the plugin is running against. This despite the fact that the class was available intarget/classes
.This failed until I added
<includeProjectDependencies>true</includeProjectDependencies>
.This shouldn't be necessary as https://github.com/mojohaus/exec-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java#L105 says that it's
true
by default and so does the generated documentation at https://www.mojohaus.org/exec-maven-plugin/java-mojo.html#includeProjectDependencies.The text was updated successfully, but these errors were encountered: