Integrating WebSphere EJB Deploy Ant Task with Maven 2
by Peter PilgrimMaven 2.0 has a valuable plug-in called maven-ejb-plugin, which creates an EJB-JAR file from a series of classes and resources. Unfortunately maven-ejb-plugin, since it is open source, does not know to build proprietary skeletons and stubs for commercial application server. In other words it does not compile or generate EJB application server specific artifacts. For Websphere this means running a specific EJB compiler. Compare this behaviour directly with the Ant EJB doclet task. How does one intercept the workings of the maven-ejb-plugin such that we can instrument EJB JAR with the Websphere EJB compiler?
Maven 2 and WebSphere - automated build and deployment of J2EE applications
muestra los pom.xml COMPLETOS para EJB, WAR, EAR y parent, partiendo del link anterior de Peter PilgrimWAS6 maven plugin
TODO: probar una aplicación JEE5 simple, sin Seam, desplegarla en WAS7 y correrlaThis plugin can be used to
- Generate EJB stub code
- Generate or modify resource descriptor
- Deploy EARs to targets (servers and/or clusters)
- Start/stop applications
- Start/stop targets (servers and/or clusters).
- Execute arbitrary scripts controlling WAS environments.
- Generate EAR files suitable for deploying into a WebSphere Process Server environment using ServiceDeploy.
No hay comentarios:
Publicar un comentario