Files
hsweb-framework/pom.xml
2016-01-21 17:22:58 +08:00

156 lines
5.5 KiB
XML

<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.hsweb</groupId>
<artifactId>hsweb-framework</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<modules>
<module>hsweb-web-dao-interface</module>
<module>hsweb-web-dao-impl-mybatis</module>
<module>hsweb-web-service-interface</module>
<module>hsweb-web-service-impl-common</module>
<module>hsweb-web-controller</module>
<module>hsweb-web-bean</module>
<module>hsweb-web-core</module>
<module>hsweb-web-websocket</module>
</modules>
<properties>
<!-- base setting -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.locales>zh_CN</project.build.locales>
<project.build.jdk>1.7</project.build.jdk>
<junit.version>4.11</junit.version>
<spring.boot.version>1.3.1.RELEASE</spring.boot.version>
<fastjson.version>1.2.6</fastjson.version>
<hibernate.validator.version>5.1.1.Final</hibernate.validator.version>
<webbuilder.version>1.0-SNAPSHOT</webbuilder.version>
</properties>
<build>
<plugins>
<!-- 要将源码放上去,需要加入这个插件 -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${project.build.jdk}</source>
<target>${project.build.jdk}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<excludes>
<exclude>config</exclude>
<exclude>config/**/*</exclude>
<exclude>*.xml</exclude>
<exclude>*.properties</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<!-- test-junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.webbuilder</groupId>
<artifactId>utils</artifactId>
<version>${webbuilder.version}</version>
</dependency>
<!--json-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<!--开发工具-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>${spring.boot.version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>releases</id>
<name>Nexus Release Repository</name>
<url>http://121.199.3.43:8889/nexus/content/repositories/releases/</url>
</repository>
<repository>
<id>snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>http://121.199.3.43:8889/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>releases</id>
<name>Nexus Release Repository</name>
<url>http://121.199.3.43:8889/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>http://121.199.3.43:8889/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>