保誠-保戶業務員媒合平台
wayne
2021-11-19 d853ba65ecc95b7785a60d667e8748ff69cc129c
[update] 微調包版方式

修改1個檔案
修改2個檔案名稱
32 ■■■■■ 已變更過的檔案
pamapi/pom.xml 32 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
pamapi/src/main/resources/WEB-INF/jboss-deployment-structure.xml 修補檔 | 檢視 | 原始 | 究查 | 歷程
pamapi/src/main/resources/WEB-INF/lib/pcalife-otp.jar 修補檔 | 檢視 | 原始 | 究查 | 歷程
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 以上時,MANIFEST.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>
pamapi/src/main/resources/WEB-INF/jboss-deployment-structure.xml
pamapi/src/main/resources/WEB-INF/lib/pcalife-otp.jar
Binary files differ