What is the Java library for creating Solaris pkg software packages?

What Java library do people use to create Solaris pkg software packages? We are developing an application that, like its functions, has the ability to bundle backend services as a pkg software package that can be easily installed on Solaris. I hope there is a Java library that makes creating pkg a painless process.

If there is no library, can you tell me a resource describing how to build pkg?

+3
source share
2 answers

I don't have much experience, but you can use the solaris-maven-plugin , which seems to be a wrapper around pkgmkand pkgtrans. See usage and Best Practices and Examples for an introduction to the steps involved.

See also ant script and solaris package for an example based on ant (which also just calls pkgmkand pkgtrans).

+1
source

heirloom might be an option if you're on Linux ... but still not java :( binaries for redhat here , there must be something for ubuntu. debian I could not find.

0
source

Source: https://habr.com/ru/post/1757883/


All Articles