如何使用Maven pom.xml构建solaris软件包

问题描述

我有一个maven项目,而pom.xml没有提及任何包装,因此认产品为jar。我想为此项目构建一个solaris软件包,我该怎么做?

解决方法

用于solaris软件包的插件是unix-maven-plugin,应在包装中提及sysvpkg并运行create package语句。