Daniel Qian | 5e0910d | 2014-05-22 09:44:31 +0800 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <groupId>com.supwisdom</groupId> |
| 6 | <artifactId>jdbc-tutorial</artifactId> |
| 7 | <version>1.0-SNAPSHOT</version> |
| 8 | <packaging>jar</packaging> |
| 9 | |
| 10 | <name>jdbc-tutorial</name> |
| 11 | <url>http://maven.apache.org</url> |
| 12 | |
| 13 | <properties> |
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | </properties> |
| 16 | |
| 17 | <dependencies> |
| 18 | <dependency> |
| 19 | <groupId>junit</groupId> |
| 20 | <artifactId>junit</artifactId> |
| 21 | <version>3.8.1</version> |
| 22 | <scope>test</scope> |
| 23 | </dependency> |
| 24 | <dependency> |
| 25 | <groupId>com.h2database</groupId> |
| 26 | <artifactId>h2</artifactId> |
| 27 | <version>1.4.178</version> |
| 28 | </dependency> |
| 29 | </dependencies> |
| 30 | |
| 31 | <build> |
| 32 | <plugins> |
| 33 | <plugin> |
| 34 | <groupId>org.codehaus.mojo</groupId> |
| 35 | <artifactId>exec-maven-plugin</artifactId> |
| 36 | <version>1.3</version> |
| 37 | <configuration> |
| 38 | <includeProjectDependencies>true</includeProjectDependencies> |
| 39 | <mainClass>org.h2.tools.Server</mainClass> |
| 40 | <commandlineArgs>-baseDir ${basedir}</commandlineArgs> |
| 41 | </configuration> |
| 42 | </plugin> |
| 43 | </plugins> |
| 44 | </build> |
| 45 | </project> |