Created
November 18, 2012 21:24
-
-
Save umermansoor/4107601 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- exec plugin to run the python script which generates annotations --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.1.1</version> | |
<executions> | |
<execution> | |
<id>gen_ver_from_python</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
<configuration> | |
<executable>python</executable> | |
<arguments> | |
<argument>${basedir}/scripts/generate_version.py</argument> | |
<argument>${project.build.directory}</argument> | |
<argument>${version}</argument> | |
</arguments> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment