is there a pip install plugin for maven?
I have used the following and it's working (pulling from an internal pypi repo).
NOTE: The requirements.txt is basically an output of: pip freeze > requirements.txt
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>pip-install</id>
<phase>generate-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>pip</executable>
<arguments>
<argument>install</argument>
<argument>-r</argument>
<argument>${project.basedir}/requirements.txt</argument>
<argument>-i</argument>
<argument> http://artifactoryhost.domain.com/artifactory/api/pypi/<repo-name>/simple</argument>
<argument>--trusted-host</argument>
<argument>artifactoryhost.domain.com</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
I don't know if a maven plugin that can install pip package exist. But what you could do is use the maven-exec plug-in to invoke pip on a specific goal. Here is the documentation on the exec plug-in http://www.mojohaus.org/exec-maven-plugin/usage.html Hope it helped
Edit: Updated link