Problem starting quarkus app in dev mode with pom dependency
## Describe the bug
We do have some quarkus apps that have a pom type dependency on the 'pom.xml' (for example: https://github.com/kiegroup/kogito-apps/blob/master/task-console/pom.xml#L54). Today we started noticing that if we start them in dev mode we get a hot reload error on start up due to a missing target/classes folder in the dependent module.

`Failed to run: Hot reloadable dependency org.kie.kogito:kogito-apps-ui-packages::jar:2.0.0-SNAPSHOT has not been compiled yet (the classes directory /development/kogito-apps/ui-packages/target/classes does not exist) -> [Help 1]`

We found this check to be hardcoded in your DevMojo (https://github.com/quarkusio/quarkus/blob/main/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java#L663-L666). I think it would be good if this mechanism could be more flexible or at least configurable to avoid this kind of issues.

### Expected behavior
The quarkus app should start in dev mode as usual

### Actual behavior
The quarkus app doesn't start and shows the Hot reload error message.

## To Reproduce

Steps to reproduce the behavior:
1. Git clone Git clone https://github.com/kiegroup/kogito-apps
2. Build kogito-apps
3. on a terminal go to /kogito-apps/task-console
4. try to start the app with command: `mvn clean package quarkus:dev -Dquarkus.http.port=8380  `


diff --git a/independent-projects/bootstrap/core/src/main/java/io/quarkus/bootstrap/devmode/DependenciesFilter.java b/independent-projects/bootstrap/core/src/main/java/io/quarkus/bootstrap/devmode/DependenciesFilter.java
index b21dc8a7804..ef000cec228 100644
--- a/independent-projects/bootstrap/core/src/main/java/io/quarkus/bootstrap/devmode/DependenciesFilter.java
+++ b/independent-projects/bootstrap/core/src/main/java/io/quarkus/bootstrap/devmode/DependenciesFilter.java
@@ -85,7 +85,7 @@ public static List<LocalProject> filterNotReloadableDependencies(LocalProject lo
             if (project == null) {
                 continue;
             }
-            if ("test".equals(a.getScope())) {
+            if ("test".equals(a.getScope()) || "pom".equals(a.getType())) {
                 continue;
             }
             if (!project.getVersion().equals(a.getVersion())) {
['independent-projects/bootstrap/core/src/main/java/io/quarkus/bootstrap/devmode/DependenciesFilter.java']