mirror of https://github.com/apache/cloudstack.git
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:
parent
dc3c263d0f
commit
1169464e35
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue