We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b31bfda + 2b6d6af commit fd91856Copy full SHA for fd91856
1 file changed
jooby-maven-plugin/src/main/java/org/jooby/RouteProcessorMojo.java
@@ -48,6 +48,10 @@ public class RouteProcessorMojo extends AbstractMojo {
48
49
@Override
50
public void execute() throws MojoExecutionException, MojoFailureException {
51
+ if (mainClass == null) {
52
+ throw new MojoExecutionException("main class not configured");
53
+ }
54
+
55
try {
56
Path srcdir = new File(mavenProject.getBuild().getSourceDirectory()).toPath();
57
Path bindir = new File(mavenProject.getBuild().getOutputDirectory()).toPath();
0 commit comments