| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <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>com.uas.report</groupId>
- <artifactId>report</artifactId>
- <packaging>war</packaging>
- <version>0.0.1-SNAPSHOT</version>
- <name>report Maven Webapp</name>
- <url>http://maven.apache.org</url>
- <profiles>
- <!-- 开发环境 -->
- <profile>
- <id>dev</id>
- <properties>
- <profile>dev</profile>
- </properties>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <!-- 测试环境 -->
- <profile>
- <id>test</id>
- <properties>
- <profile>test</profile>
- </properties>
- </profile>
- <!-- 正式环境 -->
- <profile>
- <id>prod</id>
- <properties>
- <profile>prod</profile>
- </properties>
- </profile>
- </profiles>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <oracle.jdbc.version>11.2.0</oracle.jdbc.version>
- <spring.version>4.1.6.RELEASE</spring.version>
- <log4j.version>1.2.16</log4j.version>
- <servlet.version>3.0-alpha-1</servlet.version>
- <commons.dbcp.version>1.4</commons.dbcp.version>
- <druid.version>1.0.24</druid.version>
- <jasperreports.version>6.3.0</jasperreports.version>
- <groovy.version>2.4.7</groovy.version>
- <poi.version>3.10.1</poi.version>
- <commons.fileupload.version>1.3.2</commons.fileupload.version>
- <fastjson.version>1.1.39</fastjson.version>
- <httpclient.version>4.5.2</httpclient.version>
- <aspectjweaver.version>1.8.9</aspectjweaver.version>
- </properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>${servlet.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <!-- log4j -->
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- </dependency>
- <!-- spring-webmvc -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <dependency>
- <groupId>com.oracle</groupId>
- <artifactId>ojdbc6</artifactId>
- <version>${oracle.jdbc.version}</version>
- </dependency>
- <!-- 打印报表 -->
- <dependency>
- <groupId>net.sf.jasperreports</groupId>
- <artifactId>jasperreports</artifactId>
- <version>${jasperreports.version}</version>
- </dependency>
- <dependency>
- <groupId>net.sf.jasperreports</groupId>
- <artifactId>jasperreports-functions</artifactId>
- <version>${jasperreports.version}</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <version>${groovy.version}</version>
- </dependency>
- <!-- 导出xls报表 -->
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${poi.version}</version>
- </dependency>
- <!-- 自制中文字体 - 微软雅黑 -->
- <dependency>
- <groupId>com.uas.report</groupId>
- <artifactId>msyahei</artifactId>
- <version>1.0.0</version>
- </dependency>
- <!-- 文件上传 -->
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>${commons.fileupload.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>${fastjson.version}</version>
- </dependency>
- <!-- HTTP请求 -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${httpclient.version}</version>
- </dependency>
- <!-- aspectjweaver -->
- <dependency>
- <groupId>org.aspectj</groupId>
- <artifactId>aspectjweaver</artifactId>
- <version>${aspectjweaver.version}</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>report</finalName>
- <!-- 受环境隔离影响的目录 -->
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <!-- 解决maven项目jre版本默认为1.5的问题 -->
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
- <configuration>
- <encoding>${project.build.sourceEncoding}</encoding>
- <source>1.7</source>
- <target>1.7</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|