Skip to content

Instantly share code, notes, and snippets.

View tranminhan's full-sized avatar

Tran Minh An tranminhan

View GitHub Profile
@tranminhan
tranminhan / Maven archetype for simple servlet 2.5
Created April 11, 2011 18:20
Maven archetype for simple servlet 2.5
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<display-name>Archetype Created Web Application</display-name>
</web-app>
@tranminhan
tranminhan / maven-compiler-plugin-config
Created April 11, 2011 16:22
maven config to use a specific java source version
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>