Using NExus as artifact repository it might be beneficial to automaticly provide rpm and deb/ipkg/opkg indexes of deployed artifacts. For rpm a plugin has been created for other a groovy script might help see https://issues.sonatype.org/browse/NEXUS-3399
Rollout
How to rollout the created packages?
pom.xml that uses dependency-unpack to target directory.