A quick guess is that you need to execute
mvn install
first ot get the artifact installed into the local repo. Then you can
execute
mvn rpm:rpm

DOn't understand why you want to execute rpm:rpm separately though...

/Anders


On Mon, Mar 4, 2013 at 5:44 PM, Андрей Хитрин <andrey.hit...@gmail.com>wrote:

> Hi all!
>
> We've a project that uses rpm-maven-plugin to build rpm packages. Today
> we've suddenly faced a situation that our working project rejects to build.
>
> I've created the simplest example that demonstrates this failure. Please
> see attached files.
>
> Steps I've used to reproduce problem:
>
> 1. Create basic maven project (even without tests) and setup rpm build
> with artifact mapping (pom.xml)
> 2. (Successfully) build project artifact with `mvn package`
> (mvn-3.0.3.package.log)
> 3. Try to build rpm flie with `mvn rpm:rpm`, but failed (mvn-3.0.3.rpm.log
> and 3.0.5.rpm2.1.log)
>
> I suspect that problem is not in the rpm-maven-plugin itself, but in some
> other plugin that is used to resolve project artifact. I've tried different
> versions of rpm-maven-plugin and different maven versions, and with the
> same result. The last friday everything worked ok.
>
> Which plugin breaks the build? I hope you could help us in this situation.
>
> --
> Andrey Hitrin
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

Reply via email to