cli: add exec rule to compute precache on mvn compile

Patch adds rules in maven to create precached file using cachegen

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-11-19 05:27:06 +05:30
parent dc3c263d0f
commit 1169464e35
1 changed files with 14 additions and 0 deletions

View File

@ -71,6 +71,20 @@
</arguments>
</configuration>
</execution>
<execution>
<id>cachegen</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<workingDirectory>${basedir}/cloudmonkey</workingDirectory>
<executable>python</executable>
<arguments>
<argument>cachegen.py</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>package</id>
<phase>compile</phase>