This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Does anybody know if there is any Maven 2 plugin for WAS 5 Server available?
I want my WAR/EAR to be deployed automatically, but seems I need a plugin for WAS Server. In Tomcat/Jetty/Jboss deploy I just can configure Maven <distributionManagement> tag to deploy WAR/EAR to a server deploy directory, where it will look for WAR/EAR files, e.g. Tomcat "/webapps" directory, JBoss "server/default/deploy", but WAS seems doesn't have such directory where it looks for WAR/EAR files, all is done via console or a plugin is needed.
Please, tell me how to do a deployment with Maven 2 in WAS automatically or suggest any plugin for this task.
Can't really talk much about how to use it though - I don't use Websphere.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Ihor Komarenko
Greenhorn
Joined: Apr 05, 2007
Posts: 4
posted
0
Thanks Nathan, but I am looking for Maven 2 plugin, not Maven 1 plugin for WAS. sitemaven-plugins.sourceforge.net contains plugins for Apache Maven 1.x, I am looking for similar WAS plugin you've recommended me, but for Maven2.
There *is* a Maven2 version from codehaus, but it's not listed in either their "official" Mojo or their "sandbox" Mojo... ?
add the following to your POM -
Since there's no project page for this plugin on CodeHaus's Mojo page, it's difficult to find the plugin name (was5), goals(ListApplication, StartApplication, EJBDeploy, etc.), and configuration options (wasHome, server, wasCell, wasNode, etc.)... go into your local maven repository and use your favorite Zip tool to unzip was5-maven-plugin-1.1.3-SNAPSHOT.jar - go into the META-INF\maven\ directory inside the JAR and take a look at plugin.xml
Ihor Komarenko
Greenhorn
Joined: Apr 05, 2007
Posts: 4
posted
0
Nate, do you know if a plugin from Codehaus you sent me is the same as this one: WAS 5 Plugin , seems is the same plugin, maybe this one is a previous version of one you sent me before. Anyways, both plugins are just snapshots/beta. Do you know if any stable plugin is available?
I *think* it's the same plugin (actually, I think the jira post probably is about the 1.1 version - the latest snapshot is 1.1.3)...
Unfortunately, I think you're stuck with using the SNAPSHOT release for Websphere deployment.
I have to use a SNAPSHOT release for Weblogic deployment, too, and I haven't had any problems using it. (yet... ) So it seems pretty "stable" even though they haven't "officially" released it.
I wish that they would make an actual release of these so developers don't have to put in Maven "black magic" and extra repositories to get these plugins.
Ihor Komarenko
Greenhorn
Joined: Apr 05, 2007
Posts: 4
posted
0
Nate, thank you very much for your help.
Could you please provide a simple basic configuration for a WAS plugin you are using and some available goals? I know that plugin.xml has all this, but having a basic configuration will save my time and a lot of effort.
Sorry - I'm using Weblogic, not Websphere - so I don't have any valid values to supply the plugin with on my machine. I just know how to get the plugin into the POM because I had to do similar things to get the Weblogic plugin working.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Maven 2 Plugin for WebSphere Application Server 5