1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1-beta-1</version>
<executions>
<execution>
<id>update-alfresco-war</id>
<phase>package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.alfresco.repo.module.tool.ModuleManagementTool
</mainClass>
<classpathScope>runtime</classpathScope>
<!--
automatically creates the classpath using all project
dependencies, also adding the project build directory
-->
<arguments>
<argument>install</argument>
<argument>${project.build.directory}/${amp.filename}
</argument>
<argument>${project.build.directory}/${webapp.alfresco.filename}
</argument>
<argument>-force</argument>
<argument>-verbose</argument>
<argument>-nobackup</argument>
</arguments>
</configuration>
</plugin> |
Partager