Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

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.

Prerequisites

In order to compile and build this code, you'll need the following:

Installation

  1. Open 'pom.xml', find the xml snippet below, and update with your twitter login and password

    Your Twitter Login Your Twitter Password ...
  2. 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'.

    mvn install

  3. Deploy the war file to your portlet server. For example, you can drop the war into TOMCAT_HOME/webapps

  4. Import the pte file to create appropriate portal objects (Remote Server, Web Service, and Portlet) (coming soon)

About

Demonstration of how to use Git and Maven to manage code for a WCI IDK Portlet that lists a few of a user's latest tweets from Twitter.

Resources

Releases

No releases published

Packages

No packages published

Languages