On Tuesday 27 April 2010, Orion Poplawski wrote: I'm trying to build the buildnumber maven plugin with the attached spec but getting:
[ERROR] BUILD ERROR [INFO]
[INFO] 'install' was specified in an execution, but not found in the plugin [INFO]
[INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: 'install' was specified in an execution, but not found in the plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycl e(DefaultLifecycleExecutor.java:1342)
Any ideas? Thanks!
Hi Orion, This is easily fixed by removing goal install from the integration-test execution (line 209). But there is also a problem with your Source0, it's not in the standard maven build structure and the pom will not find the sources.
The attached spec file gets further in the build but it end complaining about missing artifacts: 1) com.google.code.maven-scm-provider-svnjava:maven-scm-provider- svnjava:jar:1.8 2) org.tmatesoft.svnkit:svnkit:jar:1.3.1-1 3) net.java.dev.jna:jna:jar:3.2.2
You can easily fix the last two with a local depmap or fix them the proper way by making svnkit and jna install depmap and pom.
P.S. I've intentionally named the tarball and changed the %setup call to be sure that you will get a proper sources.
Good luck, Alex