浏览代码

测试jar包导入

songyh 4 年之前
父节点
当前提交
7d513bf7fd
共有 2 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      module-common/pom.xml
  2. 二进制
      module-common/src/main/resources/lib/jave-1.0.jar

+ 11 - 0
module-common/pom.xml

@@ -29,6 +29,8 @@
             <groupId>thirtpart</groupId>
             <artifactId>jave</artifactId>
             <version>1.0</version>
+            <scope>system</scope>
+            <systemPath>${project.basedir}/src/main/resources/lib/jave-1.0.jar</systemPath>
         </dependency>
         <dependency>
             <groupId>junit</groupId>
@@ -105,6 +107,15 @@
 
 
     <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    <includeSystemScope>true</includeSystemScope>
+                </configuration>
+            </plugin>
+        </plugins>
         <resources>
             <resource>
                 <directory>lib</directory>

二进制
module-common/src/main/resources/lib/jave-1.0.jar