I'm trying to build a Maven3/Grails-1.3.6 project inside TeamCity 6.0.1 and I'm having a strange exception that makes my build fail:
org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.artifact.handler.ArtifactHandlergrails-app.
... 53 more
This same build was was building fine until recently (that is until I installed spring-security-core plugin, but I don't know if it's connected). What's also weird is that "mvn package" builds fine locally on my machine. Now of course the problem is to find what is different between both environments that makes the build fail on the build agent.
The first thing I'm wondering is which version of Maven does TeamCity use. Locally I'm running Maven 3.0.1, but the build configuration only allows for Maven2 as a build type.