日期:2014-05-17 浏览次数:20809 次
<?xml version="1.0" encoding="UTF-8" ?>
- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>sm</groupId>
<artifactId>sm-pom</artifactId>
<packaging>pom</packaging>
<name>sm-pom</name>
<version>1.0-SNAPSHOT</version>
- <profiles>
- <profile>
<id>web</id>
- <activation>
- <property>
<name>web</name>
</property>
</activation>
- <modules>
<module>sm-api</module>
<module>sm-service</module>
<module>sm-web</module>
</modules>
</profile>
</profiles>
- <!-- 變量、屬性聲明
-->
- <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring.version>3.0.5.RELEASE</spring.version>
<junit.version>4.8.2</junit.version>
<jsf.version>2.1</jsf.version>
<jdk.version>1.6</jdk.version>
- <!-- Database settings, also defined in src/main/jdbc.properties for easy
IDE testing
-->
<hibernate.dialect>org.hibernate.dialect.MySQLDialect</hibernate.dialect>
<jdbc.groupId>mysql</jdbc.groupId>
<jdbc.artifactId>mysql-connector-java</jdbc.artifactId>
<jdbc.version>5.1.13</jdbc.version>
<jdbc.driverClassName>com.mysql.jdbc.Driver</jdbc.driverClassName>
</properties>
- <build>
- <plugins>
- <plugin>
<grou