“Can not set org.eclipse.aether.spi.log.Logger” with custom maven plugin

后端 未结 10 1760
长情又很酷
长情又很酷 2021-02-18 13:15

I have written a small custom maven plugin, and it runs fine.. most of the time.

When using it, it\'s configured to run on test phase, and I see it executing, no proble

相关标签:
10条回答
  • if you are running inside IntelliJ IDEA go to

    • Build -> Execution, Deployment > Build tools > Maven

    • Update maven directory as your maven /dir. (maven-3.6.0)

    The default one is 3.3.9 for IntelliJ idea 2018.3.1

    0 讨论(0)
  • 2021-02-18 14:08

    Specifying a version for plugin spring-boot-maven-plugin fixed the issue for me as well. Here is what I changed:

    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <version>1.5.16.RELEASE</version>
    
    0 讨论(0)
  • 2021-02-18 14:09

    In contrast to the other answer which recommends downgrading spotify, in my case updating spotify version worked for me.

    0 讨论(0)
  • 2021-02-18 14:15

    I had met the same issue when upgrade jdeb from 1.5 to 1.7. And downgrade it to 1.5 and it fixed.

                            <artifactId>jdeb</artifactId>
                            <groupId>org.vafer</groupId>
                            <version>1.5</version>
    
    0 讨论(0)
提交回复
热议问题