Browse Source

ojdbc缺失处理

xielq 3 years ago
parent
commit
ee45e80fe8
1 changed files with 20 additions and 19 deletions
  1. 20 19
      pom.xml

+ 20 - 19
pom.xml

@@ -45,11 +45,6 @@
             <groupId>org.springframework.boot</groupId>  
             <artifactId>spring-boot-starter-data-jpa</artifactId>  
         </dependency>
-
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-data-redis</artifactId>
-		</dependency>
 	
 		<dependency>
 		    <groupId>log4j</groupId>
@@ -69,11 +64,6 @@
 			<artifactId>fastjson</artifactId>
 			<version>1.2.15</version>
 		</dependency>
-		<dependency>
-			<groupId>axis</groupId>
-			<artifactId>axis</artifactId>
-			<version>1.4</version>
-		</dependency>
 		
 		<dependency>
 		    <groupId>io.jsonwebtoken</groupId>
@@ -140,19 +130,17 @@
 			<scope>system</scope>
 			<systemPath>${project.basedir}/lib/ojdbc7.jar</systemPath>
 		</dependency>
-		<dependency>
-			<groupId>kingdee-sdk</groupId>
-			<artifactId>k3cloud-webapi-client</artifactId>
-			<version>1.8</version>
-		</dependency>
 	</dependencies>
 
 	<build>
 		<plugins>
-			<plugin>
-				<groupId>org.springframework.boot</groupId>
-				<artifactId>spring-boot-maven-plugin</artifactId>
-			</plugin>
+        		<plugin>
+            			<groupId>org.springframework.boot</groupId>
+            			<artifactId>spring-boot-maven-plugin</artifactId>
+            			<configuration>
+                			<includeSystemScope>true</includeSystemScope>
+            			</configuration>
+        		</plugin>
                         <plugin>
                                 <groupId>org.apache.maven.plugins</groupId>
                                 <artifactId>maven-compiler-plugin</artifactId>
@@ -172,6 +160,19 @@
                                         </compilerArgs>
                                 </configuration>
                         </plugin>
+			<plugin>
+				<groupId>org.springframework.boot</groupId>
+				<artifactId>spring-boot-maven-plugin</artifactId>
+               			<configuration>
+                    			<compilerArgs>
+                        			<arg>-Xlint:deprecation</arg>
+                                                <arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
+                    			</compilerArgs>
+                    			<compilerArguments>
+                        			<bootclasspath>${env.JAVA_HOME}/jre/lib/rt.jar:${env.JAVA_HOME}/jre/lib/jce.jar</bootclasspath>
+                    			</compilerArguments>
+                		</configuration>
+			</plugin>
 		</plugins>
 	</build>