|  | @ -308,23 +308,11 @@
 | 
	
		
			
				|  |  |             <groupId>org.springframework.boot</groupId>
 | 
	
		
			
				|  |  |             <artifactId>spring-boot</artifactId>
 | 
	
		
			
				|  |  |         </dependency>
 | 
	
		
			
				|  |  |         <dependency>
 | 
	
		
			
				|  |  |             <groupId>org.springframework.boot</groupId>
 | 
	
		
			
				|  |  |             <artifactId>spring-boot-actuator-docs</artifactId>
 | 
	
		
			
				|  |  |         </dependency>
 | 
	
		
			
				|  |  |         <!--<dependency>-->
 | 
	
		
			
				|  |  |         <!--<groupId>org.springframework.boot</groupId>-->
 | 
	
		
			
				|  |  |         <!--<artifactId>spring-boot-devtools</artifactId>-->
 | 
	
		
			
				|  |  |         <!--<version>${version.spring-boot}</version>-->
 | 
	
		
			
				|  |  |         <!--</dependency>-->
 | 
	
		
			
				|  |  |         <dependency>
 | 
	
		
			
				|  |  |             <groupId>org.springframework.boot</groupId>
 | 
	
		
			
				|  |  |             <artifactId>spring-boot-starter-actuator</artifactId>
 | 
	
		
			
				|  |  |         </dependency>
 | 
	
		
			
				|  |  |         <dependency>
 | 
	
		
			
				|  |  |             <groupId>org.springframework.boot</groupId>
 | 
	
		
			
				|  |  |             <artifactId>spring-boot-actuator</artifactId>
 | 
	
		
			
				|  |  |         </dependency>
 | 
	
		
			
				|  |  |         <dependency>
 | 
	
		
			
				|  |  |             <groupId>org.springframework.boot</groupId>
 | 
	
		
			
				|  |  |             <artifactId>spring-boot-starter-aop</artifactId>
 | 
	
	
		
			
				|  | @ -418,37 +406,88 @@
 | 
	
		
			
				|  |  |         <!--<artifactId>spring-boot-starter-data-elasticsearch</artifactId>-->
 | 
	
		
			
				|  |  |         <!--<version>1.3.5.RELEASE</version>-->
 | 
	
		
			
				|  |  |         <!--</dependency>-->
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         <!--oracle驱动-->
 | 
	
		
			
				|  |  |         <dependency>
 | 
	
		
			
				|  |  |             <groupId>com.oracle</groupId>
 | 
	
		
			
				|  |  |             <artifactId>ojdbc6</artifactId>
 | 
	
		
			
				|  |  |             <version>11.2.0.3</version>
 | 
	
		
			
				|  |  |         </dependency>
 | 
	
		
			
				|  |  |     </dependencies>
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     <build>
 | 
	
		
			
				|  |  |         <finalName>svr-statistics-es</finalName>
 | 
	
		
			
				|  |  |         <plugins>
 | 
	
		
			
				|  |  |             <!--打成war包需要的配置-->
 | 
	
		
			
				|  |  |             <plugin>
 | 
	
		
			
				|  |  |                 <groupId>org.springframework.boot</groupId>
 | 
	
		
			
				|  |  |                 <artifactId>spring-boot-maven-plugin</artifactId>
 | 
	
		
			
				|  |  |             </plugin>
 | 
	
		
			
				|  |  |             <plugin>
 | 
	
		
			
				|  |  |                 <artifactId>maven-war-plugin</artifactId>
 | 
	
		
			
				|  |  |                 <groupId>org.apache.maven.plugins</groupId>
 | 
	
		
			
				|  |  |                 <artifactId>maven-jar-plugin</artifactId>
 | 
	
		
			
				|  |  |                 <configuration>
 | 
	
		
			
				|  |  |                     <failOnMissingWebXml>false</failOnMissingWebXml>
 | 
	
		
			
				|  |  |                     <archive>
 | 
	
		
			
				|  |  |                         <!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 -->
 | 
	
		
			
				|  |  |                         <addMavenDescriptor>false</addMavenDescriptor>
 | 
	
		
			
				|  |  |                         <manifest>
 | 
	
		
			
				|  |  |                             <!-- 是否要把第三方jar加入到类构建路径 -->
 | 
	
		
			
				|  |  |                             <addClasspath>true</addClasspath>
 | 
	
		
			
				|  |  |                             <!-- 外部依赖jar包的最终位置 -->
 | 
	
		
			
				|  |  |                             <classpathPrefix>lib/</classpathPrefix>
 | 
	
		
			
				|  |  |                             <mainClass>com.yihu.wlyy.Application</mainClass>
 | 
	
		
			
				|  |  |                         </manifest>
 | 
	
		
			
				|  |  |                     </archive>
 | 
	
		
			
				|  |  |                 </configuration>
 | 
	
		
			
				|  |  |             </plugin>
 | 
	
		
			
				|  |  |             <!--拷贝依赖到jar外面的lib目录-->
 | 
	
		
			
				|  |  |             <plugin>
 | 
	
		
			
				|  |  |                 <groupId>org.apache.maven.plugins</groupId>
 | 
	
		
			
				|  |  |                 <artifactId>maven-compiler-plugin</artifactId>
 | 
	
		
			
				|  |  |                 <artifactId>maven-dependency-plugin</artifactId>
 | 
	
		
			
				|  |  |                 <executions>
 | 
	
		
			
				|  |  |                     <execution>
 | 
	
		
			
				|  |  |                         <id>copy-lib</id>
 | 
	
		
			
				|  |  |                         <phase>package</phase>
 | 
	
		
			
				|  |  |                         <goals>
 | 
	
		
			
				|  |  |                             <goal>copy-dependencies</goal>
 | 
	
		
			
				|  |  |                         </goals>
 | 
	
		
			
				|  |  |                         <configuration>
 | 
	
		
			
				|  |  |                             <!-- 依赖包输出目录,将来不打进jar包里 -->
 | 
	
		
			
				|  |  |                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
 | 
	
		
			
				|  |  |                             <excludeTransitive>false</excludeTransitive>
 | 
	
		
			
				|  |  |                             <stripVersion>false</stripVersion>
 | 
	
		
			
				|  |  |                             <includeScope>runtime</includeScope>
 | 
	
		
			
				|  |  |                         </configuration>
 | 
	
		
			
				|  |  |                     </execution>
 | 
	
		
			
				|  |  |                 </executions>
 | 
	
		
			
				|  |  |             </plugin>
 | 
	
		
			
				|  |  |             <!--指定配置文件,将resources打成外部resource-->
 | 
	
		
			
				|  |  |             <plugin>
 | 
	
		
			
				|  |  |                 <groupId>org.apache.maven.plugins</groupId>
 | 
	
		
			
				|  |  |                 <artifactId>maven-jar-plugin</artifactId>
 | 
	
		
			
				|  |  |                 <configuration>
 | 
	
		
			
				|  |  |                     <source>1.8</source>
 | 
	
		
			
				|  |  |                     <target>1.8</target>
 | 
	
		
			
				|  |  |                     <archive>
 | 
	
		
			
				|  |  |                         <!-- 指定配置文件目录,这样jar运行时会去找到同目录下的resources文件夹下查找 -->
 | 
	
		
			
				|  |  |                         <manifestEntries>
 | 
	
		
			
				|  |  |                             <Class-Path>resources/</Class-Path>
 | 
	
		
			
				|  |  |                         </manifestEntries>
 | 
	
		
			
				|  |  |                     </archive>
 | 
	
		
			
				|  |  |                     <!-- 打包时忽略的文件(也就是不打进jar包里的文件) -->
 | 
	
		
			
				|  |  |                     <excludes>
 | 
	
		
			
				|  |  |                         <exclude>**/*.yml</exclude>
 | 
	
		
			
				|  |  |                         <exclude>**/*.xml</exclude>
 | 
	
		
			
				|  |  |                     </excludes>
 | 
	
		
			
				|  |  |                 </configuration>
 | 
	
		
			
				|  |  |                 <version>3.1</version>
 | 
	
		
			
				|  |  |             </plugin>
 | 
	
		
			
				|  |  |             <!-- 拷贝资源文件 外面的resource目录-->
 | 
	
		
			
				|  |  |             <plugin>
 | 
	
		
			
				|  |  |                 <artifactId>maven-resources-plugin</artifactId>
 | 
	
		
			
				|  |  |                 <executions>
 | 
	
		
			
				|  |  |                     <execution>
 | 
	
		
			
				|  |  |                         <id>copy-dependencies</id>
 | 
	
		
			
				|  |  |                         <phase>package</phase>
 | 
	
		
			
				|  |  |                         <goals>
 | 
	
		
			
				|  |  |                             <goal>copy-resources</goal>
 | 
	
		
			
				|  |  |                         </goals>
 | 
	
		
			
				|  |  |                         <configuration>
 | 
	
		
			
				|  |  |                             <!-- 资源文件输出目录 -->
 | 
	
		
			
				|  |  |                             <outputDirectory>${project.build.directory}/resources</outputDirectory>
 | 
	
		
			
				|  |  |                             <resources>
 | 
	
		
			
				|  |  |                                 <resource>
 | 
	
		
			
				|  |  |                                     <directory>src/main/resources</directory>
 | 
	
		
			
				|  |  |                                 </resource>
 | 
	
		
			
				|  |  |                             </resources>
 | 
	
		
			
				|  |  |                         </configuration>
 | 
	
		
			
				|  |  |                     </execution>
 | 
	
		
			
				|  |  |                 </executions>
 | 
	
		
			
				|  |  |             </plugin>
 | 
	
		
			
				|  |  |         </plugins>
 | 
	
		
			
				|  |  |     </build>
 |