I have a maven project and pom.xml has nothing mentioned about packaging, so default product is jar. I want to build a solaris package for this project, how can i do this?
Asked
Active
Viewed 104 times
0
-
2What do you mean by Solaris package? – khmarbaise Aug 20 '20 at 13:22
-
Pkg file i suppose – Naveen kumar Aug 20 '20 at 15:47
-
No there is not any support to create a native package for a particular platform. – khmarbaise Aug 20 '20 at 17:55
-
@khmarbaise [It most certainly is possible](https://stackoverflow.com/questions/3491937/i-want-to-execute-shell-commands-from-mavens-pom-xml). Just run the proper OS commands to create the package. It's probably not that hard to create the proper dependencies. – Andrew Henle Aug 20 '20 at 18:03
-
when iam trying to deploy maven project, it gives me this error: Cannot run program "pkgmk" (in directory "\"): CreateProcess error=2, The sys tem cannot find the file specified – Naveen kumar Aug 24 '20 at 12:09
1 Answers
0
The plugin used for solaris package is unix-maven-plugin, should mention sysvpkg in packaging and run the create package statement.

Naveen kumar
- 41
- 7