Maven

Work offline
-o

skip tests
-DskipTests


 * taken from http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html

Dependency scope
Maven provides four dependency scopes :
 * compile: A compile-scope dependency is available in all phases. This is the default value.
 * provided: A provided dependency is used to compile the application, but will not be deployed. You would use this scope when you expect the JDK or application server to provide the JAR. The servlet APIs are a good example.
 * runtime: Runtime-scope dependencies are not needed for compilation, only for execution, such as JDBC (Java Database Connectivity) drivers.
 * test: Test-scope dependencies are needed only to compile and run tests (JUnit, for example).

persistence.xml
 
 * in

java:/DefaultDS  

Overlays
you need the type of war and scope of runtime

maven lifecycle

 * http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Java 1.6
N.B. not that the source tag is not closed. This is just a hack to get it to display on this wiki.