From d853ba65ecc95b7785a60d667e8748ff69cc129c Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期五, 19 十一月 2021 11:35:22 +0800
Subject: [PATCH] [update] 微調包版方式

---
 pamapi/pom.xml |   32 ++++++++++++++++++++++----------
 1 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/pamapi/pom.xml b/pamapi/pom.xml
index 48b6782..5b2a89a 100644
--- a/pamapi/pom.xml
+++ b/pamapi/pom.xml
@@ -349,7 +349,27 @@
             <artifactId>pollex</artifactId>
             <version>1.1.0</version>
             <scope>system</scope>
-            <systemPath>${basedir}/src/main/resources/lib/pcalife-otp.jar</systemPath>
+            <systemPath>${project.basedir}/src/main/resources/WEB-INF/lib/pcalife-otp.jar</systemPath>
+        </dependency>
+
+        <!--
+
+        �� wildfly 10 銝��� ModuleNotFoundException: jdk.unsupported:main ��隤�
+        ��������� spring-core � 5.3.3 隞乩���ANIFEST.MF 鋡怠�鈭� Dependencies: jdk.unsupported
+
+        閫�瘜撠� spring core ��2.3.X嚗��� wildfly �� 20 隞乩�����瘜��捆���
+
+        �����spring core jar���� MANIFEST.MF �� Dependencies: jdk.unsupported
+
+
+        https://stackoverflow.com/questions/65100927/springboot-wildfly-10-deployment-error-jdk-unsupported-module-not-found
+        -->
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-core</artifactId>
+            <version>5.3.10</version>
+            <scope>system</scope>
+            <systemPath>${project.basedir}/src/main/resources/WEB-INF/lib/spring-core-5.3.10.jar</systemPath>
         </dependency>
         <!-- jhipster-needle-maven-add-dependency -->
     </dependencies>
@@ -515,15 +535,7 @@
                         <warSourceDirectory>target/classes/static/</warSourceDirectory>
                         <webResources>
                             <resource>
-                                <directory>src/main/resources/lib</directory>
-                                <targetPath>WEB-INF/lib</targetPath>
-                                <filtering>true</filtering>
-                                <includes>
-                                    <include>**/*.jar</include>
-                                </includes>
-                            </resource>
-                            <resource>
-                                <directory>src/main/webapp</directory>
+                                <directory>src/main/resources</directory>
                                 <includes>
                                     <include>WEB-INF/**</include>
                                 </includes>

--
Gitblit v1.8.0