Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do websphere 7 deployment automation using maven?

Hi all
Our Maven scripts are currently written to compile/package & deploy in tomcat6 (development) server. This helped us in automating the build-deploy process.

Moving forward, we want to do automated deployments into WAS7 (Websphere 7) server using MAVEN scripts. Few articles which i read talks about invoking ANT Tasks that could perform deployment to websphere.

Could anybody share maven scripts/tags for the same ?

like image 700
yathirigan Avatar asked Aug 08 '12 19:08

yathirigan


People also ask

How to create Maven project in rational Application Developer?

1) From the Rational Application Developer Web Perspective, open the Window Preferences dialog. Navigate to Window -> Preferences -> Maven. Disable the 'Do not automatically update dependencies from remote repositories' preference and enable the 'Download repository index updates on startup' preference.


1 Answers

I don't know if that works for WAS 7, but IBM provide support for WAS 6 and Maven integration :

  • http://sdudzin.blogspot.fr/2007/09/maven-2-and-websphere-automated-build.html
  • https://www.ibm.com/developerworks/wikis/download/attachments/113607155/RAD_755_MAVEN_0601.pdf?version=1
  • Maven Integration for RAD7.5 along with automatic Websphere compatible EAR creation
  • http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14486753

A (famous) French IT consulting company list compatibilities with the well known Cargo plugin, that allow remote control on servers : http://blog.xebia.fr/2008/11/05/lintegration-continue-avec-cargo/. But as you can see (even you don't understand french ;D), Websphere is not yes well supported.

It won't probably help you, but the main idea is Maven and WAS 7 integration will probably more painful for you that other servers ;)

like image 132
Jean-Rémy Revy Avatar answered Oct 05 '22 03:10

Jean-Rémy Revy