Apparently it was just the priming build that failed.  Built again and it
worked.  Odd.

test took 15 seconds (after a clean build).

This is on a reasonably fast laptop.  Yeah, something seems sub-optimal.

Scott



On Sun, Apr 25, 2021 at 12:07 PM Scott Palmer <[email protected]> wrote:

> That should of course say NetBeans 12.4-rc1 :-)
> Maven is set to use the bundled 3.6.3 version.
>
> Scott
>
> On Sun, Apr 25, 2021 at 12:06 PM Scott Palmer <[email protected]> wrote:
>
>> I went to try this on Windows for you and NetBeans 2.4-rc1 claimed the
>> project was unloadable:
>>
>> Some problems were encountered while processing the POMs:
>> [ERROR] 'dependencies.dependency.version' for
>> org.junit.jupiter:junit-jupiter:jar is missing. @ line 28, column 21
>>
>> Sure enough there is no version specified for junit-jupiter.. perhaps it
>> was supposed to get it from the BOM a few lines above in the POM.xml. But
>> apparently it doesn't.
>>
>> Scott
>>
>>
>> On Sun, Apr 25, 2021 at 11:50 AM Lars Bruun-Hansen <
>> [email protected]> wrote:
>>
>>> Thanks Jeremy.
>>>
>>> I'm on Windows and I've suspected all along that may have something to
>>> do with it.
>>> I'm also - like you - using the bundled Maven version, i.e. v3.6.3. I
>>> must admit I haven't looked into if my IntelliJ IDEA is using the same
>>> but please note that I've fixated the Surefire plugin version in the
>>> POM so Maven version should not really make a difference IMO.
>>>
>>> I'll do some more testing.
>>>
>>> Fantastic if someone else can test on Windows too.
>>>
>>> Thanks.
>>>
>>> Lars
>>>
>>> On Sun, Apr 25, 2021 at 2:55 PM Jeremy Cavanagh
>>> <[email protected]> wrote:
>>> >
>>> > Hi Carl,
>>> >
>>> > Sorry I missed that inclusion:
>>> >
>>> > Maven bundled version 3.6.3
>>> >
>>> > Jeremy
>>> >
>>> > On 25/04/2021 14:31, Carl Mosca wrote:
>>> > > Not at a computer but I am wondering about the maven version(s). Is
>>> the
>>> > > same one being used?  Sorry if I missed that detail.
>>> > >
>>> > > On Sun, Apr 25, 2021 at 8:24 AM Jeremy Cavanagh <
>>> [email protected]>
>>> > > wrote:
>>> > >
>>> > >> Hi Lars,
>>> > >>
>>> > >> I don't suppose this will be much help. However, I ran your test on
>>> my
>>> > >> system:
>>> > >>
>>> > >> MacBook Air Mid 2011
>>> > >> 1.8GHz Intel Core i7
>>> > >> macOS 10.14.6
>>> > >>
>>> > >> Using:
>>> > >>
>>> > >> Product Version: Apache NetBeans IDE 12.4-rc1
>>> > >> Java: 11.0.10; OpenJDK 64-Bit Server VM 11.0.10+9-LTS
>>> > >> Runtime: OpenJDK Runtime Environment 11.0.10+9-LTS
>>> > >>
>>> > >> After several runs I got rounded averages of:
>>> > >>
>>> > >> Clean & Build 11.7 s
>>> > >> Run 2.7 s
>>> > >> Test 9.7 s
>>> > >>
>>> > >> Unfortunately, I no longer have a copy of IntelliJ IDEA so can
>>> provide
>>> > >> no comparison.
>>> > >>
>>> > >> Regards
>>> > >>
>>> > >> Jeremy
>>> > >>
>>> > >> On 25/04/2021 10:15, Lars Bruun-Hansen wrote:
>>> > >>> In fact about x20 slower than IntelliJ IDEA. But before jumping to
>>> > >>> conclusions I was hoping for verification from community and - if
>>> > >>> validated - on some ideas why this might be so.
>>> > >>>
>>> > >>> For showcasing the problem I've created a minimal Maven example
>>> > >>> (attached to [NETBEANS-5592]). It simply prints 10,000 lines of
>>> random
>>> > >>> text to stdout.
>>> > >>>
>>> > >>>
>>> > >>> Project menu "Run"
>>> > >>> -----------------------------
>>> > >>> When the sample application is executed it performs well in both
>>> > >>> NetBeans IDE and IntelliJ IDEA: The "Output Window" is able to
>>> consume
>>> > >>> the messages at a very rapid pace. (in fact, dare I say, NetBeans
>>> IDE
>>> > >>> is perhaps a little bit faster than IntelliJ IDEA).
>>> > >>>
>>> > >>> Project menu "Test"
>>> > >>> ------------------------------
>>> > >>> However, when the same is executed as a JUnit 5 test using Maven
>>> > >>> Surefire Plugin it performs extremely poorly in NetBeans IDE while
>>> > >>> IntelliJ IDEA exhibits same behavior as in the non-test case,
>>> meaning
>>> > >>> it is just as fast.
>>> > >>> (if "mvn test" is instead performed from an OS prompt it performs
>>> well)
>>> > >>>
>>> > >>>
>>> > >>> As a result, I've found that for test cases which produce massive
>>> > >>> amounts of output (I'm looking at you Spring Boot) I need to
>>> seriously
>>> > >>> increase the Maven Surefire timeout
>>> > >>> (forkedProcessExitTimeoutInSeconds). I don't need to do that in
>>> > >>> IntelliJ IDEA.
>>> > >>>
>>> > >>> More info on [NETBEANS-5592].
>>> > >>>
>>> > >>> Any clues?
>>> > >>>
>>> > >>> /Lars
>>> > >>>
>>> > >>>
>>> ---------------------------------------------------------------------
>>> > >>> To unsubscribe, e-mail: [email protected]
>>> > >>> For additional commands, e-mail: [email protected]
>>> > >>>
>>> > >>> For further information about the NetBeans mailing lists, visit:
>>> > >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> > >>>
>>> > >>>
>>> > >>>
>>> > >>
>>> > >>
>>> ---------------------------------------------------------------------
>>> > >> To unsubscribe, e-mail: [email protected]
>>> > >> For additional commands, e-mail: [email protected]
>>> > >>
>>> > >> For further information about the NetBeans mailing lists, visit:
>>> > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> > >>
>>> > >>
>>> > >>
>>> > >> --
>>> > > Regards,
>>> > > Carl
>>> > >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [email protected]
>>> > For additional commands, e-mail: [email protected]
>>> >
>>> > For further information about the NetBeans mailing lists, visit:
>>> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> >
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>
>>>
>>>

Reply via email to