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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<container>
<containerId>weblogic103x</containerId>
<timeout>1800000</timeout>
<home>chemin_bea_install</home>
<systemProperties>
<cargo.jvmargs>-XX:MaxPermSize=256M -Xmx512m</cargo.jvmargs>
</systemProperties>
<append>true</append>
</container>
<configuration>
<type>existing</type>
<home>chemin_mon_domaine</home>
<properties>
<cargo.logging>medium</cargo.logging>
<cargo.weblogic.administrator.user>login</cargo.weblogic.administrator.user>
<cargo.weblogic.administrator.password>password</cargo.weblogic.administrator.password>
<cargo.hostname>localhost</cargo.hostname>
<cargo.servlet.port>7001</cargo.servlet.port>
</properties>
</configuration>
<deployer>
<type>local</type>
<deployables>
<deployable>
<groupId>group_id</groupId>
<artifactId>artifact_id</artifactId>
<type>ear</type>
</deployable>
</deployables>
</deployer>
</configuration>
<executions>
<execution>
<id>setup-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin> |
Partager