build break help

Mikolaj Izdebski mizdebsk at redhat.com
Tue Oct 15 13:03:21 UTC 2013


On 10/15/2013 02:33 PM, Amir Sanjar wrote:
> 
> thanks Mikolaj, you said mvn-rpmbuild has been deprecated, what is the
> replacement?

For building RPM packages you can use %mvn_build macro.  Java packaging
guidelines [1] describes how it should be used.  There is also a simple
migration guide [2].

If you just want to run Maven-like command line tool which would resolve
artifacts from system repository (packaged as RPMs) then you can use
XMvn [3,4].  Just run "xmvn" instead of "mvn".


[1] http://fedoraproject.org/wiki/Packaging:Java
[2] http://mizdebsk.fedorapeople.org/xmvn/cookbook/
[3] http://mizdebsk.fedorapeople.org/xmvn/
[4] http://github.com/mizdebsk/xmvn

-- 
Mikolaj Izdebski
IRC: mizdebsk


More information about the bigdata mailing list