123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481 |
- <?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>
- <parent>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-app</artifactId>
- <version>1.0.1</version>
- </parent>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-web</artifactId>
- <version>1.0.1</version>
- <packaging>war</packaging>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-3rd-hik9800</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-core</artifactId>
- <version>1.0.1</version>
- <exclusions>
- <exclusion>
- <artifactId>logback-core</artifactId>
- <groupId>ch.qos.logback</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-webcore</artifactId>
- <version>1.0.1</version>
- <exclusions>
- <exclusion>
- <artifactId>commons-beanutils</artifactId>
- <groupId>commons-beanutils</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-websocket</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-cache</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-log2jms</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-log2es</artifactId>
- <version>1.0.1</version>
- <exclusions>
- <exclusion>
- <artifactId>guava</artifactId>
- <groupId>com.google.guava</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-log2es-browser</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-transport-message</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-transport-server</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-transport-web</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-cm</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-order</artifactId>
- <version>1.0.1</version>
- </dependency>
- <!--<dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-eventcenter</artifactId>
- <version>1.0.1</version>
- </dependency>-->
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-video</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-notification</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-api-detect</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-api-wechat</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-api-link</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-api-ws</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-api-insight</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-api-datareport</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-transport-stats</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-operation</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-wechat</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-document</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-reception</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-faq</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-3rd-hik9800</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-transport-api-sync</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-detect</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-report</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-pm-task</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-pm-project</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-pm-knowledge</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-global-waterquality</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.qhiot</groupId>
- <artifactId>qhiot-artificialwater</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>javax</groupId>
- <artifactId>javaee-api</artifactId>
- <version>7.0</version>
- <scope>provided</scope>
- </dependency>
- <!-- Spring -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${springframework.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${springframework.version}</version>
- </dependency>
- <!-- Database -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>1.0.29</version>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.25</version>
- </dependency>
- <!-- Log -->
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-api</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-web</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>com.lmax</groupId>
- <artifactId>disruptor</artifactId>
- <version>3.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>1.7.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-1.2-api</artifactId>
- <version>${log4j2.version}</version>
- </dependency>
- <dependency>
- <groupId>org.fusesource.jansi</groupId>
- <artifactId>jansi</artifactId>
- <version>1.17</version>
- </dependency>
- <!-- SpringMVC Viewer -->
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>2.3.27-incubating</version>
- </dependency>
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity</artifactId>
- <version>1.7</version>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.3.1</version>
- </dependency>
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>1.8.6</version>
- </dependency>
- <dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <version>1.1.0.Final</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.1.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-server</artifactId>
- <version>9.2.17.v20160517</version>
- <scope>test</scope>
- </dependency>
- <!-- Web Server -->
- <!--
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- <version>9.2.17.v20160517</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jsp</artifactId>
- <version>9.2.17.v20160517</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-continuation</artifactId>
- <version>9.2.17.v20160517</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-server</artifactId>
- <version>9.2.17.v20160517</version>
- </dependency>
- -->
- </dependencies>
- <build>
- <finalName>qhiot-web</finalName>
- <resources>
- <resource>
- <directory>src/main/java</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- <exclude>**/sass/**</exclude>
- <exclude>**/*.scss</exclude>
- </excludes>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <excludes>
- <exclude>production/**</exclude>
- <exclude>development/**</exclude>
- <exclude>test/**</exclude>
- <exclude>xls/**</exclude>
- </excludes>
- <filtering>true</filtering>
- </resource>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>xls/**</include>
- </includes>
- <filtering>false</filtering>
- </resource>
- <resource>
- <directory>src/main/resources/${profiles.active}</directory>
- </resource>
- </resources>
- <plugins>
- <!--<plugin>-->
- <!--<groupId>net.alchim31.maven</groupId>-->
- <!--<artifactId>yuicompressor-maven-plugin</artifactId>-->
- <!--<version>1.5.1</version>-->
- <!--<executions>-->
- <!--<execution>-->
- <!--<goals>-->
- <!--<goal>compress</goal>-->
- <!--</goals>-->
- <!--</execution>-->
- <!--</executions>-->
- <!--<configuration>-->
- <!--<encoding>UTF-8</encoding>-->
- <!--<jswarn>false</jswarn>-->
- <!--<nosuffix>true</nosuffix>-->
- <!--<excludes>-->
- <!--<exclude>**/plugins/**</exclude>-->
- <!--<exclude>**/cache/**</exclude>-->
- <!--<exclude>**/weui/**</exclude>-->
- <!--<exclude>**/sass/**</exclude>-->
- <!--<exclude>**/*.scss</exclude>-->
- <!--</excludes>-->
- <!--<includes>-->
- <!--<include>**/*.js</include>-->
- <!--<include>**/*.css</include>-->
- <!--</includes>-->
- <!--</configuration>-->
- <!--</plugin>-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>3.1.0</version>
- <configuration>
- <warSourceExcludes>static/sass/**,static/css/**,static/scripts/**,static/cache/**</warSourceExcludes>
- <packagingExcludes>static/sass/**,static/cache/**</packagingExcludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <!-- 本地开发环境 -->
- <id>development</id>
- <properties>
- <profiles.active>development</profiles.active>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile>
- <!-- 测试环境 -->
- <id>test</id>
- <properties>
- <profiles.active>test</profiles.active>
- </properties>
- </profile>
- <profile>
- <!-- 生产环境 -->
- <id>production</id>
- <properties>
- <profiles.active>production</profiles.active>
- </properties>
- </profile>
- </profiles>
- </project>
|