Use Maven to create a WCI Portlet
This is an example of how Maven can be used to help manage jar dependencies to develop a WCI Portlet. This portlet displays a few of your most recent tweets from Twitter. Please see the the Everything Maven Part 2 - Twitter Portlet article for more detail.
In order to compile and build this code, you'll need the following:
Open 'pom.xml', find the xml snippet below, and update with your twitter login and passwordYour Twitter Login Your Twitter Password ...
The following command will test to make sure the code can connect to twitter and retrieve some tweets using the credentials you entered in the pom. If tests pass, it will build a war under a directory named 'target'.
Deploy the war file to your portlet server. For example, you can drop the war into TOMCAT_HOME/webapps
Import the pte file to create appropriate portal objects (Remote Server, Web Service, and Portlet) (coming soon)