|
@@ -1,335 +0,0 @@
|
|
|
-<?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.elab.core</groupId>
|
|
|
- <artifactId>elab-parent</artifactId>
|
|
|
- <version>2.0.0</version>
|
|
|
- </parent>
|
|
|
-
|
|
|
- <groupId>com.elab.core</groupId>
|
|
|
- <artifactId>elab-core</artifactId>
|
|
|
- <version>2.0.0</version>
|
|
|
- <packaging>jar</packaging>
|
|
|
-
|
|
|
- <properties>
|
|
|
- <java-version>1.8</java-version>
|
|
|
- <profiles.active>test</profiles.active>
|
|
|
- <springframework.version>4.1.6.RELEASE</springframework.version>
|
|
|
- </properties>
|
|
|
- <!-- jetty插件 -->
|
|
|
- <build>
|
|
|
-
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <source>${java-version}</source>
|
|
|
- <target>${java-version}</target>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.eclipse.jetty</groupId>
|
|
|
- <artifactId>jetty-maven-plugin</artifactId>
|
|
|
- <version>9.4.5.v20170502</version>
|
|
|
- <configuration>
|
|
|
- <stopPort>9981</stopPort>
|
|
|
- <stopKey>foo</stopKey>
|
|
|
- <scanIntervalSeconds>10</scanIntervalSeconds>
|
|
|
-
|
|
|
- <httpConnector>
|
|
|
- <port>8080</port>
|
|
|
- </httpConnector>
|
|
|
- <webAppConfig>
|
|
|
- <contextPath>/elab</contextPath>
|
|
|
- </webAppConfig>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
- <version>2.1.1</version>
|
|
|
- <configuration>
|
|
|
- <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
|
|
|
- <warName>${profiles.active}</warName>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <excludes>
|
|
|
- <exclude>com/elab/core/controller/HelloController.class</exclude>
|
|
|
- <exclude>com/elab/core/service/**</exclude> <!--排除一些不需要打包的class文件,此处是排除aboutjar包下的所有class文件-->
|
|
|
- <exclude>com/elab/core/dao/IHelloDao.class</exclude>
|
|
|
- <exclude>com/elab/core/dao/impl/**</exclude>
|
|
|
- <exclude>com/elab/core/models/**</exclude>
|
|
|
- <exclude>applicationContext-datasource.xml</exclude>
|
|
|
- <exclude>global-config.xml</exclude>
|
|
|
- <exclude>META-INF/app.properties</exclude>
|
|
|
- <exclude>spring-mvc.xml</exclude>
|
|
|
- <exclude>database.properties</exclude>
|
|
|
- <exclude>dictionary/**</exclude>
|
|
|
- <exclude>sql/**</exclude>
|
|
|
- </excludes>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- 打包源码插件 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-source-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>attach-sources</id>
|
|
|
- <goals>
|
|
|
- <goal>jar</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <!-- 打包javadoc插件 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
- <!--<version>2.9</version>-->
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>attach-javadocs</id>
|
|
|
- <goals>
|
|
|
- <goal>jar</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <additionalparam>-Xdoclint:none</additionalparam>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
-
|
|
|
-
|
|
|
- <distributionManagement>
|
|
|
- <repository>
|
|
|
- <id>releases</id>
|
|
|
- <name>Nexus Release Repository</name>
|
|
|
- <url>http://192.168.0.11:8081/nexus/content/repositories/elab/</url>
|
|
|
- </repository>
|
|
|
- </distributionManagement>
|
|
|
-
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>mysql</groupId>
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
- <version>5.1.18</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- Spring Core -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-core</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- context -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-context</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- context -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-context-support</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- jdbc -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-jdbc</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- tx -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-tx</artifactId> <!--spring transaction-->
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- beans -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-beans</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- aop -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-aop</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- webmvc -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-webmvc</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- web -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-web</artifactId>
|
|
|
- <version>${springframework.version}</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- 数据源 -->
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>druid</artifactId>
|
|
|
- <version>1.1.6</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- 工具 -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
- <version>1.2.16</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- https://mvnrepository.com/artifact/commons-net/commons-net -->
|
|
|
- <dependency>
|
|
|
- <groupId>commons-net</groupId>
|
|
|
- <artifactId>commons-net</artifactId>
|
|
|
- <version>3.1</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.aspectj</groupId>
|
|
|
- <artifactId>aspectjweaver</artifactId>
|
|
|
- <version>1.8.4</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <version>18.0</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- xml解析 -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
- <artifactId>jackson-databind</artifactId>
|
|
|
- <version>2.2.2</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- 中文转pinyin -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.belerweb</groupId>
|
|
|
- <artifactId>pinyin4j</artifactId>
|
|
|
- <version>2.5.0</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.codehaus.plexus</groupId>
|
|
|
- <artifactId>plexus-utils</artifactId>
|
|
|
- <version>3.0.8</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>slf4j-api</artifactId>
|
|
|
- <version>1.7.21</version>
|
|
|
- </dependency>
|
|
|
- <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>slf4j-log4j12</artifactId>
|
|
|
- <version>1.7.21</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- log4j 日志 本地存储 -->
|
|
|
- <!--<dependency>
|
|
|
- <groupId>log4j</groupId>
|
|
|
- <artifactId>log4j</artifactId>
|
|
|
- <version>1.2.16</version>
|
|
|
- </dependency>
|
|
|
--->
|
|
|
- <!-- log4 日志 mongodb数据库存储 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.log4mongo</groupId>
|
|
|
- <artifactId>log4mongo-java</artifactId>
|
|
|
- <version>0.7.4</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.commons</groupId>
|
|
|
- <artifactId>commons-lang3</artifactId>
|
|
|
- <version>3.4</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!--发送邮件 -->
|
|
|
- <dependency>
|
|
|
- <groupId>javax.mail</groupId>
|
|
|
- <artifactId>mail</artifactId>
|
|
|
- <version>1.4.1</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- 模板 -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.freemarker</groupId>
|
|
|
- <artifactId>freemarker</artifactId>
|
|
|
- <version>2.3.16</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- servlet -->
|
|
|
- <dependency>
|
|
|
- <groupId>javax.servlet</groupId>
|
|
|
- <artifactId>javax.servlet-api</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- 文件上传 -->
|
|
|
- <dependency>
|
|
|
- <groupId>commons-fileupload</groupId>
|
|
|
- <artifactId>commons-fileupload</artifactId>
|
|
|
- <version>1.3.1</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- encoding -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.axis</groupId>
|
|
|
- <artifactId>axis</artifactId>
|
|
|
- <version>1.4</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!--<dependency>-->
|
|
|
- <!--<groupId>com.dianping.cat</groupId>-->
|
|
|
- <!--<artifactId>cat-core</artifactId>-->
|
|
|
- <!--<version>2.0.0</version>-->
|
|
|
- <!--</dependency>-->
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <version>4.12</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
-
|
|
|
-
|
|
|
-</project>
|