La tâche principale est de copier tous les fichiers de projet dans le répertoire WebSphere installedapps. Maintenant, pas besoin de mettre à jour l'application via l'interface d'administration, il suffit de lancer l'installation de maven et tous les fichiers seront copiés sur le serveur. Ne pas oublier d'ajouter ibm-web-bnd.xmi et les fichiers ibm-web-ext.xmi à votre WEB_INF pour permettre le rechargement classe
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<websphere.was.path>L:\WebSphere\AppServer</websphere.was.path>
<websphere.portal.path>L:\WebSphere\PortalServer</websphere.portal.path>
<deploy.path>L:\WebSphere\wp_profile\installedApps\LIPETSK-WPSCell\PA_Services_Search.ear</deploy.path>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
...
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<configuration>
<tasks>
<property name="src" location="target/${project.artifactId}"/>
<property name="dst" location="${deploy.path}/${project.artifactId}.${project.packaging}"/>
<copy todir="${dst}" overwrite="true" verbose="true">
<fileset dir="${src}" casesensitive="yes">
<include name="**/*.*"/>
<exclude name="WEB-INF/lib/*.*"/>
</fileset>
</copy>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
lien redirigeant vers la page par défaut de infocentre. Mise à jour de Pls – saurav