jbosstools / jbosstools-quarkus

Quarkus tooling for Eclipse
https://tools.jboss.org
Apache License 2.0
16 stars 20 forks source link

mvn quarkus:dev launch config in eclipse only works after mvn install multi-module #154

Closed dcaillia closed 2 years ago

dcaillia commented 2 years ago

Eclipse brings a built-in mvn. That's how i run quarkus:dev: create a mvn run-config for "quarkus:dev". It looks like quarkus does not play well with mvn in eclipse, since running a project like that simply does not work for multi-module projects: it fails to start, usually saying it can not inject this or that bean.

Only when i mvn install the whole multi-module project (on the command line) and then restart that eclipse mvn run-config, then it does work.

Forcing me to mvn install - just to run my locally edited code - is forcing me to put jars into my .m2 that are probably buggy (not ready). This will leak into other build work done on that machine (eg unrelated projects relying on the same SNAPSHOT libs).

I'm probably missing something. Any input on this would be great.

jeffmaury commented 2 years ago

Duplicates #118