mavenolapapache-doris

"Error when compiling doris: Failed to parse plugin descriptor for net.sourceforge.czt.dev:cup-maven-plugin:1.6-cdh"


During the process of setting up and using Doris, when I used audit log related functions, while creating and importing plugins I encountered an error:

Error when compiling doris: Failed to parse plugin descriptor for net.sourceforge.czt.dev:cup-maven-plugin:1.6-cdh


Solution

  • For the problem of net.sourceforge.czt.dev related jar package download failure, refer to the following solution:

    1. First replace the mirror source url to the following path, save it and continue to compile. After 1.6-cdh downloads successfully, you can restore to the original url to complete the compilation:

      <mirror>
        <id>aliyunmaven</id>
        <mirrorOf>central</mirrorOf>
        <name>aliyun maven</name>
        <url>https://repository.cloudera.com/repository/libs-release-local/</url>
      </mirror>
      
    2. Download the pom and jar packages through https://repository.cloudera.com/#browse/search=keyword%3Dnet.sourceforge.czt.dev, put them in the .m2/net/sourceforge/czt/dev warehouse directory, and complete the compilation

    For details, please refer to this Doris forum post: https://ask.selectdb.com/questions/D1Jc/yi-jie-jue-docker-bian-yi-shi-cpu-maven-plugin-bao-wen-ti