Notes:
##iocage exec $JAIL "pkg install -y archiva"
##iocage fstab -a $JAIL /mnt/data/apps/rish/`echo $JAIL | cut -d'-' -f 2-` /usr/local/archiva nullfs rw 0 0
## the wrapper.conf file need to be modified as show below"
##iocage exec $JAIL "cp /mnt/config/archiva /usr/local/share/archiva/bin"
##iocage exec $JAIL "sysrc archiva_enable=YES"
##iocage exec $JAIL "service archiva start"
//
r-repo bin # diff archiva archiva.orig
62,63c62,63
< WRAPPER_CMD="/usr/local/lib/javaservicewrapper/bin/wrapper"
< WRAPPER_CONF="/usr/local/archiva/conf/wrapper.conf"
---
> WRAPPER_CMD="%%PREFIX%%/bin/javaservicewrapper"
> WRAPPER_CONF="%%PREFIX%%/etc/conf/wrapper.conf"
r-repo conf # diff wrapper.conf wrapper.conf.sample
6c6
< wrapper.working.dir=/usr/local/share/archiva
---
> wrapper.working.dir=%%DATADIR%%
//