|
|
@@ -51,11 +51,11 @@
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
- <dependency>
|
|
|
+ <!--<dependency>
|
|
|
<groupId>log4j</groupId>
|
|
|
<artifactId>log4j</artifactId>
|
|
|
<version>1.2.17</version>
|
|
|
- </dependency>
|
|
|
+ </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
@@ -112,12 +112,18 @@
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.oracle</groupId>
|
|
|
+ <artifactId>oracle</artifactId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ <scope>system</scope>
|
|
|
+ <systemPath>${project.basedir}/lib/ojdbc7.jar</systemPath>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
- <groupId>org.oracle</groupId>
|
|
|
- <artifactId>oracle</artifactId>
|
|
|
- <version>1.0</version>
|
|
|
- <scope>system</scope>
|
|
|
- <systemPath>${project.basedir}/lib/ojdbc7.jar</systemPath>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid</artifactId>
|
|
|
+ <version>1.0.26</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
@@ -143,26 +149,60 @@
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <!-- 指定SpringBoot程序的main函数入口类 -->
|
|
|
+ <mainClass>com.uas.eis.UasEisApplication</mainClass>
|
|
|
+ </configuration>
|
|
|
+
|
|
|
+ <!--<executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>-->
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
+
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
+
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.5.1</version>
|
|
|
+
|
|
|
<configuration>
|
|
|
- <source>1.8</source>
|
|
|
- <target>1.8</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- <compilerArgs>
|
|
|
- <arg>${project.basedir}/lib</arg>
|
|
|
- </compilerArgs>
|
|
|
+
|
|
|
+ <source>8</source>
|
|
|
+ <target>8</target>
|
|
|
+
|
|
|
+ <compilerArguments>
|
|
|
+ <!-- 打包本地jar包 -->
|
|
|
+ <extdirs>${project.basedir}/lib</extdirs>
|
|
|
+ </compilerArguments>
|
|
|
</configuration>
|
|
|
+
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
+ <!-- 打包所有jar包 -->
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>lib</directory>
|
|
|
+ <targetPath>BOOT-INF/lib/</targetPath>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.jar</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+
|
|
|
+ <!-- 某些情况下,打包后运行不起来需要打开注释 -->
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <!-- <targetPath>BOOT-INF/classes/</targetPath>-->
|
|
|
+ </resource>
|
|
|
+
|
|
|
|
|
|
+ </resources>
|
|
|
|
|
|
</build>
|
|
|
|