I'm having a bit of trouble with some of my build configuations. I have several maven modules that use flexmojos and whenever I go to the 'Maven 2' tab in those configurations I get the following error:
An error occurred during collecting maven data: org.apache.maven.extension.ExtensionScanningException: Cannot resolve pre-scanned plugin artifact (for use as an extension): org.sonatype.flexmojos:flexmojos-maven-plugin: Failed to resolve extension plugin: org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:RELEASE
I can't figure out what the problem is, so I was hoping someone could point me in the right direction. I run TeamCity on Linux and it runs under the system user 'teamcity'. The file /home/teamcity/.m2/settings.xml is configured to use an internal Nexus mirror.
The teamcity.log doesn't have any additional info. My builds all work fine, but I'm using a custom maven install for all of them. Any ideas?