I'm working to get the Artifactory plugin working with my maven modules and having difficulty getting it to deploy artifacts. Our build configurations use an external maven installation of 2.0.9. When doing a build, the following warning message is logged:
[07:21:26]: Skipping build info collection: Maven build info report doesn't exist.
I believe this is because the 'Maven Watcher' plugin doesn't run after the build completes. I can't find much documentation on the plugin, but is it necessary to put it into my pom as a dependency if I don't use the built in maven installation? If I use the bundled version of maven, I do see the Maven Watcher running. I would rather use the external version of maven if possible.
When I use the built-in maven installation, one of my maven modules (multi-module) fails to deploy with the below error. I don't know if this is a problem with the artifactory plugin or something specific with my module:
[07:44:21]: [Maven Watcher] starting handling projects
[07:44:21]: [Maven Watcher] building report document...
[07:44:21]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Caused by: java.lang.RuntimeException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.artifact.factory.ArtifactFactory', it could not be started
[07:44:21]: at com.jetbrains.maven.watcher.reporter.MavenBuildInfoReporter.getComponent(MavenBuildInfoReporter.java:181)
[07:44:21]: at com.jetbrains.maven.watcher.reporter.MavenBuildInfoReporter.addPluginElement(MavenBuildInfoReporter.java:154)
[07:44:21]: at com.jetbrains.maven.watcher.reporter.MavenBuildInfoReporter.addProjectPart(MavenBuildInfoReporter.java:133)
[07:44:21]: at com.jetbrains.maven.watcher.reporter.MavenBuildInfoReporter.generateReport(MavenBuildInfoReporter.java:74)
[07:44:21]: at com.jetbrains.maven.watcher.reporter.MavenBuildInfoReporter.generateReport(MavenBuildInfoReporter.java:51)
[07:44:21]: at com.jetbrains.maven.watcher.Watcher.onBuildFinished(Watcher.java:20)
[07:44:21]: ... 26 more