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
So when you create a new project with your project wizard, the nbactions.xml file will be created and will override the run and debug goals which is ok, because they will call the spring-boot:run goal with additional parameters.
If you have an existing maven project, where the spring boot framework is used, we have to add this nbactions.xml file too.
Here are the scenarios:
While opening the project, scan for nbactions.xml file or what could be similar to that name
If your plugin doesn't find this file, creates it with the needed goals as custom goals or override the run and debug goals
If your plugin finds an existing nbactions.xml file, scan the file and check whether there is smth written with spring-boot:run or spring-boot:start
if so, do nothing or check for stuff, which is still missing
if the plugin doesn't find such goal, add this goal or override the default run and debug goal
if run and debug are still inside, do nothing, maybe someone use their own run and debug goal
Let me know, if you have any further questions.
Cheers
Chris
The text was updated successfully, but these errors were encountered:
Sure, to adding a application.properties or application.yaml file as or the a base class to the existing projects nbactions.xml doesn't make sense, because some is using application.yaml or application-local.yaml or application.properties or whatever, so this is not needed, the user has to add this file to the project properties of the plugin, that the goal uses -Dspring.config.location=file.
So when you create a new project with your project wizard, the
nbactions.xml
file will be created and will override therun
anddebug
goals which is ok, because they will call thespring-boot:run
goal with additional parameters.If you have an existing maven project, where the spring boot framework is used, we have to add this
nbactions.xml
file too.Here are the scenarios:
nbactions.xml
file or what could be similar to that namerun
anddebug
goalsnbactions.xml
file, scan the file and check whether there is smth written withspring-boot:run
orspring-boot:start
run
anddebug
goalrun
anddebug
are still inside, do nothing, maybe someone use their ownrun
anddebug
goalLet me know, if you have any further questions.
Cheers
Chris
The text was updated successfully, but these errors were encountered: