I'm currently using IBM Rational Application Development (IBM Eclipse distro) for Portlet development and having a small issue with Maven integration.
Here's the situation:
1) IBM RAD has the ability to deploy a Portlet directly from within itself (RUN/DEBUG)
In this case, I'm not using Maven generated WAR at all because IBM RAD seems to create the WAR themselves automagically and push it to IBM WebSphere Portal. Which isn't a big deal so far.
2) Maven dependencies are not copied to WebContent/WEB-INF/lib directory
IBM has its own directory structure: WebContent/WEB-INF and WebContent/META-INF. If I updated pom.xml to include new dependencies, those JARS will not be copied to the WebContent/WEB-INF/lib directory hence when I wanted to RUN/DEBUG the portlet, those libraries will not be included.
Question:
Is there a way to copy the new JARs automatically to the WebContent/WEB-INF/lib folder as soon as I update the pom.xml? (if so, which lifecycle this should be in?)
If there's no perfect solution for question #1, I don't mind if this step is included in the "mvn install" compile/goal.
Prefer not to use ant-task but instead maven own copy utility if exist.
If anyone has suggestions how to integrate Maven and IBM RAD for WebSphere Portlet development, feel free to add more answers.
Thanks