How to automatically recover Tomcat from crashes

A script which automatically detects that tomcat has crashed and restarts it.

Maven Docbook for beginners

This articles helps you get started with your first Docbook based documentation for your Maven project in 5 minutes. It shows you how to setup pom.xml, write a sample docbook and generate HTML documentation. It also includes references to where you can learn how to write comprehensive Docbook files.

Tweet your builds with Maven Twitter Plugin

Maven Twitter Plugin lets you send Twitter status updates from Maven, without writing any Java code. It increases communication between Project owners and Project users by automatically tweeting build and release status via Twitter.

How to automate project versioning and release with Maven

This tutorial shows you how to tag your maven project in a source control system (like CVS, Subversion) and release the versioned “jar” or “war” to a remote repository, and all of this with a single maven command! You can even automate the entire release process by running the command in a cronjob or a Continuous Integration system.

First look at Selenium Inspector

Last week, Team Dev released Selenium Inspector – an Java API wrapper over the existing Selenium Java API. This article compares the same program written in 3 different ways: Selenese (HTML) using Selenium IDE, in Java using Selenium Java API and in Java using Selenium Inspector API.

How to SSH without password

This simple tutorial explains how to SSH to a remote machine without typing your password. Same technique works for password less scp as well.

New Java Framework “Clickframes” 0.9 beta released!

Clickframes is a new Java Framework. You’ve heard of self-documenting code – Clickframes provides self-coding documentation. From a Clickframes XML spec, software developers can generate fully-functional, enterprise-class MVC code that’s easy to evolve as the project proceeds, and eliminates a lot of the tedious coding usually needed to get the app running and to provide minor changes in functionality.

The plugin ‘org.codehaus.mojo:selenium-maven-plugin’ does not exist or no valid version could be found

The latest snapshot of selenium-maven-plugin does not work with the maven version < 2.0.9. If your maven seleinum plugin stops working and you get this error, you may have an older version of maven and you’ll need to upgrade you maven version to 2.0.9 or higher to fix this error.

Maven Cargo JBoss

This article shows how to deploy your war to JBoss using maven and cargo. It also shows how to integration test your JBoss applications using selenium by automatically deploying the war, running the tests and then automatically undeploying the war. All using maven, selenium and cargo!

It is a good practice to startup JBoss outside the scope of maven and use cargo to redeploy your app. Cargo uses the jmx-console over http to deploy and no file path configuration is needed! This only works with JBoss running locally as a file: reference to the war file is passed over http.

See articles for details and code snippets.

How to auto-generate Maven plugin documentation

This article assumes that you are familiar with writing maven plugins and describes how you can automatically generate your plugin documentation, and keep it in sync with the plugin code. It shows you how to automatically generate documentation on plugin goals, including documentation for command line or other optional parameters required by the plugin.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes