pax-run using Maven Plugin in pom.xml
-
19-09-2019 - |
Question
How can I execute Pax-Runner tasks using a Maven Plugin, which I can specify in the pom.xml
file?
i.e. I can do the following in command line using Pax-Runner (to convert a war file into an OSGi bundle)
pax-run war:file:C:/somefile.war warref:C:/somefile.properties
What should I do to make it happen in a pom.xml file?
Thanks in advance!
Solution
There is a maven plugin for pax. I've not used it, but according to the documentation it does what you need. On the usage page there's a section titled Using the Pax Plugin inside a POM that describes how to set up your project.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow