Build/Source

TwitterFacebook
Get flash to fully experience Pearltrees
The default Maven root project object model provides very good defaults that declare what needs to be done in most cases. Sometimes you need a bit more or different and Maven lets you do that. In this first episode I’ll show you how to filter your source files. http://connect.gxsoftware.com/Blogs/Bram-de-Kruijff/Maven-secrets-filtering-sources.htm

Maven secrets: filtering sources - Connect

JavaFAQ Home » Java Tools This article is not about religious war between two groups of developers, it is about what is real difference between two tools and why in one case you choose Ant and in another Maven. It help you if you f you in a hurry to make a choice between two Java build tools. http://www.javafaq.nu/java-article1168.html

Maven vs Ant or Ant vs Maven?

Maven or Ant?

We Recommend These Resources http://java.dzone.com/news/maven-or-ant

Running Apache Ant

Command Line If you've installed Apache Ant as described in the Installing Ant section, running Ant from the command-line is simple: just type ant . When no arguments are specified, Ant looks for a build.xml file in the current directory and, if found, uses that file as the build file and runs the target specified in the default attribute of the <project> tag. http://ant.apache.org/manual/running.html
Apache Ant™ Apache Ant is a Java library and command-line tool that help building software.

Ant - Binary Distributions

http://ant.apache.org/bindownload.cgi
Often times you will have 3rd party JARs that you need to put in your local repository for use in your builds. The JARs must be placed in the local repository in the correct place in order for it to be correctly picked up by Maven. http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

Maven - Installing 3rd party jars

http://maven.apache.org/plugins/maven-compiler-plugin/

Maven Compiler plugin - Introduction

The Compiler Plugin is used to compile the sources of your project. The default compiler is javac and is used to compile Java sources.

Maven Ear plugin - ear:ear

http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html Builds J2EE Enterprise Archive (EAR) files. Parameter Details The location of a custom application.xml file to be used within the EAR file.