Why do you need to use the embedded version of maven?

I use IntelliJ and have no problem setting it to use my local maven 3.8.x.

On Tue, 14 Sep 2021 at 13:35, Jesse Glick <[email protected]> wrote:

> On Tue, Sep 14, 2021 at 5:55 AM Oleg Nenashev <[email protected]>
> wrote:
>
>> it is time [to] include JCasC test harness […] into Jenkins Test Harness
>>
>
> Not possible. It depends on plugins.
>
>
>> or to Plugin POM
>>
>
> No. If you want to depend on JCasC the `bom` sets up versions for you.
> (For most cases you should not need to explicitly mention JCasC in your
> plugin since you should just be defining settings using simple, plain
> idioms that work automatically in any context—GUI forms, Pipeline, JCasC.
> It is necessary however when you are forced into weird Java structures for
> compatibility reasons.)
>
> The correct solution here is to update the parent POM as Tim says, or use
> an older version of JCasC. If your IDE does not let you run a current
> version of a tool, run it from a shell instead, or use a different IDE to
> run local tests. As a workaround you could specify an explicit
> `jenkins-test-harness.version` in your POM pending a parent update, or even
> try to add an `exclusion` from
> `io.jenkins.configuration-as-code:test-harness` and hope that JCasC was not
> actually relying on recently introduced features.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1D_njA0r2EJi-%3D8E3wCNPGFRZNToBohO2TmsC8nLygUA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1D_njA0r2EJi-%3D8E3wCNPGFRZNToBohO2TmsC8nLygUA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3BifJF%3DPFb8c4FQxViAfRjA7LFARAcXu297t_1ie1KZtupg%40mail.gmail.com.

Reply via email to