Before I rush off and file a report on JIRA for NB 12.0 Beta 2 I'd thought I'd 
run this by the group especially as it has been the behaviour of NB for as long 
as I have used it.

If I use Run (green triangle) and have a pom.xml dependency that is not already 
in the local repository then the dependency will not be downloaded from Maven 
Central or other location. It is for this reason I have told my students not to 
use the Run command for many years. Instead I place a defaultGoal in the pom 
(for FX its now ' clean javafx:run') and then do a Run Maven. Now that the 
default build system is Maven rather than Ant should not the Run command be 
effectively identical to Run Maven but with a goal from nbactions.xml?

Behaviour is a little different for web applications where Run Maven is still 
needed followed by NB Run to deploy.

Ken Fogel

Reply via email to