- Make sure that your GateIn Portal instance is running.
- Open a command line and navigate to the root directory of your portlet project.
- Type this command to build and deploy the archive:
To deploy to other than default localhost:9999 JBoss instance, copy the following configuration
just after <version>${jboss.as.plugin.version}</version> in the pom.xml file and adjust it to suit your needs.
Note that <username> and <password> elements can be omitted sometimes, depending on your JBoss security settings.
This will deploy target/simplest-hello-world-portlet.war to the running instance of the portal.
Further Steps
To be able to see a freshly deployed portlet in action, you need to import it and add it to a page.
Labels:
None
1 Comment
comments.show.hideJan 17, 2013
Russell Dickenson
Incorporated docs into enterprise docs up to version 2.