Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
I'm trying to achieve better integration into VSCode with my project archetype. The way that the VSCode maven extension seems to prefer to work is for users to explicitly "run" a goal from a plugin of the project. You can see the VSCode instructions for running a JavaFX app as an example here: htt

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Nils Breunese
Steve Hannah wrote: > I'm trying to achieve better integration into VSCode with my project > archetype. The way that the VSCode maven extension seems to prefer to work > is for users to explicitly "run" a goal from a plugin of the project. > > You can see the VSCode instructions for running a Ja

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
> > The Maven build lifecycle consists of phases [0] and you can bind plugin > goals to phases. As far as I know it doesn’t work the other way around, so > you can’t make a plugin goal execute particular phases, which seems to be > what you’re asking. It should be the other way around: you can asso

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Nils Breunese
Steve Hannah wrote: > VSCode does let you execute phases, > but the "phase" model doesn't work well when you are working on > desktop application. You expect there to be an action to "run" the app and > a separate action to "build" the app. I don’t generally work on desktop application projects

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
On Wed, Mar 9, 2022 at 3:53 PM Nils Breunese wrote: > Steve Hannah wrote: > > > VSCode does let you execute phases, > > but the "phase" model doesn't work well when you are working on > > desktop application. You expect there to be an action to "run" the app > and > > a separate action to "buil

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
Thank you so much for taking the time to address my questions. I knew all of the individual points you made, but the way you put them in order is very helpful for making me rethink the problem. I'm going to explore whether letting the IDE do the "running" will work for me here. That is where mos

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Thomas Broyer
Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit : > Steve Hannah wrote: > > > I'm trying to achieve better integration into VSCode with my project > > archetype. The way that the VSCode maven extension seems to prefer to > work > > is for users to explicitly "run" a goal from a plugin of the

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Steve Hannah
Awesome. That's exactly what I was looking for. Will try it out in the morning On Wed, Mar 9, 2022 at 7:08 PM Thomas Broyer wrote: > Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit : > > > Steve Hannah wrote: > > > > > I'm trying to achieve better integration into VSCode with my project >

Re: Plugin goal that will trigger "verify"

2022-03-09 Thread Nils Breunese
Thomas Broyer wrote: > Le mer. 9 mars 2022 à 23:48, Nils Breunese a écrit : > >> The Maven build lifecycle consists of phases [0] and you can bind plugin >> goals to phases. As far as I know it doesn’t work the other way around, so >> you can’t make a plugin goal execute particular phases, whi