Maven Dependency Management for running RichFaces project on WebSphere 6.1
It is somewhat troubling issue when trying to deploy the same project in different environments. Some Application Servers (AS) ship their own versions of different library's. This will cause the same application to fail or run on different AS. For example, JBoss ships the JSF Library's while WebSphere does not. Examples are numerous.
Here is how you can configure Maven to build your RichFaces Application with all the needed Jar's and up and running to WebSphere AS 6.1. - WebSphere Porta 6.1
NOTE: This might not work for another Server version!?
4.0.0 de.mycompany.group.id myproject-artifact-id war Basic RichFaces on WebSphere 1.0 Basis RichFaces Project running on WebSphere 6.1 maven-compiler-plugin 1.5 1.5
NOTE: Some of the dependencies might be included in the Dependency Management section, but not in the dependency. This is due to copy paste reasons. Just ignore, so will Maven do as well.
No comments:
Post a Comment