123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <?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>
- <module>hsweb-web-test</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>
- <aspectj.version>1.6.12</aspectj.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>sql-util</artifactId>
- <version>${webbuilder.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </exclusion>
- </exclusions>
- </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-starter-logging</artifactId>
- <version>${spring.boot.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</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>
|