Is there an installation plugin for maven?

In an existing java project that uses python (think a python plugin for office libre)

would like to use mvn to install pypi (Python Package Index). Right now we have a solution for tar package in mvn, and then use maven-dependency-plugin to unpack and maven-antrun-plugin to move files to python path (python path for libre office).

Any suggestions on a better way to manage this on Linux and Windows? Ideally, this would be as simple as the maven plugin for pypi.

Thanks for any input.

+6
source share
1 answer

I don't know if there is a maven plugin that can install the pip package. But you can use the maven-exec plugin to call pip for a specific purpose. Here is the documentation on the exec plugin http://www.mojohaus.org/exec-maven-plugin/usage.html Hope this helps

Edit: updated link

+4
source

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


All Articles