Hello,
I'm trying to build a Java package to be submitted for review for Fedora 17, 18 and 19/rawhide.
The project currently has cobertura-maven-plugin as a dependency. I've tried to rebuild version 2.5.2-2 which does not yet contain the new Java packaging guidelines.
By adding maven-checkstyle-plugin as a BuildRequires I can reach the point where all dependencies are met and the package can be built. However, it seems to have a dependency on itself:
[...] DEBUG: [INFO] Scanning for projects... DEBUG: [WARNING] The POM for org.apache.maven.wagon:wagon-webdav-jackrabbit:jar:2.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details DEBUG: [WARNING] The POM for org.codehaus.mojo:cobertura-maven-plugin:jar:2.5.1 is missing, no dependency information available DEBUG: [WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:cobertura-maven-plugin:2.5.1: Plugin org.codehaus.mojo:cobertura-maven-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:cobertura-maven-plugin:jar:2.5.1 DEBUG: [INFO]
DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [INFO] Building Mojo's Maven plugin for Cobertura 2.5.2 DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [WARNING] The POM for org.codehaus.mojo:cobertura-maven-plugin:jar:2.5.1 is missing, no dependency information available DEBUG: [INFO]
DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [INFO] Skipping Mojo's Maven plugin for Cobertura DEBUG: [INFO] This project has been banned from the build due to previous failures. DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [INFO] BUILD FAILURE DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [INFO] Total time: 1.893s DEBUG: [INFO] Finished at: Fri Mar 29 17:29:09 CET 2013 DEBUG: [INFO] Final Memory: 10M/166M DEBUG: [INFO] ------------------------------------------------------------------------ DEBUG: [ERROR] Plugin org.codehaus.mojo:cobertura-maven-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:cobertura-maven-plugin:jar:2.5.1: The repository system is offline but the artifact org.codehaus.mojo:cobertura-maven-plugin:pom:2.5.1 is not available in the local repository. -> [Help 1] DEBUG: [ERROR] [...]
Is it normal behaviour and I'm missing something (I'm rather new to this) or is it a bug?
Thanks, --Simone