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.

Code Generation for Web Applications with Clickframes

Clickframes is a Code Generation framework written in Java designed specifically to generate (Java) web applications. Clickframes lets you jump start your new project with working generated code at minute zero. Keep what you’ve learnt in one project and reuse in another project using Clickframes Code Generation templates, or simply use the templates that come with Clickframes. The key to the Clickframes approach is separating what an application does and how it does it. What an application does is specific to the project, but how it does it can be generalized and reused across multiple project using code generation.

Publishing to Maven Central Repo in 5 steps

If you need to share your Maven artifacts with the world, you too can publish it on the official Maven repo! Let others discover your artifacts without any repository configuration. This article is intended to be a practical, step by step and easy to follow tutorial to publish your artifacts to the central repo.

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.

3 ways to run Java main from Maven

Maven exec plugin lets you run the main method of a Java class in your project, with the project dependencies automatically included in the classpath. This article show you 3 ways of using the maven exec plugin to run java, with code examples. This approach is useful in many scenarios including migration of existing tasks from ant to maven.

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.

JAXB code snippets for beginners

JAXB is a Java library used for reading and writing XML files. Unlike DOM or SAX, JAXB is a high level library that maps XML directly to Java Objects. You point JAXB to an XML file and it returns you a Java object representing the XML. While JAXB is easy to use, it may take some time to get started. I’ve documented everything that you need to know, with code snippets, to help you start using JAXB in a few minutes.

Maven FAQ and code snippets for beginners

I have been using Maven with eclipse for two years and have found many simple and useful maven plugins and features like automatically downloading java sources, javadocs, running in an embedded container, importing the project to eclipse. Here’s a list of some useful code snippets and use case scenarios that I hope other maven beginners would find useful.

Get Adobe Flash playerPlugin by wordpress themes