Hi, Since it works for your user and not hudson, I suspect that the hudson maven local repository contains a corrupted maven-metadata.xml file for findbugs. To solve it, you can: - Remove the findbugs folder in hudson maven local repository - Ask Hudson to create a private maven repository (isolate completely maven builds in Hudson but uses a lot of disk space)
Hope it helps, Fred. On Wed, Apr 14, 2010 at 3:18 PM, Chris Law <[email protected]> wrote: > > Hello, > > We have two VMs, one running Hudson and the other running > Artifactory. This implementation of our continuous build/integration > has been working for over a year with various updates to Hudson and > Artifactory. > > I updated from Artifactory 2.1 to 2.2.2 and now our Hudson builds fail > (however, > I'm extremely pleased with the performance improvements in Artifactory!). > > The Artifactory logs don't show any errors from the update. Nothing on > the Hudson VM was changed, no POMs or configuration changed for the > projects being built. > > Our configuration of the Hudson VM: Hudson 1.341, Tomcat 6.0.18, Java > 6.0.6, Maven 2.1.0 running on a Windows 2003-R2 SP2 VM. > > Our previous configuration of the Artifactory VM: Artifactory 2.1 > using Tomcat 6.0.18, PostgreSQL 8.4, Java 6.0.11 running on a Windows > 2003-R2 SP2 VM. > > When I updated Artifactory, I shut down Tomcat, uninstalled Java > 6.0.11 and installed JDK 6.0.18. I deleted the artifactory.war and > the exploded artifactory folders, deployed the 2.2.2 Artifactory war > file to Tomcat and started Tomcat. I didn't see anything amiss in the > logs. > > The projects are configured to add the goal "findbugs:findBugs", which > uses the org.codehaus.mojo plugin. But the builds report: > > [INFO] Searching repository for plugin with prefix: 'findbugs'. > [INFO] org.apache.maven.plugins: checking for updates from central > [INFO] org.apache.maven.plugins: checking for updates from snapshots > [INFO] org.apache.maven.plugins: checking for updates from plugins > [INFO] org.codehaus.mojo: checking for updates from central > [INFO] org.codehaus.mojo: checking for updates from snapshots > [INFO] org.codehaus.mojo: checking for updates from plugins > [INFO] artifact org.apache.maven.plugins:maven-findbugs-plugin: checking for > updates from central > [INFO] artifact org.apache.maven.plugins:maven-findbugs-plugin: checking for > updates from snapshots > [INFO] artifact org.apache.maven.plugins:maven-findbugs-plugin: checking for > updates from plugins > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-findbugs-plugin' does not > exist or no valid version could be found > > The request.log from Artifactory doesn't show any attempt to retrieve > from org.codehaus.mojo, only from org.apache.maven.plugins which > fails. > > If I log into the Hudson VM as the build user and run "mvn -N > findbugs:findbugs", it fails as indicated above. If I login as myself > on the Hudson VM and run the same command, it works. I've compared > the effective-pom output for both users and they match. > > I'm at a total loss to figure out how to fix this. I would greatly > appreciate > any help or ideas. > > Thanks, > > Chris > > -- > View this message in context: > http://n2.nabble.com/Upd-from-2-1-to-2-2-2-now-Hudson-builds-fail-on-findbugs-tp4901326p4901326.html > Sent from the Artifactory - Users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users > -- Co. Founder and Chief Architect JFrog Ltd http://www.jfrog.org/ http://twitter.com/freddy33 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
