I am using quarkus multi maven Java project and my root parent module has 3 sub modules.1.api 2.business 3.domain. When I run using quarkus:dev on root module it always starts only domain module? All sub modules and parent module have below (jandex
and quarkus-maven-plugin
) plugin. What else needs to be added or corrected so that my API module will be up? I have my endpoint only in API module.
quarkus-maven-plugin
and jandex-maven-plugin
:
<plugin>
<groupId>io.smallrye</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<version>3.2.3</version>
<executions>
<execution>
<id>make-index</id>
<goals>
<goal>jandex</goal>
</goals>
</execution>
</executions>
</plugin>
And:
<plugin>
<groupId>io.quarkus.platform</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>build</goal>
<goal>generate-code</goal>
<goal>generate-code-tests</goal>
<goal>native-image-agent</goal>
</goals>
</execution>
</executions>
</plugin>
Tried running compile quarkus:dev on parent module but it failed with unable to find dependency for sub modules (business and domain).