<html><head></head><body bgcolor="#FFFFFF"><div>I'm using the regular mvn install command, should I do some changes in the main pom file?<br><br><div style="text-align: left;direction: ltr; "><br></div></div><div>On 20 May 2012, at 18:54, Juan Hernandez <<a href="mailto:jhernand@redhat.com">jhernand@redhat.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>On 05/20/2012 04:39 PM, Ofer Schreiber wrote:</span><br><blockquote type="cite"><span>I'm trying to build ovirt-engine in Fedora 17, and getting the following error:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[INFO] oVirt Modules - manager ........................... FAILURE [1:05.421s]</span><br></blockquote><blockquote type="cite"><span>....</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.6:check (default) on project manager-modules: Execution default of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.6:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: checkstyle:checkstyle:jar:5.0, antlr:antlr:jar:2.7.6, commons-beanutils:commons-beanutils-core:jar:1.7.0, com.google.collections:google-collections:jar:0.9: Could not find artifact checkstyle:checkstyle:jar:5.0 -> [Help 1]</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Any idea how can I resolve it?</span><br></blockquote><span></span><br><span>Are you building with regular "mvn" or with "mvn-rpmbuild"?</span><br><span></span><br><span>If you are using the later you will have to update to checkstyle 5.5 and to maven-checkstyle-plugin 2.9.1, as those are what are available in Fedora 17. In addition the gid:aid of checkstyle changed from checkstyle:checkstyle to com.puppycrawl.tools:checkstyle somewhere between 5.0 and 5.5.</span><br><span></span><br><span>-- </span><br><span>Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain</span><br><span>Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.</span><br></div></blockquote></body></html>