What does this mean: Not a v4.0.0 POM. for project org.codehaus.mojo:rpm-maven-plugin

前端 未结 3 1110
别那么骄傲
别那么骄傲 2021-01-18 03:22

I\'m afraid I just don\'t know what this error means, besides that there is an error. I was able to build jars before, but this is my first time using the rpm-maven-plugin.

相关标签:
3条回答
  • 2021-01-18 04:08

    I found that I was missing the ~/.m2/settings.xml file. Once I got that file, I was able to use maven just fine.

    0 讨论(0)
  • 2021-01-18 04:08

    The answer to this may be 2 fold:

    1. There's a problem with the POM
    2. You are running the wrong version of maven

    Fix the POM or fix your Maven version.

    0 讨论(0)
  • 2021-01-18 04:10

    The problem was exactly as the error stated. I went to my respository and opened the POM file at the path above. I realize that somehow the POM file was downloaded while I was not authenticated against one of our internal systems.

    So even though a file existed, the pom file only contained an error message.

    After deleting the file at the path and restarting the build, the build was successful.

    0 讨论(0)
提交回复
热议问题