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, I encountered an issue where I used audit log related functions, but encountered an error while creating and importing plugins Error when compiling doris: Failed to parse plugin descriptor for net.sourceforge.czt.dev:cup-maven-plugin:1.6-cdh, I couldn't find any relevant questions in the community, so I raised them


Solution

  • For the problem of net.sourceforge.czt.dev related jar package download failure, you can refer to the following solution to deal with it:
    
    1. First replace the mirror source url to the following path, save it and continue to compile. After 1.6-cdh download 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 the following connection, put them in the .m2/net/sourceforge/czt/dev warehouse directory, and complete the compilation
    https://repository.cloudera.com/#browse/search=keyword%3Dnet.sourceforge.czt.dev
    
    For details, please refer to the Doris forum post: https://ask.selectdb.com/questions/D1Jc/yi-jie-jue-docker-bian-yi-shi-cpu-maven-plugin-bao-wen-ti